From 7f4bb4f390e05f94814fefdee5230a86ba3a39f1 Mon Sep 17 00:00:00 2001 From: John Chilton Date: Sun, 11 Aug 2024 19:56:42 -0400 Subject: [PATCH 1/2] Restore session free acccess broken with... https://github.com/galaxyproject/galaxy/commit/12b34ff47c3e4bb86e2ba5d8813a050c44b506baf --- lib/tool_shed/webapp/api/users.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/tool_shed/webapp/api/users.py b/lib/tool_shed/webapp/api/users.py index 6371b29b92ae..3658e2a71728 100644 --- a/lib/tool_shed/webapp/api/users.py +++ b/lib/tool_shed/webapp/api/users.py @@ -67,7 +67,7 @@ def __get_value_mapper(self, trans): value_mapper = {"id": trans.security.encode_id} return value_mapper - @web.expose_api_anonymous + @web.expose_api_anonymous_and_sessionless def index(self, trans, deleted=False, **kwd): """ GET /api/users @@ -86,7 +86,7 @@ def index(self, trans, deleted=False, **kwd): user_dicts.append(user_dict) return user_dicts - @web.expose_api_anonymous + @web.expose_api_anonymous_and_sessionless def show(self, trans, id, **kwd): """ GET /api/users/{encoded_user_id} From 1955d2885bbbca5a0366ea4fd7a5f4cd72427d8e Mon Sep 17 00:00:00 2001 From: Nicola Soranzo Date: Tue, 12 Dec 2023 15:54:35 +0000 Subject: [PATCH 2/2] Replace discouraged Mambaforge with Miniforge3 As mentioned on https://github.com/conda-forge/miniforge : With the release of Miniforge3-23.3.1-0, the packages and configuration of Mambaforge and Miniforge3 are now identical. The only difference between the two is the name of the installer and, subsequently, the default installation directory. Given its wide usage, there are no plans to deprecate Mambaforge. If at some point we decide to deprecate Mambaforge, it will be appropriately announced and communicated with sufficient time in advance. As of September 2023, the new usage of Mambaforge is thus discouraged. Bug reports specific to Mambaforge will be closed as won't fix. --- lib/galaxy/tool_util/deps/conda_util.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/galaxy/tool_util/deps/conda_util.py b/lib/galaxy/tool_util/deps/conda_util.py index f91203923cd2..e1db27e5f067 100644 --- a/lib/galaxy/tool_util/deps/conda_util.py +++ b/lib/galaxy/tool_util/deps/conda_util.py @@ -56,15 +56,15 @@ def conda_link() -> str: if IS_OS_X: if "arm64" in platform.platform(): - url = "https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-MacOSX-arm64.sh" + url = "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-MacOSX-arm64.sh" else: - url = "https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-MacOSX-x86_64.sh" + url = "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-MacOSX-x86_64.sh" else: if sys.maxsize > 2**32: if "arm64" in platform.platform(): - url = "https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-Linux-aarch64.sh" + url = "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-aarch64.sh" else: - url = "https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-Linux-x86_64.sh" + url = "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh" else: url = "https://repo.anaconda.com/miniconda/Miniconda3-4.5.12-Linux-x86.sh" return url