Merge branch 'release_26.2' into dev

This commit is contained in:
mvdbeek committed 2026-11-19 06:09:44 +01:00
commit aa0f6246b8
202 files changed
+1018 -4033

No files matched your search

+2 -2
View File
@@ -14,7 +14,7 @@ variables:
jobs:
get_code:
docker:
- image: cimg/python:3.10
- image: cimg/python:3.11
<<: *set_workdir
steps:
# Replace standard code checkout with shallow clone to speed things up.
@@ -72,7 +72,7 @@ jobs:
- ~/repo
validate_test_tools:
docker:
- image: cimg/python:3.10
- image: cimg/python:3.11
<<: *set_workdir
steps:
- *restore_repo_cache
+2 -1
View File
@@ -50,7 +50,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.10']
python-version: ['3.11']
services:
postgres:
image: postgres:18
@@ -77,6 +77,7 @@ jobs:
with:
version-file: galaxy root/.tool-versions
python-version: ${{ matrix.python-version }}
prune-cache: true
- name: Install Python
run: uv python install
- name: Run tests
+2 -1
View File
@@ -35,7 +35,7 @@ jobs:
fail-fast: false
matrix:
tox_env: [py314]
galaxy_python_version: ['3.10']
galaxy_python_version: ['3.11']
steps:
- name: Checkout Galaxy
uses: actions/checkout@v7.0.1
@@ -56,6 +56,7 @@ jobs:
uses: astral-sh/setup-uv@v10.3.3
with:
version-file: galaxy/.tool-versions
prune-cache: true
- name: Install tox
run: uv tool install --python ${BIOBLEND_PYTHON_VERSION} tox --with tox-uv
env:
@@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10']
python-version: ['3.11']
steps:
- uses: actions/checkout@v7.0.1
with:
@@ -29,6 +29,7 @@ jobs:
with:
version-file: .tool-versions
python-version: ${{ matrix.python-version }}
prune-cache: true
- name: Install Python dependencies
run: |
uv venv .venv
+2 -1
View File
@@ -40,7 +40,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.10']
python-version: ['3.11']
steps:
- uses: actions/checkout@v7.0.1
with:
@@ -51,6 +51,7 @@ jobs:
with:
version-file: galaxy root/.tool-versions
python-version: ${{ matrix.python-version }}
prune-cache: true
- name: Install Python
run: uv python install
- name: Install dependencies
+2 -1
View File
@@ -35,7 +35,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10']
python-version: ['3.11']
steps:
- if: github.event_name == 'schedule'
run: |
@@ -56,6 +56,7 @@ jobs:
with:
version-file: galaxy root/.tool-versions
python-version: ${{ matrix.python-version }}
prune-cache: true
- name: Move test data
run: rsync -av --remove-source-files --exclude .git galaxy-test-data/ 'galaxy root/test-data/'
- name: Install planemo
+2 -1
View File
@@ -28,7 +28,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.10']
python-version: ['3.11']
marker: ['green', 'red and required', 'red and not required']
conformance-version: ['cwl_conformance_v1_0'] #, 'cwl_conformance_v1_1', 'cwl_conformance_v1_2']
services:
@@ -50,6 +50,7 @@ jobs:
with:
version-file: galaxy root/.tool-versions
python-version: ${{ matrix.python-version }}
prune-cache: true
- name: Install Python
run: uv python install
- name: Run tests
+3 -2
View File
@@ -40,10 +40,10 @@ jobs:
matrix:
db: ['postgresql']
postgresql-version: ['9.6', '10', '11', '14', '18']
python-version: ['3.10']
python-version: ['3.11']
include:
- db: sqlite
python-version: '3.10'
python-version: '3.11'
services:
postgres:
image: ${{ matrix.db == 'postgresql' && format('postgres:{0}', matrix.postgresql-version) || '' }} # zizmor: ignore[unpinned-images]
@@ -63,6 +63,7 @@ jobs:
with:
version-file: galaxy root/.tool-versions
python-version: ${{ matrix.python-version }}
prune-cache: true
- name: Install tox
run: uv tool install tox --with tox-uv
- name: Set database connection on PostgreSQL
+2 -1
View File
@@ -19,7 +19,8 @@ jobs:
uses: astral-sh/setup-uv@v10.3.3
with:
version-file: .tool-versions
python-version: '3.10'
python-version: '3.11'
prune-cache: true
- name: Update dependencies
run: make update-dependencies
- name: Check lock and requirements exports
+2 -1
View File
@@ -31,6 +31,7 @@ jobs:
uses: astral-sh/setup-uv@v10.3.3
with:
version-file: .tool-versions
python-version: '3.10'
python-version: '3.11'
prune-cache: true
- name: Check lock and requirements exports
run: sh lib/galaxy/dependencies/update.sh --check
+2 -1
View File
@@ -32,7 +32,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10']
python-version: ['3.11']
steps:
- uses: actions/checkout@v7.0.1
with:
@@ -43,6 +43,7 @@ jobs:
with:
version-file: .tool-versions
python-version: ${{ matrix.python-version }}
prune-cache: true
- name: Install Python
run: uv python install
- uses: nanasess/setup-chromedriver@v3
+2 -1
View File
@@ -32,7 +32,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10']
python-version: ['3.11']
steps:
- name: Get target branch name (push)
if: github.event_name == 'push'
@@ -51,6 +51,7 @@ jobs:
with:
version-file: .tool-versions
python-version: ${{ matrix.python-version }}
prune-cache: true
- name: Install Python dependencies
run: |
uv venv .venv
+3 -1
View File
@@ -45,7 +45,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.10', '3.14']
python-version: ['3.11', '3.14']
defaults:
run:
shell: bash -l {0}
@@ -59,6 +59,7 @@ jobs:
with:
version-file: galaxy root/.tool-versions
python-version: ${{ matrix.python-version }}
prune-cache: true
- name: Restore client cache
uses: actions/cache@v6.1.0
with:
@@ -89,6 +90,7 @@ jobs:
uses: astral-sh/setup-uv@v10.3.3
with:
version-file: galaxy root/.tool-versions
prune-cache: true
- name: Install release tooling
run: uv tool install galaxy-release-util==0.4.2
- name: Build and install Galaxy packages
+2 -1
View File
@@ -47,7 +47,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.10']
python-version: ['3.11']
# Pull requests and pushes to dev test only the tool request API. Release branches get no nightly run,
# so they keep the legacy API too.
use-legacy-api: >-
@@ -79,6 +79,7 @@ jobs:
with:
version-file: galaxy root/.tool-versions
python-version: ${{ matrix.python-version }}
prune-cache: true
- name: Install Python
run: uv python install
- name: Run tests
+2 -1
View File
@@ -41,7 +41,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10']
python-version: ['3.11']
services:
postgres:
image: postgres:18
@@ -65,6 +65,7 @@ jobs:
with:
version-file: galaxy root/.tool-versions
python-version: ${{ matrix.python-version }}
prune-cache: true
- name: Install Python
run: uv python install
- name: Run tests
+5 -3
View File
@@ -77,7 +77,8 @@ jobs:
uses: astral-sh/setup-uv@v10.3.3
with:
version-file: galaxy cache source/.tool-versions
python-version: '3.10'
python-version: '3.11'
prune-cache: true
- name: Fetch Biocontainers repository index
id: fetch-mulled-cache
if: steps.restore-mulled-cache.outputs.cache-hit != 'true'
@@ -121,13 +122,13 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.10']
python-version: ['3.11']
# The host-services lane runs the tests that need minikube, the AMQP broker in it or the
# host's Docker image cache, one test class at a time; the default lane runs the rest.
lane: ['default']
chunk: ['0', '1']
include:
- python-version: '3.10'
- python-version: '3.11'
lane: 'host-services'
steps:
- if: github.event_name == 'schedule'
@@ -197,6 +198,7 @@ jobs:
with:
version-file: galaxy root/.tool-versions
python-version: ${{ matrix.python-version }}
prune-cache: true
- name: Install Python
run: uv python install
- name: Download mulled resolution cache seed
+2 -1
View File
@@ -54,7 +54,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10']
python-version: ['3.11']
services:
postgres:
image: postgres:18
@@ -80,6 +80,7 @@ jobs:
with:
version-file: galaxy root/.tool-versions
python-version: ${{ matrix.python-version }}
prune-cache: true
- name: Install Python
run: uv python install
- name: Restore client cache
+2 -1
View File
@@ -42,7 +42,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.10', '3.14']
python-version: ['3.11', '3.14']
env:
LINT_PATH: 'packages/app/src/galaxy/dependencies/pinned-lint-requirements.txt'
TYPE_PATH: 'packages/app/src/galaxy/dependencies/pinned-typecheck-requirements.txt'
@@ -56,6 +56,7 @@ jobs:
with:
version-file: .tool-versions
python-version: ${{ matrix.python-version }}
prune-cache: true
- name: Install tox
run: uv tool install tox --with tox-uv
- name: Run linting
+2 -1
View File
@@ -52,7 +52,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.10', '3.14']
python-version: ['3.11', '3.14']
steps:
- uses: actions/checkout@v7.0.1
with:
@@ -73,6 +73,7 @@ jobs:
with:
version-file: galaxy root/.tool-versions
python-version: ${{ matrix.python-version }}
prune-cache: true
- name: Install Python
run: uv python install
- name: Install dependencies
+2 -1
View File
@@ -37,7 +37,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10']
python-version: ['3.11']
services:
postgres:
image: postgres:18
@@ -57,6 +57,7 @@ jobs:
with:
version-file: galaxy root/.tool-versions
python-version: ${{ matrix.python-version }}
prune-cache: true
- name: Install Python
run: uv python install
- name: Run tests
+2 -1
View File
@@ -36,7 +36,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.10']
python-version: ['3.11']
steps:
- uses: actions/checkout@v7.0.1
with:
@@ -47,6 +47,7 @@ jobs:
with:
version-file: galaxy root/.tool-versions
python-version: ${{ matrix.python-version }}
prune-cache: true
- name: Install Apptainer's singularity
uses: './galaxy root/.github/actions/install_apptainer'
- name: Install tox
+4 -3
View File
@@ -19,13 +19,14 @@ jobs:
uses: astral-sh/setup-uv@v10.3.3
with:
version-file: .tool-versions
prune-cache: true
- name: Create mypy environments
# One per Python version the mypy job in lint.yaml uses
env:
UV_EXTRA_INDEX_URL: https://wheels.galaxyproject.org/simple
UV_INDEX_STRATEGY: unsafe-best-match
run: |
for version in 3.10 3.14; do
for version in 3.11 3.14; do
uv venv --python "$version" "$RUNNER_TEMP/venv-$version"
uv pip install --python "$RUNNER_TEMP/venv-$version" \
-r lib/galaxy/dependencies/pinned-typecheck-requirements.txt \
@@ -35,7 +36,7 @@ jobs:
- name: Remove stale entries
run: |
"$RUNNER_TEMP/venv-3.14/bin/python" .ci/check_mypy_legacy_list.py --fix \
--python "$RUNNER_TEMP/venv-3.10/bin/python" \
--python "$RUNNER_TEMP/venv-3.11/bin/python" \
--python "$RUNNER_TEMP/venv-3.14/bin/python" \
--summary "$RUNNER_TEMP/summary.md"
- name: Create pull request
@@ -47,7 +48,7 @@ jobs:
commit-message: |
Remove stale mypy red list entries
by running `.ci/check_mypy_legacy_list.py --fix` with Python 3.10 and 3.14.
by running `.ci/check_mypy_legacy_list.py --fix` with Python 3.11 and 3.14.
branch: dev_auto_prune_mypy_red_list
delete-branch: true
push-to-fork: galaxybot/galaxy
+2 -1
View File
@@ -44,7 +44,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.10', '3.14']
python-version: ['3.11', '3.14']
defaults:
run:
shell: bash -l {0}
@@ -68,6 +68,7 @@ jobs:
uses: astral-sh/setup-uv@v10.3.3
with:
version-file: galaxy root/.tool-versions
prune-cache: true
- name: Install tox
run: uv tool install tox --with tox-uv
- name: Run tests
+2 -1
View File
@@ -55,7 +55,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.10']
python-version: ['3.11']
chunk: [0, 1]
services:
postgres:
@@ -80,6 +80,7 @@ jobs:
with:
version-file: galaxy root/.tool-versions
python-version: ${{ matrix.python-version }}
prune-cache: true
- name: Install Python
run: uv python install
- name: Restore client cache
+1 -1
View File
@@ -52,7 +52,7 @@ jobs:
with:
version-file: .tool-versions
enable-cache: false
python-version: '3.10'
python-version: '3.11'
- name: Install script dependencies
run: uv tool install galaxy-release-util
- name: Build Python packages
+2 -1
View File
@@ -26,7 +26,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.10']
python-version: ['3.11']
chunk: [0, 1]
services:
postgres:
@@ -46,6 +46,7 @@ jobs:
uses: astral-sh/setup-uv@v10.3.3
with:
python-version: ${{ matrix.python-version }}
prune-cache: true
- name: Install Python
run: uv python install
- name: Restore client cache
+2 -1
View File
@@ -32,7 +32,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.10', '3.14']
python-version: ['3.11', '3.14']
steps:
- uses: actions/checkout@v7.0.1
with:
@@ -43,6 +43,7 @@ jobs:
with:
version-file: galaxy root/.tool-versions
python-version: ${{ matrix.python-version }}
prune-cache: true
- name: Install ffmpeg
run: sudo apt-get update && sudo apt-get -y install ffmpeg
- name: Install tox
@@ -27,7 +27,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.10']
python-version: ['3.11']
steps:
- uses: actions/checkout@v7.0.1
with:
@@ -38,6 +38,7 @@ jobs:
with:
version-file: galaxy root/.tool-versions
python-version: ${{ matrix.python-version }}
prune-cache: true
- name: Install Apptainer's singularity
uses: './galaxy root/.github/actions/install_apptainer'
- name: Install ffmpeg
+2 -1
View File
@@ -74,7 +74,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.10']
python-version: ['3.11']
services:
postgres:
image: postgres:18
@@ -98,6 +98,7 @@ jobs:
with:
version-file: galaxy root/.tool-versions
python-version: ${{ matrix.python-version }}
prune-cache: true
- name: Install Python
run: uv python install
- name: Install dependencies
+3 -2
View File
@@ -47,8 +47,8 @@ jobs:
# Release branches get no nightly run, so they keep the oldest and newest.
python-version: >-
${{ fromJSON(
(github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && '["3.10", "3.11", "3.12", "3.13", "3.14"]'
|| startsWith(github.base_ref || github.ref_name, 'release_') && '["3.10", "3.14"]'
(github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && '["3.11", "3.11", "3.12", "3.13", "3.14"]'
|| startsWith(github.base_ref || github.ref_name, 'release_') && '["3.11", "3.14"]'
|| '["3.14"]'
) }}
test-install-client: ['galaxy_api', 'standalone']
@@ -71,6 +71,7 @@ jobs:
with:
version-file: galaxy root/.tool-versions
python-version: ${{ matrix.python-version }}
prune-cache: true
- name: Install Python
run: uv python install
- name: Install dependencies
+2 -1
View File
@@ -37,7 +37,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.10']
python-version: ['3.11']
services:
postgres:
image: postgres:18
@@ -57,6 +57,7 @@ jobs:
with:
version-file: galaxy root/.tool-versions
python-version: ${{ matrix.python-version }}
prune-cache: true
- name: Install Python
run: uv python install
- name: Run migration tests
+3 -2
View File
@@ -47,8 +47,8 @@ jobs:
# Release branches get no nightly run, so they keep the oldest and newest.
python-version: >-
${{ fromJSON(
(github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && '["3.10", "3.11", "3.12", "3.13", "3.14"]'
|| startsWith(github.base_ref || github.ref_name, 'release_') && '["3.10", "3.14"]'
(github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && '["3.11", "3.11", "3.12", "3.13", "3.14"]'
|| startsWith(github.base_ref || github.ref_name, 'release_') && '["3.11", "3.14"]'
|| '["3.14"]'
) }}
steps:
@@ -61,6 +61,7 @@ jobs:
with:
version-file: galaxy root/.tool-versions
python-version: ${{ matrix.python-version }}
prune-cache: true
- name: Install ffmpeg and bubblewrap
# bubblewrap: exercises the expression-evaluation isolation sandbox tests.
# Ubuntu >=24.04 restricts unprivileged user namespaces (which bwrap needs);
+2 -2
View File
@@ -56,8 +56,8 @@ format: ## Format Python code base
remove-unused-imports: ## Remove unused imports in Python code base
$(IN_VENV) autoflake --in-place --remove-all-unused-imports --recursive --verbose lib/ test/
pyupgrade: ## Convert older code patterns to Python 3.10+ idiomatic ones
ack --type=python -f | grep -v '^$(subst $(SPACE),\|^,$(NEVER_PYUPGRADE_PATHS))' | xargs pyupgrade --py310-plus
pyupgrade: ## Convert older code patterns to Python 3.11+ idiomatic ones
ack --type=python -f | grep -v '^$(subst $(SPACE),\|^,$(NEVER_PYUPGRADE_PATHS))' | xargs pyupgrade --py311-plus
ack --type=python -f | grep -v '^$(subst $(SPACE),\|^,$(NEVER_PYUPGRADE_PATHS))' | xargs auto-walrus
_open-docs:
+2 -2
View File
@@ -24,12 +24,12 @@ Community support is available at `Galaxy Help <https://help.galaxyproject.org/>
Galaxy Quickstart
=================
Galaxy requires Python 3.10 or higher. To check your Python version, run:
Galaxy requires Python 3.11 or higher. To check your Python version, run:
.. code:: console
$ python -V
Python 3.10.12
Python 3.11.18
Start Galaxy:
@@ -18336,7 +18336,7 @@ export interface components {
* InvocationSortByEnum
* @enum {string}
*/
InvocationSortByEnum: "create_time" | "update_time" | "None";
InvocationSortByEnum: "create_time" | "update_time";
/**
* InvocationState
* @enum {string}
@@ -21,7 +21,7 @@ const { emit } = useEventBus<string>("grid-router-push");
/**
* Local types
*/
type SortKeyLiteral = "create_time" | "update_time" | "None" | null | undefined;
type SortKeyLiteral = "create_time" | "update_time" | null | undefined;
/**
* Request and return invocations from server
@@ -16,7 +16,7 @@ const { emit } = useEventBus<string>("grid-router-push");
/**
* Local types
*/
type SortKeyLiteral = "create_time" | "update_time" | "None" | null | undefined;
type SortKeyLiteral = "create_time" | "update_time" | null | undefined;
/**
* Request and return invocations for the given history (and current user) from server
@@ -17,7 +17,7 @@ const { emit } = useEventBus<string>("grid-router-push");
/**
* Local types
*/
type SortKeyLiteral = "create_time" | "update_time" | "None" | null | undefined;
type SortKeyLiteral = "create_time" | "update_time" | null | undefined;
/**
* Request and return invocations for the given workflow (and current user) from server
@@ -1,5 +1,5 @@
import { getLocalVue } from "@tests/vitest/helpers";
import { mount } from "@vue/test-utils";
import { mount, type VueWrapper } from "@vue/test-utils";
import { describe, expect, it } from "vitest";
import { reactive } from "vue";
@@ -35,6 +35,45 @@ function mountForm(name = "default", token: string | null = SECRET_PLACEHOLDER)
return { wrapper, groupPayload };
}
const VALIDATION_DEFINITION = {
...SERVICE_DEFINITION,
variables: [
{ name: "token", label: "Token name", description: "Token name", optional: false },
{ name: "port", label: "Port", description: "Server port", optional: true },
],
secrets: [{ name: "token", label: "Token", description: "Token value", optional: false }],
} as unknown as ServiceCredentialsDefinition;
const NEUTRAL = { ariaInvalid: undefined, stateClasses: [] };
const INVALID = { ariaInvalid: "true", stateClasses: ["g-invalid"] };
const VALID = { ariaInvalid: undefined, stateClasses: ["g-valid"] };
function mountValidationForm(value: string) {
return mount(CredentialsGroupForm as object, {
props: {
groupData: {
groupId: "g1",
isNewGroup: true,
groupPayload: reactive({
name: "My Group",
variables: VALIDATION_DEFINITION.variables.map(({ name }) => ({ name, value })),
secrets: VALIDATION_DEFINITION.secrets.map(({ name }) => ({ name, value })),
}),
},
serviceDefinition: VALIDATION_DEFINITION,
},
global: getLocalVue(),
});
}
function validationState(wrapper: VueWrapper, name: string, type: string) {
const input = wrapper.get(`input#g1-${name}-${type}-input`);
return {
ariaInvalid: input.attributes("aria-invalid"),
stateClasses: input.classes().filter((cls) => cls === "g-invalid" || cls === "g-valid"),
};
}
describe("CredentialsGroupForm.vue", () => {
it("renders the group name, variable and secret in GFormInput fields", () => {
const { wrapper } = mountForm();
@@ -87,4 +126,27 @@ describe("CredentialsGroupForm.vue", () => {
await token.trigger("blur");
expect(token.attributes("aria-invalid")).toBe("true");
});
it.each([
["an empty required variable", "token", "variable", "", INVALID],
["an empty optional variable", "port", "variable", "", NEUTRAL],
["a filled required variable", "token", "variable", "my-token", VALID],
["an empty required secret", "token", "secret", "", INVALID],
])("validates %s once it loses focus", async (_case, name, type, value, expected) => {
const wrapper = mountValidationForm(value);
expect(validationState(wrapper, name, type)).toEqual(NEUTRAL);
await wrapper.get(`input#g1-${name}-${type}-input`).trigger("blur");
expect(validationState(wrapper, name, type)).toEqual(expected);
});
it("tracks a variable and a secret of the same name separately", async () => {
const wrapper = mountValidationForm("");
await wrapper.get("input#g1-token-secret-input").trigger("blur");
expect(validationState(wrapper, "token", "variable")).toEqual(NEUTRAL);
});
});
@@ -200,7 +200,7 @@ function isVariableOptional(name: string, type: CredentialType): boolean {
* @returns {boolean | null} Validation state - true if valid, false if invalid, null if neutral
*/
function getFieldState(value: string | null | undefined, name: string, type: CredentialType): boolean | null {
const isTouched = touchedFields.value.secrets.has(name);
const isTouched = touchedFields.value[type === "secret" ? "secrets" : "variables"].has(name);
if (!isTouched) {
return null;
}
+3 -3
View File
@@ -18,8 +18,8 @@ function userLogoutUrl(sessionCsrfToken, logoutAll) {
});
}
function authnzLogoutUrl(provider, logoutAll) {
const params = logoutAllParams(logoutAll);
function authnzLogoutUrl(sessionCsrfToken, provider, logoutAll) {
const params = { session_csrf_token: sessionCsrfToken, ...logoutAllParams(logoutAll) };
if (provider) {
params.provider = provider;
}
@@ -40,7 +40,7 @@ export function userLogout(logoutAll = false) {
const session_csrf_token = Galaxy.session_csrf_token;
const provider = localStorage.getItem("galaxy-provider");
const logoutRequest = Galaxy.config.enable_oidc
? axios.get(authnzLogoutUrl(provider, logoutAll)).then((response) => {
? axios.get(authnzLogoutUrl(session_csrf_token, provider, logoutAll)).then((response) => {
if (hasAuthnzLogoutResponse(response)) {
return response;
}
+14
View File
@@ -82,6 +82,20 @@ describe("userLogout", () => {
expect(Toast.error).toHaveBeenCalledWith("Identity provider unavailable.", "Logout failed");
});
it("sends the session token to the identity provider logout", async () => {
vi.mocked(getGalaxyInstance).mockReturnValue({
config: { post_user_logout_href: "/logged_out", enable_oidc: true },
session_csrf_token: "token",
});
axios.get.mockResolvedValueOnce({ data: { redirect_uri: "https://idp.example.org/logout" } });
userLogout();
await flushPromises();
expect(axios.get).toHaveBeenCalledOnce();
const url = new URL(axios.get.mock.calls[0][0]);
expect(url.pathname).toBe("/authnz/logout");
expect(url.searchParams.get("session_csrf_token")).toBe("token");
});
it("falls back to the Galaxy logout when the identity provider logout has nothing to do", async () => {
vi.mocked(getGalaxyInstance).mockReturnValue({
config: { post_user_logout_href: "/logged_out", enable_oidc: true },
+4 -4
View File
@@ -4504,10 +4504,10 @@
parent-side JSON decoding also adds overhead. Simple parameter
references resolve in Python without starting a worker. When empty
(the default), the worker runs without an OS-level jail.
Full JavaScript evaluation requires Python 3.10+ and the
quickjs-ng package. Without QuickJS, expressions requiring
JavaScript fail with an error; literals and simple parameter
references continue to work without it.
Full JavaScript evaluation requires the quickjs-ng package.
Without QuickJS, expressions requiring JavaScript fail with an
error; literals and simple parameter references continue to work
without it.
Set this to ``bubblewrap`` to use a built-in bubblewrap jail. It
clears the environment, unshares the PID/IPC/UTS namespaces, and
read-only-binds only what the worker needs to run: the Python
+1 -1
View File
@@ -1,6 +1,6 @@
# Supported Python versions
Galaxy's core functionality is currently supported on Python **>=3.10** .
Galaxy's core functionality is currently supported on Python **>=3.11** .
If Galaxy complains about the version of Python you are using:
+13
View File
@@ -53,3 +53,16 @@ the home directory of the user running the job. A ``HOME`` set with ``env`` or
``job_env`` stays outside the container; use ``singularity_env_HOME`` to choose
the container home. Destinations that disable ``--contain`` keep Singularity's
default home mount.
Admin Notes
===========
**Removal of support for Python 3.10**
Python 3.10 reached its end-of-life in October 2026. The previous Galaxy
release (26.1) was the last to support it: Galaxy 26.2 requires Python 3.11 or
later. This also applies to the Python used on compute nodes to run job-side
code such as metadata setting, when Galaxy's virtualenv is not shared with them.
Since Python 3.11 will in turn reach its end-of-life in October 2027, during
the support period of Galaxy 26.2, we recommend using Python 3.12 or 3.13.
Some optional dependencies, such as TensorFlow (used for tool
recommendations), do not support Python 3.14 yet.
+4 -4
View File
@@ -213,14 +213,14 @@ class WorkflowOrchestratorAgent(BaseGalaxyAgent):
log.debug(f"Orchestrator: Agent '{agent_name}' completed. Response length: {len(response.content)}")
log.debug(f"Orchestrator: Agent '{agent_name}' response preview: {response.content[:500]}...")
except asyncio.TimeoutError:
except TimeoutError:
log.error(f"Agent {agent_name} timed out after {timeout}s")
responses[agent_name] = _create_error_response(
agent_name,
f"Agent {agent_name} timed out after {timeout} seconds",
is_timeout=True,
)
except (ValueError, ConnectionError, TimeoutError) as e:
except (ValueError, ConnectionError) as e:
log.error(f"Error executing agent {agent_name}: {e}")
responses[agent_name] = _create_error_response(agent_name, f"Agent {agent_name} encountered an error")
@@ -238,14 +238,14 @@ class WorkflowOrchestratorAgent(BaseGalaxyAgent):
agent = await anyio.to_thread.run_sync(partial(self.deps.get_agent, agent_name, self.deps))
response = await asyncio.wait_for(agent.process(query, context or {}), timeout=timeout)
return agent_name, response
except asyncio.TimeoutError:
except TimeoutError:
log.error(f"Agent {agent_name} timed out after {timeout}s")
return agent_name, _create_error_response(
agent_name,
f"Agent {agent_name} timed out after {timeout} seconds",
is_timeout=True,
)
except (ValueError, ConnectionError, TimeoutError) as e:
except (ValueError, ConnectionError) as e:
log.error(f"Error executing agent {agent_name}: {e}")
return agent_name, _create_error_response(agent_name, f"Agent {agent_name} encountered an error")
@@ -13,7 +13,9 @@
<datatype extension="hep.root" type="galaxy.datatypes.binary:Binary" subclass="true" display_in_upload="true" description="ROOT binary file."/>
<datatype extension="jp2" type="galaxy.datatypes.binary:JP2" mimetype="application/octet-stream" display_in_upload="true"/>
<datatype extension="ab1" type="galaxy.datatypes.binary:Ab1" mimetype="application/octet-stream" display_in_upload="true" description="A binary sequence file in 'ab1' format with a '.ab1' file extension. You must manually select this 'File Format' when uploading the file." description_url="https://wiki.galaxyproject.org/Learn/Datatypes#Ab1"/>
<datatype extension="a2m" type="galaxy.datatypes.sequence:Fasta" display_in_upload="true" description="A multiple sequence alignment in A2M format. Each sequence has a single-line description starting with '>', followed by aligned sequence lines. Dots ('.') represent matches to a reference, and hyphens ('-') represent deletions relative to the reference." subclass="true" />
<datatype extension="a2m" type="galaxy.datatypes.sequence:Fasta" display_in_upload="true" description="A multiple sequence alignment in A2M format. Each sequence has a single-line description starting with '>', followed by aligned sequence lines. Dots ('.') represent matches to a reference, and hyphens ('-') represent deletions relative to the reference." subclass="true">
<visualization plugin="alignmentviewer" />
</datatype>
<datatype extension="afg" type="galaxy.datatypes.assembly:Amos" display_in_upload="false"/>
<datatype extension="agp" type="galaxy.datatypes.goldenpath:GoldenPath" display_in_upload="true" description="UCSC GoldenPath assembly"/>
<datatype extension="alto" type="galaxy.datatypes.xml:Alto" mimetype="application/xml" description="Analyzed Layout and Text Object" description_url="https://github.com/altoxml/documentation/wiki/Versions"/>
@@ -132,7 +134,9 @@
<infer_from suffix="csv" />
<converter file="csv_to_tabular.xml" target_datatype="tabular"/>
</datatype>
<datatype extension="geocsv" type="galaxy.datatypes.tabular:GeoCSV" description="CSV format compatible with Kepler.gl, expected to contain latitude and longitude fields." description_url="https://docs.kepler.gl/docs/user-guides/b-kepler-gl-workflow/a-add-data-to-the-map#csv" />
<datatype extension="geocsv" type="galaxy.datatypes.tabular:GeoCSV" description="CSV format compatible with Kepler.gl, expected to contain latitude and longitude fields." description_url="https://docs.kepler.gl/docs/user-guides/b-kepler-gl-workflow/a-add-data-to-the-map#csv">
<visualization plugin="kepler" />
</datatype>
<datatype extension="tsv" type="galaxy.datatypes.tabular:TSV" display_in_upload="true">
<converter file="tabular_to_csv.xml" target_datatype="csv"/>
<converter file="tsv_to_parquet_converter.xml" target_datatype="parquet"/>
@@ -160,8 +164,12 @@
<datatype extension="pnts" type="galaxy.datatypes.binary:Binary" mimetype="application/octet-stream" display_in_upload="true" description="3D Tiles Point Cloud (PNTS) binary format for Cesium visualization" description_url="https://github.com/CesiumGS/3d-tiles/tree/main/specification/TileFormats/PointCloud">
<infer_from suffix="pnts" />
</datatype>
<datatype extension="d3_hierarchy" type="galaxy.datatypes.text:Json" mimetype="application/json" subclass="true" display_in_upload="true"/>
<datatype extension="cytoscapejson" type="galaxy.datatypes.text:CytoscapeJson" mimetype="application/json" display_in_upload="true" description="Cytoscape JSON format for network visualization, typically containing 'nodes' and 'edges' in a JSON object." description_url="https://js.cytoscape.org/#notation/elements-json" />
<datatype extension="d3_hierarchy" type="galaxy.datatypes.text:Json" mimetype="application/json" subclass="true" display_in_upload="true">
<visualization plugin="unipept" />
</datatype>
<datatype extension="cytoscapejson" type="galaxy.datatypes.text:CytoscapeJson" mimetype="application/json" display_in_upload="true" description="Cytoscape JSON format for network visualization, typically containing 'nodes' and 'edges' in a JSON object." description_url="https://js.cytoscape.org/#notation/elements-json">
<visualization plugin="cytoscape" />
</datatype>
<datatype extension="freq.json" type="galaxy.datatypes.text:Json" mimetype="application/json" subclass="true" display_in_upload="True" description="A JSON-formatted array of objects containing longitude, latitude, and frequency attributes."/>
<datatype extension="rmsx.json" type="galaxy.datatypes.text:Json" mimetype="application/json" subclass="true" display_in_upload="true" description="RMSX Molstar viewer manifest containing per-slice structures and residue-level RMSX values.">
<visualization plugin="rmsxflipbook" />
@@ -178,7 +186,9 @@
</datatype>
<datatype extension="auspice.json" type="galaxy.datatypes.text:AuspiceJson" mimetype="application/json" display_in_upload="True" />
<datatype extension="data_manager_json" type="galaxy.datatypes.text:DataManagerJson" mimetype="application/json" subclass="true" display_in_upload="false"/>
<datatype extension="dbn" type="galaxy.datatypes.sequence:DotBracket" display_in_upload="true" description="Dot-Bracket format is a text-based format for storing both an RNA sequence and its corresponding 2D structure." description_url="https://wiki.galaxyproject.org/Learn/Datatypes#Dbn"/>
<datatype extension="dbn" type="galaxy.datatypes.sequence:DotBracket" display_in_upload="true" description="Dot-Bracket format is a text-based format for storing both an RNA sequence and its corresponding 2D structure." description_url="https://wiki.galaxyproject.org/Learn/Datatypes#Dbn">
<visualization plugin="drawrna" />
</datatype>
<datatype extension="fai" type="galaxy.datatypes.tabular:Tabular" display_in_upload="true" subclass="true" description="A Fasta Index File is a text file consisting of lines each with five TAB-delimited columns : Name, Length, offset, linebases, Linewidth" description_url="http://www.htslib.org/doc/faidx.html"/>
<datatype extension="fasta" auto_compressed_types="gz,bz2" type="galaxy.datatypes.sequence:Fasta" display_in_upload="true" description="A sequence in FASTA format consists of a single-line description, followed by lines of sequence data. The first character of the description line is a greater-than ('&gt;') symbol in the first column. All lines should be shorter than 80 characters." description_url="https://wiki.galaxyproject.org/Learn/Datatypes#Fasta">
<infer_from suffix="fa" />
@@ -272,7 +282,9 @@
<datatype extension="hyphy_results.json" type="galaxy.datatypes.text:Json" mimetype="application/json" subclass="true" display_in_upload="true">
<visualization plugin="hyphyvision" />
</datatype>
<datatype extension="hivtrace" type="galaxy.datatypes.text:Json" mimetype="application/json" subclass="true" display_in_upload="false"/>
<datatype extension="hivtrace" type="galaxy.datatypes.text:Json" mimetype="application/json" subclass="true" display_in_upload="false">
<visualization plugin="hivtrace" />
</datatype>
<datatype extension="hic" type="galaxy.datatypes.binary:Hic" mimetype="application/octet-stream" display_in_upload="true"/>
<datatype extension="cool" type="galaxy.datatypes.binary:Cool" mimetype="application/octet-stream" display_in_upload="true"/>
<datatype extension="mcool" type="galaxy.datatypes.binary:MCool" mimetype="application/octet-stream" display_in_upload="true"/>
@@ -494,7 +506,9 @@
<infer_from suffix="imzml" />
</datatype>
<datatype extension="analyze75" type="galaxy.datatypes.images:Analyze75" mimetype="application/xml" display_in_upload="true"/>
<datatype extension="nii1" auto_compressed_types="gz" type="galaxy.datatypes.images:Nifti1" mimetype="application/octet-stream" display_in_upload="true" />
<datatype extension="nii1" auto_compressed_types="gz" type="galaxy.datatypes.images:Nifti1" mimetype="application/octet-stream" display_in_upload="true">
<visualization plugin="niivue" />
</datatype>
<datatype extension="nii2" auto_compressed_types="gz" type="galaxy.datatypes.images:Nifti2" mimetype="application/octet-stream" display_in_upload="true" />
<datatype extension="gii" auto_compressed_types="gz" type="galaxy.datatypes.images:Gifti" mimetype="application/octet-stream" display_in_upload="true" />
<datatype extension="tck" type="galaxy.datatypes.images:Tck" mimetype="application/octet-stream" display_in_upload="true" />
@@ -606,9 +620,13 @@
<datatype extension="twobit" type="galaxy.datatypes.binary:TwoBit" mimetype="application/octet-stream" display_in_upload="true"/>
<datatype extension="sqmass" type="galaxy.datatypes.binary:SQmass" mimetype="application/octet-stream" display_in_upload="true"/>
<datatype extension="gemini.sqlite" type="galaxy.datatypes.binary:GeminiSQLite" mimetype="application/octet-stream" display_in_upload="true"/>
<datatype extension="chira.sqlite" type="galaxy.datatypes.binary:ChiraSQLite" mimetype="application/octet-stream" display_in_upload="true" />
<datatype extension="chira.sqlite" type="galaxy.datatypes.binary:ChiraSQLite" mimetype="application/octet-stream" display_in_upload="true">
<visualization plugin="chiraviz" />
</datatype>
<datatype extension="cuffdiff.sqlite" type="galaxy.datatypes.binary:CuffDiffSQlite" display_in_upload="true"/>
<datatype extension="gafa.sqlite" type="galaxy.datatypes.binary:GAFASQLite" mimetype="application/octet-stream" display_in_upload="true"/>
<datatype extension="gafa.sqlite" type="galaxy.datatypes.binary:GAFASQLite" mimetype="application/octet-stream" display_in_upload="true">
<visualization plugin="aequatus" />
</datatype>
<datatype extension="ncbitaxonomy.sqlite" type="galaxy.datatypes.binary:NcbiTaxonomySQlite" mimetype="application/octet-stream" display_in_upload="true"/>
<datatype extension="txt" type="galaxy.datatypes.data:Text" display_in_upload="true" description="Any text file." description_url="https://wiki.galaxyproject.org/Learn/Datatypes#Plain_text"/>
<datatype extension="linecount" type="galaxy.datatypes.data:LineCount" display_in_upload="false"/>
@@ -680,7 +698,9 @@
<datatype extension="gff_tabix.gz" type="galaxy.datatypes.interval:GffTabix" mimetype="application/octet-stream" display_in_upload="true"/>
<datatype extension="bgzip" type="galaxy.datatypes.binary:CompressedArchive" subclass="true" display_in_upload="true"/>
<!-- GWAS results datatypes to be used with locuszoom visualization plugin -->
<datatype extension="gwas_bgzip" type="galaxy.datatypes.binary:CompressedArchive" subclass="true" display_in_upload="true"/>
<datatype extension="gwas_bgzip" type="galaxy.datatypes.binary:CompressedArchive" subclass="true" display_in_upload="true">
<visualization plugin="locuszoom" />
</datatype>
<datatype extension="gwas_tabix.gz" type="galaxy.datatypes.binary:CompressedArchive" subclass="true" display_in_upload="true"/>
<!-- -->
<datatype extension="vcf_bgzip" type="galaxy.datatypes.tabular:VcfGz" display_in_upload="true">
@@ -694,6 +714,7 @@
<datatype extension="phyloxml" type="galaxy.datatypes.xml:Phyloxml" display_in_upload="true"/>
<datatype extension="newick" type="galaxy.datatypes.data:Newick" mimetype="text/x-nh" display_in_upload="true" description="The Newick Standard for representing trees in a computer-readable format." description_url="https://phylipweb.github.io/phylip/newicktree.html">
<infer_from suffix="tree" />
<visualization plugin="phylocanvas" />
</datatype>
<datatype extension="nhx" type="galaxy.datatypes.data:Newick" subclass="true" display_in_upload="true" description="The New Hampshire X (NHX) format is an extension to Newick that adds key-value data to Newick nodes.">
<infer_from suffix="nhx" />
@@ -895,7 +916,9 @@
<datatype extension="cm" type="galaxy.datatypes.msa:InfernalCM" display_in_upload="False"/>
<datatype extension="hmm2" type="galaxy.datatypes.msa:Hmmer2" display_in_upload="true"/>
<datatype extension="hmm3" type="galaxy.datatypes.msa:Hmmer3" display_in_upload="true"/>
<datatype extension="stockholm" type="galaxy.datatypes.msa:Stockholm_1_0" display_in_upload="true"/>
<datatype extension="stockholm" type="galaxy.datatypes.msa:Stockholm_1_0" display_in_upload="true">
<visualization plugin="alignmentviewer" />
</datatype>
<datatype extension="xmfa" type="galaxy.datatypes.msa:MauveXmfa" display_in_upload="true">
<infer_from suffix="xmfa" />
</datatype>
@@ -917,7 +940,9 @@
<datatype extension="rdata.camera.quick" type="galaxy.datatypes.binary:RData" mimetype="application/x-gzip" subclass="true" display_in_upload="true"/>
<datatype extension="rdata.se" type="galaxy.datatypes.hdf5:HDF5SummarizedExperiment" mimetype="text/html" display_in_upload="true"/>
<datatype extension="rdock_as" type="galaxy.datatypes.binary:Binary" description="rDock active site format" subclass="true" display_in_upload="true"/>
<datatype extension="rrd" type="galaxy.datatypes.binary:Binary" description="Rerun recording data to visualize spatial and temporal data" subclass="true" display_in_upload="true"/>
<datatype extension="rrd" type="galaxy.datatypes.binary:Binary" description="Rerun recording data to visualize spatial and temporal data" subclass="true" display_in_upload="true">
<visualization plugin="rerunio" />
</datatype>
<datatype extension="prm" type="galaxy.datatypes.text:Prm" mimetype="text/plain" description="rDock prm format for system definition files, scoring function definition files and search protocol definition files" description_url="https://rdock.github.io/documentation/html_docs/reference-guide/file-formats.html" display_in_upload="true" />
<datatype extension="oxlicg" type="galaxy.datatypes.binary:OxliCountGraph" mimetype="application/octet-stream" display_in_upload="true"/>
<datatype extension="oxling" type="galaxy.datatypes.binary:OxliNodeGraph" mimetype="application/octet-stream" display_in_upload="true"/>
@@ -927,12 +952,20 @@
<datatype extension="oxligl" type="galaxy.datatypes.binary:OxliGraphLabels" mimetype="application/octet-stream" display_in_upload="true"/>
<!-- Constructive solid geometry datatypes -->
<datatype extension="stl" type="galaxy.datatypes.constructive_solid_geometry:STL" display_in_upload="true"/>
<datatype extension="plyascii" type="galaxy.datatypes.constructive_solid_geometry:PlyAscii" display_in_upload="true"/>
<datatype extension="plybinary" type="galaxy.datatypes.constructive_solid_geometry:PlyBinary" display_in_upload="true"/>
<datatype extension="plyascii" type="galaxy.datatypes.constructive_solid_geometry:PlyAscii" display_in_upload="true">
<visualization plugin="vtk" />
</datatype>
<datatype extension="plybinary" type="galaxy.datatypes.constructive_solid_geometry:PlyBinary" display_in_upload="true">
<visualization plugin="vtk" />
</datatype>
<datatype extension="vtkascii" type="galaxy.datatypes.constructive_solid_geometry:VtkAscii" display_in_upload="true"/>
<datatype extension="vtkbinary" type="galaxy.datatypes.constructive_solid_geometry:VtkBinary" display_in_upload="true"/>
<datatype extension="vtpascii" type="galaxy.datatypes.constructive_solid_geometry:VtpAscii" display_in_upload="true"/>
<datatype extension="vtpbinary" type="galaxy.datatypes.constructive_solid_geometry:VtpBinary" display_in_upload="true"/>
<datatype extension="vtpascii" type="galaxy.datatypes.constructive_solid_geometry:VtpAscii" display_in_upload="true">
<visualization plugin="vtk" />
</datatype>
<datatype extension="vtpbinary" type="galaxy.datatypes.constructive_solid_geometry:VtpBinary" display_in_upload="true">
<visualization plugin="vtk" />
</datatype>
<!-- Metagenomic Datatypes -->
<datatype extension="biom1" type="galaxy.datatypes.text:Biom1" display_in_upload="true" mimetype="application/json">
<display file="biom/biom_simple.xml"/>
@@ -1234,7 +1267,9 @@
<datatype extension="pithya.result" type="galaxy.datatypes.text:PithyaResult" mimetype="application/json" display_in_upload="true"/>
<datatype extension="pithya.property" type="galaxy.datatypes.text:PithyaProperty" display_in_upload="true" />
<datatype extension="pithya.model" type="galaxy.datatypes.text:PithyaModel" display_in_upload="true" />
<datatype extension="bcsl.ts" type="galaxy.datatypes.text:BCSLts" mimetype="application/json" display_in_upload="true"/>
<datatype extension="bcsl.ts" type="galaxy.datatypes.text:BCSLts" mimetype="application/json" display_in_upload="true">
<visualization plugin="ts_visjs" />
</datatype>
<datatype extension="bcsl.model" type="galaxy.datatypes.text:BCSLmodel" display_in_upload="true"/>
<datatype extension="storm.sample" type="galaxy.datatypes.text:StormSample" display_in_upload="true"/>
<datatype extension="storm.check" type="galaxy.datatypes.text:StormCheck" display_in_upload="true"/>
+4 -4
View File
@@ -2498,10 +2498,10 @@ galaxy:
# decoding also adds overhead. Simple parameter references resolve in
# Python without starting a worker. When empty (the default), the
# worker runs without an OS-level jail.
# Full JavaScript evaluation requires Python 3.10+ and the quickjs-ng
# package. Without QuickJS, expressions requiring JavaScript fail with
# an error; literals and simple parameter references continue to work
# without it.
# Full JavaScript evaluation requires the quickjs-ng package. Without
# QuickJS, expressions requiring JavaScript fail with an error;
# literals and simple parameter references continue to work without
# it.
# Set this to ``bubblewrap`` to use a built-in bubblewrap jail. It
# clears the environment, unshares the PID/IPC/UTS namespaces, and
# read-only-binds only what the worker needs to run: the Python
+1 -1
View File
@@ -3347,7 +3347,7 @@ mapping:
Python without starting a worker. When empty (the default), the worker
runs without an OS-level jail.
Full JavaScript evaluation requires Python 3.10+ and the quickjs-ng package.
Full JavaScript evaluation requires the quickjs-ng package.
Without QuickJS, expressions requiring JavaScript fail with an error;
literals and simple parameter references continue to work without it.
@@ -1,6 +1,8 @@
zeroc-ice @ https://github.com/ome/zeroc-ice-py-github-ci/releases/download/0.2.0/zeroc_ice-3.6.5-cp310-cp310-linux_x86_64.whl ; platform_system=="Linux" and python_version=="3.10" #type: omero
zeroc-ice @ https://github.com/glencoesoftware/zeroc-ice-py-linux-x86_64/releases/download/20240202/zeroc_ice-3.6.5-cp311-cp311-manylinux_2_28_x86_64.whl ; platform_system=="Linux" and python_version=="3.11" #type: omero
zeroc-ice @ https://github.com/glencoesoftware/zeroc-ice-py-linux-x86_64/releases/download/20240202/zeroc_ice-3.6.5-cp312-cp312-manylinux_2_28_x86_64.whl ; platform_system=="Linux" and python_version=="3.12" #type: omero
zeroc-ice @ https://github.com/glencoesoftware/zeroc-ice-py-macos-universal2/releases/download/20240131/zeroc_ice-3.6.5-cp310-cp310-macosx_11_0_universal2.whl ; platform_system!="Windows" and platform_system!="Linux" and python_version=="3.10" #type: omero
zeroc-ice @ https://github.com/glencoesoftware/zeroc-ice-py-linux-x86_64/releases/download/20261109/zeroc_ice-3.6.5-cp313-cp313-manylinux_2_28_x86_64.whl ; platform_system=="Linux" and python_version=="3.13" #type: omero
zeroc-ice @ https://github.com/glencoesoftware/zeroc-ice-py-linux-x86_64/releases/download/20261109/zeroc_ice-3.6.5-cp314-cp314-manylinux_2_28_x86_64.whl ; platform_system=="Linux" and python_version=="3.14" #type: omero
zeroc-ice @ https://github.com/glencoesoftware/zeroc-ice-py-macos-universal2/releases/download/20240131/zeroc_ice-3.6.5-cp311-cp311-macosx_11_0_universal2.whl ; platform_system!="Windows" and platform_system!="Linux" and python_version=="3.11" #type: omero
zeroc-ice @ https://github.com/glencoesoftware/zeroc-ice-py-macos-universal2/releases/download/20240131/zeroc_ice-3.6.5-cp312-cp312-macosx_11_0_universal2.whl ; platform_system!="Windows" and platform_system!="Linux" and python_version=="3.12" #type: omero
zeroc-ice @ https://github.com/glencoesoftware/zeroc-ice-py-macos-universal2/releases/download/20261011/zeroc_ice-3.6.5-cp313-cp313-macosx_11_0_universal2.whl ; platform_system!="Windows" and platform_system!="Linux" and python_version=="3.13" #type: omero
zeroc-ice @ https://github.com/glencoesoftware/zeroc-ice-py-macos-universal2/releases/download/20261011/zeroc_ice-3.6.5-cp314-cp314-macosx_11_0_universal2.whl ; platform_system!="Windows" and platform_system!="Linux" and python_version=="3.14" #type: omero
@@ -0,0 +1,7 @@
# Overrides for the conditional dependencies, applied only when they are
# installed with uv (pip doesn't support overrides). Each line replaces every
# requirement on that package declared by the conditional dependencies.
# tensorflow 2.21.0 requires h5py<3.15.0, which would downgrade the pinned h5py
# on every startup; tool recommendations work with newer h5py versions.
h5py>=3.11.0
@@ -70,7 +70,7 @@ pygithub
influxdb
# Deep learning packages for tool recommendation
tensorflow==2.15.1
tensorflow==2.21.0
# weasyprint has problematic requirements (cairo, Pango, see:
# https://doc.courtbouillon.org/weasyprint/stable/first_steps.html#linux)
+29 -61
View File
@@ -8,20 +8,17 @@ alabaster==1.0.0
annotated-types==0.8.0
ase==3.29.0
ast-serialize==0.13.1
async-timeout==5.0.1 ; python_full_version < '3.11'
attrs==26.1.0
axe-selenium-python==2.1.6 ; python_full_version < '3.12'
axe-selenium-python==3.0.0 ; python_full_version >= '3.12'
babel==2.18.0
backports-asyncio-runner==1.2.0 ; python_full_version < '3.11'
backports-tarfile==1.2.0 ; python_full_version < '3.12' and platform_machine != 'ppc64le' and platform_machine != 's390x'
black==26.10.1
boto3==1.43.117
botocore==1.43.117
build==1.6.1
cachecontrol==0.14.4
cachetools==7.3.1 ; python_full_version < '3.11'
cachetools==8.0.0 ; python_full_version >= '3.11'
cachetools==8.0.0
cattrs==26.2.1
certifi==2026.10.23
cffi==2.1.1 ; (implementation_name != 'pypy' and os_name == 'nt') or platform_python_implementation != 'PyPy'
@@ -31,11 +28,9 @@ cloudbridge==4.5.0
codespell==2.4.3
colorama==0.4.6 ; os_name == 'nt' or sys_platform == 'win32'
colorlog==6.12.0
contourpy==1.3.2 ; python_full_version < '3.11'
contourpy==1.3.3 ; python_full_version == '3.11.*'
contourpy==1.3.3 ; python_full_version < '3.12'
contourpy==1.4.0 ; python_full_version >= '3.12'
coverage==7.16.2 ; python_full_version < '3.11'
coverage==7.17.3 ; python_full_version >= '3.11'
coverage==7.17.3
cryptography==50.0.2
cwltest==2.7.20261106145043
cycler==0.12.1
@@ -43,17 +38,13 @@ darker==3.0.0
darkgraylib==2.4.1
decorator==5.3.1
defusedxml==0.7.1
docutils==0.21.2 ; python_full_version < '3.11'
docutils==0.22.4 ; python_full_version >= '3.11'
docutils==0.22.4
dogpile-cache==1.5.0
enum-tools==0.12.0
exceptiongroup==1.3.1 ; python_full_version < '3.11'
execnet==2.1.2
filelock==4.1.0 ; python_full_version < '3.11'
filelock==4.2.10 ; python_full_version >= '3.11'
filelock==4.2.10
fluent-logger==0.11.1
fonttools==4.65.0 ; python_full_version < '3.11'
fonttools==4.68.0 ; python_full_version >= '3.11'
fonttools==4.68.0
frozenlist==1.8.0
fsspec==2026.9.0
galaxy-release-util==0.4.2
@@ -77,11 +68,9 @@ hvac==2.4.0
id==1.6.1
idna==3.20
imagesize==2.0.1
importlib-metadata==9.0.1 ; python_full_version < '3.11'
importlib-metadata==10.2.0 ; python_full_version == '3.11.*'
importlib-metadata==10.2.0 ; python_full_version < '3.12'
iniconfig==2.3.1
inquirerpy==0.3.4
isodate==0.7.2 ; python_full_version < '3.11'
isort==9.0.2
jaraco-classes==3.4.0 ; platform_machine != 'ppc64le' and platform_machine != 's390x'
jaraco-context==6.1.2 ; platform_machine != 'ppc64le' and platform_machine != 's390x'
@@ -89,40 +78,32 @@ jaraco-functools==4.6.0 ; platform_machine != 'ppc64le' and platform_machine !=
jeepney==0.9.0 ; platform_machine != 'ppc64le' and platform_machine != 's390x' and sys_platform == 'linux'
jinja2==3.1.6
jmespath==1.1.0
jsonpatch==1.46 ; python_full_version < '3.11'
jsonpatch==1.47 ; python_full_version >= '3.11'
jsonpatch==1.47
jsonpointer==3.12
jsonschema==4.26.0
jsonschema-specifications==2025.9.1
junit-xml==1.9
keyring==25.7.0 ; platform_machine != 'ppc64le' and platform_machine != 's390x'
kiwisolver==1.5.1
lazy-importer==0.1.0 ; python_full_version == '3.11.*'
lazy-importer==0.1.0 ; python_full_version < '3.12'
librt==0.16.0 ; platform_python_implementation != 'PyPy'
lxml==6.1.3
markdown-it-py==3.0.0 ; python_full_version < '3.11'
markdown-it-py==4.3.0 ; python_full_version >= '3.11'
markdown-it-py==4.3.0
markdown-it-reporter==0.0.2
markupsafe==3.0.4
matplotlib==3.10.9 ; python_full_version < '3.11'
matplotlib==3.11.2 ; python_full_version >= '3.11'
matplotlib==3.11.2
mdit-py-plugins==0.7.0
mdurl==0.1.2
mirakuru==3.0.4 ; python_full_version < '3.11'
mirakuru==3.1.0 ; python_full_version >= '3.11'
mirakuru==3.1.0
mistune==3.4.0
more-itertools==11.1.0 ; python_full_version < '3.11' and platform_machine != 'ppc64le' and platform_machine != 's390x'
more-itertools==11.2.1 ; python_full_version >= '3.11' and platform_machine != 'ppc64le' and platform_machine != 's390x'
more-itertools==11.2.1 ; platform_machine != 'ppc64le' and platform_machine != 's390x'
msgpack==1.2.4
multidict==7.1.0 ; python_full_version < '3.11'
multidict==7.2.1 ; python_full_version >= '3.11'
multidict==7.2.1
mypy==2.4.1
mypy-extensions==1.2.0
myst-parser==4.0.1 ; python_full_version < '3.11'
myst-parser==5.2.0 ; python_full_version >= '3.11'
myst-parser==5.2.0
nh3==0.3.7
numpy==2.2.6 ; python_full_version < '3.11'
numpy==2.4.6 ; python_full_version == '3.11.*'
numpy==2.4.6 ; python_full_version < '3.12'
numpy==2.5.4 ; python_full_version >= '3.12'
oauthlib==4.0.1
onedatafilerestclient==21.2.5.2
@@ -132,11 +113,9 @@ owlrl==7.6.2
packaging==26.3
pathspec==1.1.1
pfzy==0.3.4
pillow==12.3.0 ; python_full_version < '3.11'
pillow==13.0.0 ; python_full_version >= '3.11'
pillow==13.0.0
pkce==1.0.3
platformdirs==4.12.4 ; python_full_version < '3.11'
platformdirs==4.14.5 ; python_full_version >= '3.11'
platformdirs==4.14.5
playwright==1.65.2
pluggy==1.7.0
port-for==1.1.1
@@ -151,8 +130,7 @@ pyasn1==0.6.5
pyasn1-modules==0.4.2
pyasynchat==1.0.5 ; python_full_version >= '3.12'
pyasyncore==1.0.5 ; python_full_version >= '3.12'
pycparser==3.11 ; (python_full_version < '3.11' and implementation_name != 'PyPy' and implementation_name != 'pypy' and os_name == 'nt') or (python_full_version < '3.11' and implementation_name != 'PyPy' and platform_python_implementation != 'PyPy')
pycparser==3.12 ; (python_full_version >= '3.11' and implementation_name != 'PyPy' and implementation_name != 'pypy' and os_name == 'nt') or (python_full_version >= '3.11' and implementation_name != 'PyPy' and platform_python_implementation != 'PyPy')
pycparser==3.12 ; (implementation_name != 'PyPy' and implementation_name != 'pypy' and os_name == 'nt') or (implementation_name != 'PyPy' and platform_python_implementation != 'PyPy')
pydantic==2.14.3
pydantic-core==2.50.4
pyeventsystem==0.1.0
@@ -170,14 +148,12 @@ pytest==9.2.0
pytest-asyncio==1.5.0
pytest-cov==7.1.0
pytest-html==4.2.0
pytest-httpserver==1.2.0 ; python_full_version < '3.11'
pytest-httpserver==1.2.1 ; python_full_version >= '3.11'
pytest-httpserver==1.2.1
pytest-json-report==1.5.0
pytest-metadata==3.1.1
pytest-mock==3.17.0
pytest-playwright==0.10.0
pytest-postgresql==9.1.1 ; python_full_version < '3.11'
pytest-postgresql==10.0.0 ; python_full_version >= '3.11'
pytest-postgresql==10.0.0
pytest-shard==0.1.2
pytest-xdist==3.8.0
python-dateutil==2.9.0.post0
@@ -199,15 +175,13 @@ rich==14.3.4
rich-argparse==1.8.0
rich-click==1.9.9
roc-validator==0.13.1
roman-numerals==4.1.0 ; python_full_version >= '3.11'
rpds-py==0.30.0 ; python_full_version < '3.11'
rpds-py==2026.9.1 ; python_full_version >= '3.11'
roman-numerals==4.1.0
rpds-py==2026.9.1
ruamel-yaml==0.19.1
rucio-clients==41.5.1
s3transfer==0.19.3
schema-salad==8.10.20261106141337
scipy==1.15.3 ; python_full_version < '3.11'
scipy==1.17.1 ; python_full_version == '3.11.*'
scipy==1.17.1 ; python_full_version < '3.12'
scipy==1.18.1 ; python_full_version >= '3.12'
secretstorage==3.5.0 ; platform_machine != 'ppc64le' and platform_machine != 's390x' and sys_platform == 'linux'
selenium==4.52.0
@@ -216,8 +190,7 @@ six==1.17.0
sniffio==1.3.1
snowballstemmer==3.1.1
sortedcontainers==2.4.0
sphinx==8.1.3 ; python_full_version < '3.11'
sphinx==9.0.4 ; python_full_version == '3.11.*'
sphinx==9.0.4 ; python_full_version < '3.12'
sphinx==9.1.1 ; python_full_version == '3.12.*'
sphinx==9.2.0 ; python_full_version >= '3.13'
sphinx-rtd-theme==3.1.0
@@ -230,16 +203,13 @@ sphinxcontrib-mermaid==2.1.1
sphinxcontrib-qthelp==2.0.0
sphinxcontrib-serializinghtml==2.0.0
statsd==4.0.1
stevedore==5.8.0 ; python_full_version < '3.11'
stevedore==5.10.0 ; python_full_version >= '3.11'
stevedore==5.10.0
tabulate==0.10.0
tenacity==9.1.4
testfixtures==8.3.0 ; python_full_version < '3.11'
testfixtures==12.4.0 ; python_full_version >= '3.11'
testfixtures==12.4.0
text-unidecode==1.3
tinydb==4.9.0
toml==0.10.2
tomli==2.5.0 ; python_full_version < '3.11'
total-perspective-vortex==3.3.1
trio==0.35.0
trio-websocket==0.12.2
@@ -250,11 +220,9 @@ types-requests==2.33.0.20261030
typing-extensions==4.16.0
typing-inspection==0.4.5
tzdata==2026.6 ; sys_platform == 'win32'
url-normalize==3.0.1 ; python_full_version < '3.11'
url-normalize==3.1.0 ; python_full_version >= '3.11'
url-normalize==3.1.0
urllib3==2.8.0
watchdog==6.0.0 ; python_full_version < '3.11'
watchdog==7.1.0 ; python_full_version >= '3.11'
watchdog==7.1.0
wcwidth==0.9.4
websocket-client==1.9.2
werkzeug==3.1.9
+42 -87
View File
@@ -3,8 +3,7 @@
a2wsgi==1.10.10
adal==1.2.7
aiobotocore==3.10.0
aiofile==3.8.8 ; python_full_version < '3.11'
aiofile==3.12.3 ; python_full_version >= '3.11'
aiofile==3.12.3
aiofiles==25.1.0
aiohappyeyeballs==2.7.1
aiohttp==3.14.5
@@ -16,12 +15,10 @@ annotated-doc==0.0.6
annotated-types==0.8.0
anthropic==2.8.0
anyio==4.16.0
apispec==6.10.0 ; python_full_version < '3.11'
apispec==6.10.1 ; python_full_version >= '3.11'
apispec==6.10.1
appdirs==1.4.4
arcp==0.2.1
argcomplete==3.7.2
async-timeout==5.0.1 ; python_full_version < '3.11'
attrs==26.1.0
authlib==1.9.5
babel==2.18.0
@@ -38,13 +35,10 @@ bleach==6.4.0
boltons==26.2.0
boto==2.49.0
botocore==1.43.117
bx-python==0.15.1 ; python_full_version < '3.11'
bx-python==0.16.0 ; python_full_version >= '3.11'
bx-python==0.16.0
cachecontrol==0.14.4
cachetools==7.3.1 ; python_full_version < '3.11'
cachetools==8.0.0 ; python_full_version >= '3.11'
caio==0.9.25 ; python_full_version < '3.11'
caio==0.12.10 ; python_full_version >= '3.11'
cachetools==8.0.0
caio==0.12.10
celery==5.7.0
certifi==2026.10.23
cffi==2.1.1 ; implementation_name == 'pypy' or platform_python_implementation != 'PyPy'
@@ -63,50 +57,40 @@ ct3==3.4.0.post5
cwl-upgrader==1.2.15
cwl-utils==0.47
cwltool==3.3.20261106131234
cyclopts==4.25.3 ; python_full_version < '3.11'
cyclopts==5.5.0 ; python_full_version >= '3.11'
cyclopts==5.5.0
defusedxml==0.7.1
deprecated==1.3.1 ; python_full_version < '3.12'
deprecated==3.0.1 ; python_full_version >= '3.12'
dictobj==0.4
distro==1.9.0
dnspython==2.8.0 ; python_full_version < '3.11'
dnspython==2.9.2 ; python_full_version >= '3.11'
dnspython==2.9.2
docopt==0.6.2
docstring-parser==0.18.0
docutils==0.21.2 ; python_full_version < '3.11'
docutils==0.22.4 ; python_full_version >= '3.11'
docutils==0.22.4
dparse==0.6.4
edam-ontology==1.25.3
email-validator==2.3.0
et-xmlfile==2.0.0
exceptiongroup==1.3.1
executing==2.3.0
fastapi==0.162.5 ; python_full_version < '3.11'
fastapi==0.162.7 ; python_full_version >= '3.11'
fastmcp==4.1.8 ; python_full_version < '3.11'
fastmcp==4.2.0 ; python_full_version >= '3.11'
fastmcp-slim==4.1.8 ; python_full_version < '3.11'
fastmcp-slim==4.2.0 ; python_full_version >= '3.11'
filelock==4.1.0 ; python_full_version < '3.11'
filelock==4.2.10 ; python_full_version >= '3.11'
fastapi==0.162.7
fastmcp==4.2.0
fastmcp-slim==4.2.0
filelock==4.2.10
fissix==26.10.29
frozenlist==1.8.0
fs==2.4.16
fsspec==2026.9.0
future==1.0.0
genai-prices==0.1.13 ; python_full_version < '3.11'
genai-prices==0.2.3 ; python_full_version >= '3.11'
genai-prices==0.2.3
google-api-core==2.44.0
google-auth==2.62.2
google-cloud-batch==0.22.5
google-genai==2.33.0 ; python_full_version < '3.11'
google-genai==2.34.0 ; python_full_version >= '3.11'
google-genai==2.34.0
googleapis-common-protos==1.76.0
gravity==1.2.4
greenlet==3.5.6 ; platform_machine == 'AMD64' or platform_machine == 'WIN32' or platform_machine == 'aarch64' or platform_machine == 'amd64' or platform_machine == 'ppc64le' or platform_machine == 'win32' or platform_machine == 'x86_64'
griffelib==2.3.0 ; python_full_version < '3.11'
griffelib==2.4.1 ; python_full_version >= '3.11'
griffelib==2.4.1
grpcio==1.85.1
grpcio-status==1.85.1
gunicorn==27.0.1
@@ -115,11 +99,9 @@ h11==0.16.0
h5grove==4.0.0
h5py==3.16.0
httpcore==1.0.9
httpcore2==2.14.0 ; python_full_version < '3.11' and sys_platform != 'emscripten'
httpcore2==2.16.0 ; python_full_version >= '3.11' and sys_platform != 'emscripten'
httpcore2==2.16.0 ; sys_platform != 'emscripten'
httpx==0.28.1
httpx2==2.14.0 ; python_full_version < '3.11'
httpx2==2.16.0 ; python_full_version >= '3.11'
httpx2==2.16.0
httpx2-jsfetch==1.0 ; python_full_version >= '3.12' and sys_platform == 'emscripten'
humanfriendly==10.0
idna==3.20
@@ -128,13 +110,10 @@ importlib-resources==7.1.0 ; python_full_version < '3.12'
invoke==3.0.3
isa-rwval==0.10.11
isal==1.9.1
isodate==0.7.2 ; python_full_version < '3.11'
jinja2==3.1.6
jiter==0.18.0 ; python_full_version < '3.11'
jiter==0.19.0 ; python_full_version >= '3.11'
jiter==0.19.0
jmespath==1.1.0
joserfc==1.7.7 ; python_full_version < '3.11'
joserfc==1.8.0 ; python_full_version >= '3.11'
joserfc==1.8.0
jsonref==1.1.0
jsonschema==4.26.0
jsonschema-path==0.5.0
@@ -148,31 +127,25 @@ logfire-api==5.6.0
logfire-sdk==5.6.0
lxml==6.1.3
mako==1.4.3
markdown==3.10.3 ; python_full_version < '3.11'
markdown==3.11.3 ; python_full_version >= '3.11'
markdown-it-py==3.0.0 ; python_full_version < '3.11'
markdown-it-py==4.3.0 ; python_full_version >= '3.11'
markdown==3.11.3
markdown-it-py==4.3.0
markupsafe==3.0.4
mcp==2.3.0
mcp-types==2.3.0
mdurl==0.1.2
mercurial==7.2.4
mistune==3.4.0
more-itertools==11.1.0 ; python_full_version < '3.11'
more-itertools==11.2.1 ; python_full_version >= '3.11'
more-itertools==11.2.1
mrcfile==1.5.4
msal==1.39.0
msgpack==1.2.4
multidict==7.1.0 ; python_full_version < '3.11'
multidict==7.2.1 ; python_full_version >= '3.11'
multidict==7.2.1
mypy-extensions==1.2.0
networkx==3.4.2 ; python_full_version < '3.11'
networkx==3.6.1 ; python_full_version == '3.11.*'
networkx==3.6.1 ; python_full_version < '3.12'
networkx==3.7 ; python_full_version >= '3.12'
nodejs-wheel==22.20.0
nodejs-wheel-binaries==22.20.0
numpy==2.2.6 ; python_full_version < '3.11'
numpy==2.4.6 ; python_full_version == '3.11.*'
numpy==2.4.6 ; python_full_version < '3.12'
numpy==2.5.4 ; python_full_version >= '3.12'
oauthlib==4.0.1
openai==3.51.0
@@ -196,11 +169,9 @@ parsley==1.3
paste==3.11.0
pathable==0.6.0
pebble==5.2.3
pillow==12.3.0 ; python_full_version < '3.11'
pillow==13.0.0 ; python_full_version >= '3.11'
pillow==13.0.0
pkg-resources-backport==1.0.1
platformdirs==4.12.4 ; python_full_version < '3.11'
platformdirs==4.14.5 ; python_full_version >= '3.11'
platformdirs==4.14.5
prompt-toolkit==3.0.53
propcache==0.5.4
proto-plus==1.29.0
@@ -212,22 +183,16 @@ pulsar-relay-client==0.2.2
py-key-value-aio==0.4.6
pyasn1==0.6.5
pyasn1-modules==0.4.2
pycparser==3.11 ; (python_full_version < '3.11' and implementation_name == 'pypy') or (python_full_version < '3.11' and implementation_name != 'PyPy' and implementation_name != 'pypy' and platform_python_implementation != 'PyPy')
pycparser==3.12 ; (python_full_version >= '3.11' and implementation_name == 'pypy') or (python_full_version >= '3.11' and implementation_name != 'PyPy' and implementation_name != 'pypy' and platform_python_implementation != 'PyPy')
pycparser==3.12 ; implementation_name == 'pypy' or (implementation_name != 'PyPy' and implementation_name != 'pypy' and platform_python_implementation != 'PyPy')
pycryptodome==4.4.0
pydantic==2.14.3
pydantic-ai==2.54.0 ; python_full_version < '3.11'
pydantic-ai==2.68.0 ; python_full_version >= '3.11'
pydantic-ai-slim==2.54.0 ; python_full_version < '3.11'
pydantic-ai-slim==2.68.0 ; python_full_version >= '3.11'
pydantic-ai==2.68.0
pydantic-ai-slim==2.68.0
pydantic-core==2.50.4
pydantic-evals==2.54.0 ; python_full_version < '3.11'
pydantic-evals==2.68.0 ; python_full_version >= '3.11'
pydantic-evals==2.68.0
pydantic-extra-types==2.11.1
pydantic-graph==2.54.0 ; python_full_version < '3.11'
pydantic-graph==2.68.0 ; python_full_version >= '3.11'
pydantic-settings==2.15.0 ; python_full_version < '3.11'
pydantic-settings==2.16.3 ; python_full_version >= '3.11'
pydantic-graph==2.68.0
pydantic-settings==2.16.3
pydantic-tes==0.4.0
pydicom==3.0.2
pydot==4.0.1
@@ -245,8 +210,7 @@ pysam==0.24.1
python-dateutil==2.9.0.post0
python-dotenv==1.2.4
python-magic==0.4.27
python-multipart==0.0.32 ; python_full_version < '3.11'
python-multipart==0.0.33 ; python_full_version >= '3.11'
python-multipart==0.0.33
python-slugify==9.1.3
python3-openid==3.2.0
pytz==2026.6
@@ -257,8 +221,7 @@ quickjs-ng==0.18.0.1
rdflib==7.6.0
referencing==0.37.0
refgenconf==0.13.1
regex==2026.9.29 ; python_full_version < '3.11'
regex==2026.11.9 ; python_full_version >= '3.11'
regex==2026.11.9
repoze-lru==0.8
requests==2.34.2
requests-oauthlib==2.0.0
@@ -269,8 +232,7 @@ rich-argparse==1.8.0
rich-rst==2.2.0
rocrate==0.14.2
routes==2.5.1
rpds-py==0.30.0 ; python_full_version < '3.11'
rpds-py==2026.9.1 ; python_full_version >= '3.11'
rpds-py==2026.9.1
ruamel-yaml==0.19.1
s3fs==2026.9.0
schema-salad==8.10.20261106141337
@@ -282,23 +244,18 @@ social-auth-core==5.2.0
sortedcontainers==2.4.0
spython==0.3.14
sqlalchemy==2.0.57
sse-starlette==3.5.1 ; python_full_version < '3.11'
sse-starlette==3.7.0 ; python_full_version >= '3.11'
starlette==1.7.0 ; python_full_version < '3.11'
starlette==1.10.0 ; python_full_version >= '3.11'
sse-starlette==3.7.0
starlette==1.10.0
starlette-context==0.5.1
supervisor==4.3.0
svgwrite==1.4.3
tenacity==9.1.4
text-unidecode==1.3
tifffile==2025.5.10 ; python_full_version < '3.11'
tifffile==2026.3.3 ; python_full_version == '3.11.*'
tifffile==2026.3.3 ; python_full_version < '3.12'
tifffile==2026.11.12 ; python_full_version >= '3.12'
tiktoken==0.14.0
tinydb==4.9.0
tomli==2.5.0 ; python_full_version < '3.11'
tornado==6.5.10 ; python_full_version < '3.11'
tornado==6.6.1 ; python_full_version >= '3.11'
tornado==6.6.1
tqdm==4.70.1
truststore==0.10.5 ; sys_platform != 'emscripten'
tuspy==1.1.0
@@ -308,8 +265,7 @@ typing-inspection==0.4.5
tzdata==2026.6
tzlocal==5.4.5
ubiquerg==0.9.3
uncalled-for==0.5.0 ; python_full_version < '3.11'
uncalled-for==0.6.1 ; python_full_version >= '3.11'
uncalled-for==0.6.1
urllib3==2.8.0
uvicorn==0.54.0
uvloop==0.23.0
@@ -318,8 +274,7 @@ watchfiles==1.3.0
wcwidth==0.9.4
webencodings==0.6.1
webob==1.8.11
websockets==16.1.1 ; python_full_version < '3.11'
websockets==17.4 ; python_full_version >= '3.11'
websockets==17.4
whoosh==2.7.4
wrapt==2.5.2
yacman==1.0.0
@@ -7,16 +7,13 @@ aiosignal==1.4.0
annotated-types==0.8.0
ase==3.29.0
ast-serialize==0.13.1
async-timeout==5.0.1 ; python_full_version < '3.11'
attrs==26.1.0
axe-selenium-python==2.1.6 ; python_full_version < '3.12'
axe-selenium-python==3.0.0 ; python_full_version >= '3.12'
backports-asyncio-runner==1.2.0 ; python_full_version < '3.11'
boto3==1.43.117
botocore==1.43.117
cachecontrol==0.14.4
cachetools==7.3.1 ; python_full_version < '3.11'
cachetools==8.0.0 ; python_full_version >= '3.11'
cachetools==8.0.0
cattrs==26.2.1
certifi==2026.10.23
cffi==2.1.1 ; (implementation_name != 'pypy' and os_name == 'nt') or platform_python_implementation != 'PyPy'
@@ -25,11 +22,9 @@ click==8.5.1
cloudbridge==4.5.0
colorama==0.4.6 ; sys_platform == 'win32'
colorlog==6.12.0
contourpy==1.3.2 ; python_full_version < '3.11'
contourpy==1.3.3 ; python_full_version == '3.11.*'
contourpy==1.3.3 ; python_full_version < '3.12'
contourpy==1.4.0 ; python_full_version >= '3.12'
coverage==7.16.2 ; python_full_version < '3.11'
coverage==7.17.3 ; python_full_version >= '3.11'
coverage==7.17.3
cryptography==50.0.2
cwltest==2.7.20261106145043
cycler==0.12.1
@@ -37,13 +32,10 @@ decorator==5.3.1
defusedxml==0.7.1
dogpile-cache==1.5.0
enum-tools==0.12.0
exceptiongroup==1.3.1 ; python_full_version < '3.11'
execnet==2.1.2
filelock==4.1.0 ; python_full_version < '3.11'
filelock==4.2.10 ; python_full_version >= '3.11'
filelock==4.2.10
fluent-logger==0.11.1
fonttools==4.65.0 ; python_full_version < '3.11'
fonttools==4.68.0 ; python_full_version >= '3.11'
fonttools==4.68.0
frozenlist==1.8.0
fsspec==2026.9.0
gcsfs==2026.10.1
@@ -64,39 +56,31 @@ h11==0.16.0
html5rdf==1.2.1
hvac==2.4.0
idna==3.20
importlib-metadata==9.0.1 ; python_full_version < '3.11'
importlib-metadata==10.2.0 ; python_full_version == '3.11.*'
importlib-metadata==10.2.0 ; python_full_version < '3.12'
iniconfig==2.3.1
inquirerpy==0.3.4
isodate==0.7.2 ; python_full_version < '3.11'
jinja2==3.1.6
jmespath==1.1.0
jsonpatch==1.46 ; python_full_version < '3.11'
jsonpatch==1.47 ; python_full_version >= '3.11'
jsonpatch==1.47
jsonpointer==3.12
jsonschema==4.26.0
jsonschema-specifications==2025.9.1
junit-xml==1.9
kiwisolver==1.5.1
lazy-importer==0.1.0 ; python_full_version == '3.11.*'
lazy-importer==0.1.0 ; python_full_version < '3.12'
librt==0.16.0 ; platform_python_implementation != 'PyPy'
lxml==6.1.3
markdown-it-py==3.0.0 ; python_full_version < '3.11'
markdown-it-py==4.3.0 ; python_full_version >= '3.11'
markdown-it-py==4.3.0
markupsafe==3.0.4
matplotlib==3.10.9 ; python_full_version < '3.11'
matplotlib==3.11.2 ; python_full_version >= '3.11'
matplotlib==3.11.2
mdurl==0.1.2
mirakuru==3.0.4 ; python_full_version < '3.11'
mirakuru==3.1.0 ; python_full_version >= '3.11'
mirakuru==3.1.0
mistune==3.4.0
msgpack==1.2.4
multidict==7.1.0 ; python_full_version < '3.11'
multidict==7.2.1 ; python_full_version >= '3.11'
multidict==7.2.1
mypy==2.4.1
mypy-extensions==1.2.0
numpy==2.2.6 ; python_full_version < '3.11'
numpy==2.4.6 ; python_full_version == '3.11.*'
numpy==2.4.6 ; python_full_version < '3.12'
numpy==2.5.4 ; python_full_version >= '3.12'
oauthlib==4.0.1
onedatafilerestclient==21.2.5.2
@@ -106,11 +90,9 @@ owlrl==7.6.2
packaging==26.3
pathspec==1.1.1
pfzy==0.3.4
pillow==12.3.0 ; python_full_version < '3.11'
pillow==13.0.0 ; python_full_version >= '3.11'
pillow==13.0.0
pkce==1.0.3
platformdirs==4.12.4 ; python_full_version < '3.11'
platformdirs==4.14.5 ; python_full_version >= '3.11'
platformdirs==4.14.5
playwright==1.65.2
pluggy==1.7.0
port-for==1.1.1
@@ -125,8 +107,7 @@ pyasn1==0.6.5
pyasn1-modules==0.4.2
pyasynchat==1.0.5 ; python_full_version >= '3.12'
pyasyncore==1.0.5 ; python_full_version >= '3.12'
pycparser==3.11 ; (python_full_version < '3.11' and implementation_name != 'PyPy' and implementation_name != 'pypy' and os_name == 'nt') or (python_full_version < '3.11' and implementation_name != 'PyPy' and platform_python_implementation != 'PyPy')
pycparser==3.12 ; (python_full_version >= '3.11' and implementation_name != 'PyPy' and implementation_name != 'pypy' and os_name == 'nt') or (python_full_version >= '3.11' and implementation_name != 'PyPy' and platform_python_implementation != 'PyPy')
pycparser==3.12 ; (implementation_name != 'PyPy' and implementation_name != 'pypy' and os_name == 'nt') or (implementation_name != 'PyPy' and platform_python_implementation != 'PyPy')
pydantic==2.14.3
pydantic-core==2.50.4
pyeventsystem==0.1.0
@@ -140,14 +121,12 @@ pytest==9.2.0
pytest-asyncio==1.5.0
pytest-cov==7.1.0
pytest-html==4.2.0
pytest-httpserver==1.2.0 ; python_full_version < '3.11'
pytest-httpserver==1.2.1 ; python_full_version >= '3.11'
pytest-httpserver==1.2.1
pytest-json-report==1.5.0
pytest-metadata==3.1.1
pytest-mock==3.17.0
pytest-playwright==0.10.0
pytest-postgresql==9.1.1 ; python_full_version < '3.11'
pytest-postgresql==10.0.0 ; python_full_version >= '3.11'
pytest-postgresql==10.0.0
pytest-shard==0.1.2
pytest-xdist==3.8.0
python-dateutil==2.9.0.post0
@@ -164,14 +143,12 @@ rich==14.3.4
rich-argparse==1.8.0
rich-click==1.9.9
roc-validator==0.13.1
rpds-py==0.30.0 ; python_full_version < '3.11'
rpds-py==2026.9.1 ; python_full_version >= '3.11'
rpds-py==2026.9.1
ruamel-yaml==0.19.1
rucio-clients==41.5.1
s3transfer==0.19.3
schema-salad==8.10.20261106141337
scipy==1.15.3 ; python_full_version < '3.11'
scipy==1.17.1 ; python_full_version == '3.11.*'
scipy==1.17.1 ; python_full_version < '3.12'
scipy==1.18.1 ; python_full_version >= '3.12'
selenium==4.52.0
seletools==1.5.0
@@ -179,16 +156,13 @@ six==1.17.0
sniffio==1.3.1
sortedcontainers==2.4.0
statsd==4.0.1
stevedore==5.8.0 ; python_full_version < '3.11'
stevedore==5.10.0 ; python_full_version >= '3.11'
stevedore==5.10.0
tabulate==0.10.0
tenacity==9.1.4
testfixtures==8.3.0 ; python_full_version < '3.11'
testfixtures==12.4.0 ; python_full_version >= '3.11'
testfixtures==12.4.0
text-unidecode==1.3
tinydb==4.9.0
toml==0.10.2
tomli==2.5.0 ; python_full_version < '3.11'
total-perspective-vortex==3.3.1
trio==0.35.0
trio-websocket==0.12.2
@@ -198,11 +172,9 @@ types-requests==2.33.0.20261030
typing-extensions==4.16.0
typing-inspection==0.4.5
tzdata==2026.6 ; sys_platform == 'win32'
url-normalize==3.0.1 ; python_full_version < '3.11'
url-normalize==3.1.0 ; python_full_version >= '3.11'
url-normalize==3.1.0
urllib3==2.8.0
watchdog==6.0.0 ; python_full_version < '3.11'
watchdog==7.1.0 ; python_full_version >= '3.11'
watchdog==7.1.0
wcwidth==0.9.4
websocket-client==1.9.2
werkzeug==3.1.9
@@ -12,11 +12,9 @@ mypy==2.4.1
mypy-boto3-s3==1.44.0
mypy-extensions==1.2.0
pathspec==1.1.1
pycparser==3.11 ; python_full_version < '3.11' and implementation_name != 'PyPy' and platform_python_implementation != 'PyPy'
pycparser==3.12 ; python_full_version >= '3.11' and implementation_name != 'PyPy' and platform_python_implementation != 'PyPy'
pycparser==3.12 ; implementation_name != 'PyPy' and platform_python_implementation != 'PyPy'
pydantic==2.14.3
pydantic-core==2.50.4
tomli==2.5.0 ; python_full_version < '3.11'
types-bleach==6.4.0.20260728
types-boto==2.49.18.20241019
types-cachetools==7.0.0.20260713
@@ -9,11 +9,11 @@ set -e
THIS_DIRECTORY="$(cd "$(dirname "$0")" > /dev/null && pwd)"
if command -v uv >/dev/null; then
VENV_CMD="$(command -v uv) venv --python python3.10"
VENV_CMD="$(command -v uv) venv --python python3.11"
PIP_CMD="$(command -v uv) pip"
FREEZE_OPTIONS=''
else
VENV_CMD='python3.10 -m venv'
VENV_CMD='python3.11 -m venv'
PIP_CMD='python -m pip'
FREEZE_OPTIONS='-l'
fi
+3 -3
View File
@@ -3,7 +3,7 @@
import logging
from datetime import (
datetime,
timezone,
UTC,
)
from typing import (
Annotated,
@@ -372,8 +372,8 @@ def to_utc_datetime(value: Any) -> datetime | None:
log.warning("Ignoring unparseable file source timestamp %r", value)
return None
if parsed.tzinfo is None:
return parsed.replace(tzinfo=timezone.utc)
return parsed.astimezone(timezone.utc)
return parsed.replace(tzinfo=UTC)
return parsed.astimezone(UTC)
class RemoteFile(RemoteEntry):
+4 -4
View File
@@ -3,9 +3,9 @@ import builtins
import os
from datetime import (
datetime,
timezone,
UTC,
)
from enum import Enum
from enum import StrEnum
from typing import (
Any,
ClassVar,
@@ -49,7 +49,7 @@ if TYPE_CHECKING:
)
class PluginKind(str, Enum):
class PluginKind(StrEnum):
"""Enum to distinguish between different kinds or categories of plugins."""
rfs = "rfs"
@@ -382,7 +382,7 @@ class BaseFilesSource(FilesSource, Generic[TTemplateConfig, TResolvedConfig]):
)
def _check_credentials_fresh(self) -> None:
if self._auth_expires_at and datetime.now(timezone.utc) > self._auth_expires_at:
if self._auth_expires_at and datetime.now(UTC) > self._auth_expires_at:
from galaxy.exceptions import FileSourceCredentialExpired
raise FileSourceCredentialExpired()
+1 -1
View File
@@ -59,6 +59,7 @@ from typing import (
cast,
Generic,
Literal,
NotRequired,
TypeVar,
)
from urllib.parse import (
@@ -70,7 +71,6 @@ from urllib.parse import (
import aiohttp
from requests import Session as RequestsSession
from typing_extensions import (
NotRequired,
TypedDict,
)
+1 -2
View File
@@ -15,8 +15,7 @@ from ._pyfilesystem2 import PyFilesystem2FilesSource
def remove_prefix(prefix: str, string: str) -> str:
if string.startswith(prefix):
string = string[len(prefix) :]
string = string.removeprefix(prefix)
return string
+4 -4
View File
@@ -14,7 +14,7 @@ from dataclasses import dataclass
from datetime import (
datetime,
timedelta,
timezone,
UTC,
)
from email.utils import parsedate_to_datetime
from pathlib import Path
@@ -53,7 +53,7 @@ def _parse_last_modified(header: str | None) -> datetime | None:
except (TypeError, ValueError):
return None
if parsed.tzinfo is None:
parsed = parsed.replace(tzinfo=timezone.utc)
parsed = parsed.replace(tzinfo=UTC)
return parsed
@@ -66,7 +66,7 @@ def _file_url_path(url: str) -> Path | None:
def _mtime_utc(path: Path) -> datetime:
return datetime.fromtimestamp(path.stat().st_mtime, tz=timezone.utc)
return datetime.fromtimestamp(path.stat().st_mtime, tz=UTC)
def _escape_like(value: str) -> str:
@@ -256,7 +256,7 @@ class GTNSearchDB:
if target.exists():
remote_mtime = cls._remote_last_modified(url)
if remote_mtime is not None:
local_mtime = datetime.fromtimestamp(target.stat().st_mtime, tz=timezone.utc)
local_mtime = datetime.fromtimestamp(target.stat().st_mtime, tz=UTC)
# depot's Last-Modified has second resolution; the 1-second slack
# absorbs rounding so a successful refresh isn't immediately re-triggered.
if remote_mtime <= local_mtime + _ONE_SECOND:
+1 -1
View File
@@ -9,11 +9,11 @@ from collections.abc import Mapping
from typing import (
cast,
Literal,
NotRequired,
TypeGuard,
)
from typing_extensions import (
NotRequired,
TypedDict,
)
+1 -2
View File
@@ -1151,8 +1151,7 @@ class PulsarJobRunner(AsynchronousJobRunner[AsynchronousJobState]):
@staticmethod
def submitted_pulsar_version(job_metrics_directory: str, run_results) -> Version:
"""The version a job was submitted for, so finishing it makes the same decisions."""
target_version = PulsarPlugin.read_target_version(job_metrics_directory)
if target_version:
if target_version := PulsarPlugin.read_target_version(job_metrics_directory):
return Version(target_version)
# Submitted before Galaxy recorded it.
return PulsarJobRunner.pulsar_version(run_results)
@@ -6,7 +6,7 @@ from abc import (
ABCMeta,
abstractmethod,
)
from enum import Enum
from enum import StrEnum
from typing import TypeAlias
try:
@@ -15,7 +15,7 @@ try:
job_states: TypeAlias = Job.states
except ImportError:
# Not in Galaxy, map Galaxy job states to Pulsar ones.
class job_states(str, Enum): # type: ignore[no-redef]
class job_states(StrEnum): # type: ignore[no-redef]
RUNNING = "running"
OK = "complete"
QUEUED = "queued"
+7 -2
View File
@@ -151,11 +151,16 @@ class ExtraPreferencesManager:
form_input = field.model_dump(exclude_none=True)
required = "Required" if field.required else ""
form_input["help"] = f"{field.help} {required}" if field.help else required
value = values[section.name][field.name]
if field.sensitive:
form_input["value"] = LEGACY_SECRET_PLACEHOLDER
# Never send a sensitive value, not even one from the definition. Only a
# stored secret gets the placeholder, so an unset one shows as empty.
form_input.pop("value", None)
if isinstance(value, ExtraPreferenceSecretState) and value.is_set:
form_input["value"] = LEGACY_SECRET_PLACEHOLDER
# the generic form masks password inputs
form_input["type"] = "password"
elif (value := values[section.name][field.name]) is not None:
elif value is not None:
form_input["value"] = value
form_inputs.append(form_input)
form_sections.append(
+1 -2
View File
@@ -786,8 +786,7 @@ class _ReferencedContentCollector(GalaxyInternalMarkdownDirectiveHandler):
job-vs-ICJ here at the directive boundary: a job in an implicit collection
is recorded as its ICJ id (a map-over step), a plain job as its job id.
"""
icj_assoc = job.implicit_collection_jobs_association
if icj_assoc is not None:
if (icj_assoc := job.implicit_collection_jobs_association) is not None:
self.content._record_icj(icj_assoc.implicit_collection_jobs_id)
else:
self.content._record_job(job.id)
+2 -2
View File
@@ -1,7 +1,7 @@
import logging
from collections.abc import Callable
from datetime import datetime
from enum import Enum
from enum import StrEnum
from threading import Event
from typing import (
cast,
@@ -903,7 +903,7 @@ class NoOpNotificationChannelPlugin(NotificationChannelPlugin):
pass
class TemplateFormats(str, Enum):
class TemplateFormats(StrEnum):
HTML = "html"
TXT = "txt"
+1 -2
View File
@@ -301,8 +301,7 @@ class NotificationRequestManager:
# Optional submitter confirmation copy. The handler returns None when no
# copy is appropriate (e.g. the submitter already receives the request).
confirmation = handler.build_confirmation(ctx, admin_request)
if confirmation is not None:
if (confirmation := handler.build_confirmation(ctx, admin_request)) is not None:
requests.append(confirmation)
return requests
+1 -1
View File
@@ -358,7 +358,7 @@ class SSEConnectionManager:
if event is _SHUTDOWN_WAKEUP:
break
yield event.to_wire()
except asyncio.TimeoutError:
except TimeoutError:
yield ": keepalive\n\n"
finally:
self.disconnect(user_id, queue, galaxy_session_id)
+1 -2
View File
@@ -1042,8 +1042,7 @@ class WorkflowContentsManager(UsesAnnotations):
]
raise MissingToolsException(workflow, errors)
report_markdown = (workflow.reports_config or {}).get("markdown")
if report_markdown:
if report_markdown := (workflow.reports_config or {}).get("markdown"):
try:
validate_galaxy_markdown_fence_types(report_markdown)
except ValueError as e:
+11 -19
View File
@@ -31,7 +31,7 @@ from datetime import (
timedelta,
)
from decimal import Decimal
from enum import Enum
from enum import StrEnum
from secrets import token_hex
from string import Template
from typing import (
@@ -41,6 +41,7 @@ from typing import (
Generic,
Literal,
NamedTuple,
NotRequired,
Optional,
overload,
TYPE_CHECKING,
@@ -151,7 +152,6 @@ from sqlalchemy.sql.expression import (
)
from typing_extensions import (
deprecated,
NotRequired,
Protocol,
TypedDict,
)
@@ -2823,7 +2823,7 @@ class Task(Base, JobLike, RepresentById):
_numeric_metric = TaskMetricNumeric
_text_metric = TaskMetricText
class states(str, Enum):
class states(StrEnum):
NEW = "new"
WAITING = "waiting"
QUEUED = "queued"
@@ -3223,7 +3223,7 @@ class ImplicitCollectionJobs(Base, Serializable):
populated_state: Mapped[str] = mapped_column(TrimmedString(64), default="new")
jobs: Mapped[list["ImplicitCollectionJobsJobAssociation"]] = relationship(back_populates="implicit_collection_jobs")
class populated_states(str, Enum):
class populated_states(StrEnum):
NEW = "new" # New implicit jobs object, unpopulated job associations
OK = "ok" # Job associations are set and fixed.
FAILED = "failed" # There were issues populating job associations, object is in error.
@@ -4157,8 +4157,7 @@ class History(Base, HasTags, UsesAnnotations, HasName, Serializable, UsesCreateA
Outputs of jobs that haven't finished are skipped, they are charged when the job finishes.
"""
user = self.user
if user:
if user := self.user:
added = [hda for hda in hdas if isinstance(hda, HistoryDatasetAssociation) and hda.history is self]
user.adjust_disk_usage_for_datasets(user.sole_dataset_sizes(added))
@@ -4802,7 +4801,7 @@ class Role(Base, Dictifiable, RepresentById):
dict_element_visible_keys = ["id", "name", "description", "type"]
private_id = None
class types(str, Enum):
class types(StrEnum):
PRIVATE = "private"
SYSTEM = "system"
USER = "user"
@@ -4949,7 +4948,7 @@ class DefaultQuotaAssociation(Base, Dictifiable, RepresentById):
dict_element_visible_keys = ["type"]
class types(str, Enum):
class types(StrEnum):
UNREGISTERED = "unregistered"
REGISTERED = "registered"
@@ -5200,7 +5199,7 @@ class Dataset(Base, StorableObject, Serializable):
states.FAILED_METADATA,
)
class conversion_messages(str, Enum):
class conversion_messages(StrEnum):
PENDING = "pending"
NO_DATA = "no data"
NO_CHROMOSOME = "no chromosome"
@@ -5744,8 +5743,7 @@ class HasHashFunctionName:
@property
def hash_func_name(self) -> HashFunctionNameEnum:
as_str = self.hash_function
assert as_str
assert self.hash_function
return HashFunctionNameEnum(self.hash_function)
@@ -5803,12 +5801,6 @@ class DatasetHash(Base, Dictifiable, Serializable, HasHashFunctionName):
new_hash.extra_files_path = self.extra_files_path
return new_hash
@property
def hash_func_name(self) -> HashFunctionNameEnum:
as_str = self.hash_function
assert as_str
return HashFunctionNameEnum(self.hash_function)
DescribesHash = DatasetSourceHash | DatasetHash
@@ -11508,7 +11500,7 @@ class WorkflowRequestInputParameter(Base, Dictifiable, Serializable):
dict_collection_visible_keys = ["id", "name", "value", "type"]
class types(str, Enum):
class types(StrEnum):
REPLACEMENT_PARAMETERS = "replacements"
STEP_PARAMETERS = "step"
META_PARAMETERS = "meta"
@@ -11911,7 +11903,7 @@ class FormDefinition(Base, Dictifiable, RepresentById):
HistoryField,
]
class types(str, Enum):
class types(StrEnum):
USER_INFO = "User Information"
dict_collection_visible_keys = ["id", "name"]
@@ -1,10 +1,10 @@
from collections import defaultdict
from typing import (
Self,
TYPE_CHECKING,
)
from pydantic import ValidationError
from typing_extensions import Self
from galaxy.model import CollectionStateSummary
from galaxy.tool_util_models.parameters import (
@@ -1,4 +1,5 @@
import re
from typing import Self
from pydantic import (
BaseModel,
@@ -7,7 +8,6 @@ from pydantic import (
RootModel,
ValidationError,
)
from typing_extensions import Self
from galaxy.exceptions import RequestParameterInvalidException
from galaxy.tool_util_models.parameter_validators import AnySafeValidatorModel
+1 -2
View File
@@ -3246,8 +3246,7 @@ def source_to_import_store(
else:
source_uri: str = str(source)
delete = False
if source_uri.startswith("file://"):
source_uri = source_uri[len("file://") :]
source_uri = source_uri.removeprefix("file://")
if "://" in source_uri:
user_context = ProvidesFileSourcesUserContext(user_context)
source_uri = stream_url_to_file(
@@ -2,7 +2,7 @@ import logging
import os
from collections.abc import Callable
from datetime import datetime
from enum import Enum
from enum import StrEnum
from typing import (
Any,
)
@@ -127,7 +127,7 @@ class ToolShedRepository(Base):
"description",
]
class installation_status(str, Enum):
class installation_status(StrEnum):
NEW = "New"
CLONING = "Cloning"
SETTING_TOOL_VERSIONS = "Setting tool versions"
@@ -139,7 +139,7 @@ class ToolShedRepository(Base):
ERROR = "Error"
UNINSTALLED = "Uninstalled"
class states(str, Enum):
class states(StrEnum):
INSTALLING = "running"
OK = "ok"
WARNING = "queued"
@@ -701,7 +701,7 @@ class ToolDependency(Base):
UNINSTALLED="Uninstalled",
)
class states(str, Enum):
class states(StrEnum):
INSTALLING = "running"
OK = "ok"
WARNING = "queued"
+2 -2
View File
@@ -1,7 +1,7 @@
import abc
import re
import string
from enum import Enum
from enum import StrEnum
from typing import (
NamedTuple,
)
@@ -9,7 +9,7 @@ from typing import (
from galaxy.util.bunch import Bunch
class ComponentBy(str, Enum):
class ComponentBy(StrEnum):
ID = "id"
XPATH = "xpath"
CSS_SELECTOR = "css selector"
+1 -1
View File
@@ -1,10 +1,10 @@
from typing import (
Any,
Literal,
NotRequired,
)
from typing_extensions import (
NotRequired,
TypedDict,
)
+1 -1
View File
@@ -8,11 +8,11 @@ from typing import (
Any,
ClassVar,
Literal,
NotRequired,
TYPE_CHECKING,
)
from typing_extensions import (
NotRequired,
TypedDict,
)
+4 -4
View File
@@ -1,4 +1,4 @@
from enum import Enum
from enum import StrEnum
from typing import (
Literal,
)
@@ -25,20 +25,20 @@ GROUP_QUOTA_ASSOCIATION = Literal["GroupQuotaAssociation"]
DEFAULT_QUOTA_ASSOCIATION = Literal["DefaultQuotaAssociation"]
class QuotaOperation(str, Enum):
class QuotaOperation(StrEnum):
EXACT = "="
ADD = "+"
SUBTRACT = "-"
class DefaultQuotaTypes(
str, Enum
StrEnum
): # TODO: should this replace lib.galaxy.model.DefaultQuotaAssociation.types at some point?
UNREGISTERED = "unregistered"
REGISTERED = "registered"
class DefaultQuotaValues(str, Enum):
class DefaultQuotaValues(StrEnum):
UNREGISTERED = "unregistered"
REGISTERED = "registered"
NO = "no"
+2 -2
View File
@@ -1,7 +1,7 @@
"""Package-root API request and response schema implementations."""
from datetime import datetime
from enum import Enum
from enum import StrEnum
from typing import Any
from pydantic import (
@@ -100,7 +100,7 @@ class SerializationParams(BaseModel):
)
class PdfDocumentType(str, Enum):
class PdfDocumentType(StrEnum):
invocation_report = "invocation_report"
page = "page"
+3 -3
View File
@@ -2,7 +2,7 @@
Pydantic schemas for AI agent responses and requests.
"""
from enum import Enum
from enum import StrEnum
from typing import (
Any,
)
@@ -14,7 +14,7 @@ from pydantic import (
)
class ConfidenceLevel(str, Enum):
class ConfidenceLevel(StrEnum):
"""Confidence levels for agent responses."""
LOW = "low"
@@ -22,7 +22,7 @@ class ConfidenceLevel(str, Enum):
HIGH = "high"
class ActionType(str, Enum):
class ActionType(StrEnum):
"""Types of actions agents can suggest."""
TOOL_RUN = "tool_run"
+5 -5
View File
@@ -1,5 +1,5 @@
import json
from enum import Enum
from enum import StrEnum
from typing import (
Annotated,
Any,
@@ -36,7 +36,7 @@ class FetchBaseModel(Model):
model_config = ConfigDict(populate_by_name=True)
class ElementsFromType(str, Enum):
class ElementsFromType(StrEnum):
archive = "archive"
bagit = "bagit"
bagit_archive = "bagit_archive"
@@ -50,7 +50,7 @@ class BaseFetchDataTarget(FetchBaseModel):
auto_decompress: bool = AutoDecompressField
class ItemsFromSrc(str, Enum):
class ItemsFromSrc(StrEnum):
url = "url"
files = "files"
path = "path"
@@ -58,7 +58,7 @@ class ItemsFromSrc(str, Enum):
server_dir = "server_dir"
class Src(str, Enum):
class Src(StrEnum):
url = "url"
pasted = "pasted"
files = "files"
@@ -68,7 +68,7 @@ class Src(str, Enum):
server_dir = "server_dir"
class DestinationType(str, Enum):
class DestinationType(StrEnum):
library = "library"
library_folder = "library_folder"
hdcas = "hdcas"
+5 -5
View File
@@ -1,5 +1,5 @@
from datetime import datetime
from enum import Enum
from enum import StrEnum
from typing import (
Annotated,
Any,
@@ -78,11 +78,11 @@ InvocationIdField: EncodedDatabaseIdField = Field(
)
class WarningReason(str, Enum):
class WarningReason(StrEnum):
workflow_output_not_found = "workflow_output_not_found"
class FailureReason(str, Enum):
class FailureReason(StrEnum):
dataset_failed = "dataset_failed"
collection_failed = "collection_failed"
job_failed = "job_failed"
@@ -111,7 +111,7 @@ FAILURE_REASONS_EXPECTED = (
)
class CancelReason(str, Enum):
class CancelReason(StrEnum):
"""Possible reasons for a cancelled workflow."""
history_deleted = "history_deleted"
@@ -730,7 +730,7 @@ class CreateInvocationFromStore(StoreContentSource):
)
class InvocationSerializationView(str, Enum):
class InvocationSerializationView(StrEnum):
element = "element"
collection = "collection"
+4 -4
View File
@@ -1,5 +1,5 @@
import json
from enum import Enum
from enum import StrEnum
from typing import (
Annotated,
Any,
@@ -26,19 +26,19 @@ from galaxy.schema.schema import (
)
class UploadOption(str, Enum):
class UploadOption(StrEnum):
upload_file = "upload_file"
upload_paths = "upload_paths"
upload_directory = "upload_directory"
class CreateType(str, Enum):
class CreateType(StrEnum):
file = "file"
folder = "folder"
collection = "collection"
class LinkDataOnly(str, Enum):
class LinkDataOnly(StrEnum):
copy_files = "copy_files"
link_to_files = "link_to_files"
+4 -4
View File
@@ -1,7 +1,7 @@
import re
import unicodedata
from datetime import datetime
from enum import Enum
from enum import StrEnum
from typing import (
Annotated,
Any,
@@ -35,7 +35,7 @@ from galaxy.schema.types import (
)
class NotificationVariant(str, Enum):
class NotificationVariant(StrEnum):
"""The notification variant communicates the intent or relevance of the notification."""
info = "info"
@@ -49,7 +49,7 @@ class NotificationVariant(str, Enum):
# Then register the content model further down below.
class MandatoryNotificationCategory(str, Enum):
class MandatoryNotificationCategory(StrEnum):
"""These notification categories cannot be opt-out by the user.
The user will always receive notifications from these categories.
@@ -58,7 +58,7 @@ class MandatoryNotificationCategory(str, Enum):
broadcast = "broadcast"
class PersonalNotificationCategory(str, Enum):
class PersonalNotificationCategory(StrEnum):
"""These notification categories can be opt-out by the user and will be
displayed in the notification preferences.
"""
+4 -4
View File
@@ -1,5 +1,5 @@
from datetime import datetime
from enum import Enum
from enum import StrEnum
from typing import (
Annotated,
Any,
@@ -15,19 +15,19 @@ from galaxy.schema.schema import Model
from galaxy.util.hash_util import HashFunctionNames
class RemoteFilesTarget(str, Enum):
class RemoteFilesTarget(StrEnum):
ftpdir = "ftpdir"
userdir = "userdir"
importdir = "importdir"
class RemoteFilesFormat(str, Enum):
class RemoteFilesFormat(StrEnum):
flat = "flat"
jstree = "jstree"
uri = "uri"
class RemoteFilesDisableMode(str, Enum):
class RemoteFilesDisableMode(StrEnum):
folders = "folders"
files = "files"
+26 -27
View File
@@ -5,11 +5,12 @@ from datetime import (
date,
datetime,
)
from enum import Enum
from enum import StrEnum
from typing import (
Annotated,
Any,
Literal,
NotRequired,
Optional,
TypeAlias,
)
@@ -33,7 +34,6 @@ from pydantic import (
)
from pydantic_core import core_schema
from typing_extensions import (
NotRequired,
TypedDict,
)
@@ -582,7 +582,7 @@ class FavoriteObject(Model):
)
class FavoriteObjectType(str, Enum):
class FavoriteObjectType(StrEnum):
tools = "tools"
tags = "tags"
edam_operations = "edam_operations"
@@ -648,7 +648,7 @@ class CustomBuildBaseModel(Model):
name: str = Field(default=..., title="Name", description="The name of the custom build.")
class CustomBuildLenType(str, Enum):
class CustomBuildLenType(StrEnum):
file = "file"
fasta = "fasta"
text = "text"
@@ -707,7 +707,7 @@ class GroupModel(Model, WithModelClass):
)
class JobSourceType(str, Enum):
class JobSourceType(StrEnum):
"""Available types of job sources (model classes) that produce dataset collections."""
Job = "Job"
@@ -715,33 +715,33 @@ class JobSourceType(str, Enum):
WorkflowInvocation = "WorkflowInvocation"
class HistoryContentType(str, Enum):
class HistoryContentType(StrEnum):
"""Available types of History contents."""
dataset = "dataset"
dataset_collection = "dataset_collection"
class HistoryImportArchiveSourceType(str, Enum):
class HistoryImportArchiveSourceType(StrEnum):
"""Available types of History archive sources."""
url = "url"
file = "file"
class DCEType(str, Enum): # TODO: suspiciously similar to HistoryContentType
class DCEType(StrEnum): # TODO: suspiciously similar to HistoryContentType
"""Available types of dataset collection elements."""
hda = "hda"
dataset_collection = "dataset_collection"
class DatasetSourceType(str, Enum):
class DatasetSourceType(StrEnum):
hda = "hda"
ldda = "ldda"
class DataItemSourceType(str, Enum):
class DataItemSourceType(StrEnum):
hda = "hda"
ldda = "ldda"
hdca = "hdca"
@@ -749,14 +749,14 @@ class DataItemSourceType(str, Enum):
dc = "dc"
class CollectionSourceType(str, Enum):
class CollectionSourceType(StrEnum):
hda = "hda"
ldda = "ldda"
hdca = "hdca"
new_collection = "new_collection"
class HistoryContentSource(str, Enum):
class HistoryContentSource(StrEnum):
hda = "hda"
hdca = "hdca"
library = "library"
@@ -1499,7 +1499,7 @@ class UpdateHistoryContentsBatchPayload(Model):
)
class HistoryContentItemOperation(str, Enum):
class HistoryContentItemOperation(StrEnum):
hide = "hide"
unhide = "unhide"
delete = "delete"
@@ -1835,7 +1835,7 @@ class WorkflowIndexPayload(WorkflowIndexQueryPayload):
missing_tools: bool = False
class CuratedWorkflowSourceEnum(str, Enum):
class CuratedWorkflowSourceEnum(StrEnum):
"""Where the curated workflow listing was drawn from."""
iwc = "iwc"
@@ -1974,7 +1974,7 @@ class CuratedWorkflowsIndexResponse(Model):
)
class JobIndexSortByEnum(str, Enum):
class JobIndexSortByEnum(StrEnum):
create_time = "create_time"
update_time = "update_time"
@@ -1998,10 +1998,9 @@ class JobIndexQueryPayload(Model):
offset: int = 0
class InvocationSortByEnum(str, Enum):
class InvocationSortByEnum(StrEnum):
create_time = "create_time"
update_time = "update_time"
none = None
class InvocationIndexQueryPayload(Model):
@@ -2171,7 +2170,7 @@ class CreateNewCollectionPayload(Model):
)
class ModelStoreFormat(str, Enum):
class ModelStoreFormat(StrEnum):
"""Available types of model stores for export."""
TGZ = "tgz"
@@ -2192,7 +2191,7 @@ class ModelStoreFormat(str, Enum):
return value in [cls.BAG_DOT_TAR, cls.BAG_DOT_TGZ, cls.BAG_DOT_ZIP]
class DiscardedDataType(str, Enum):
class DiscardedDataType(StrEnum):
"""Options for handling discarded datasets on import."""
# Don't allow discarded 'okay' datasets on import, datasets will be marked deleted.
@@ -2331,7 +2330,7 @@ class JobExportHistoryArchiveModel(ObjectExportResponseBase):
)
class ExportObjectType(str, Enum):
class ExportObjectType(StrEnum):
"""Types of objects that can be exported."""
HISTORY = "history"
@@ -3415,7 +3414,7 @@ class CheckForUpdatesResponse(Model):
# Libraries -----------------------------------------------------------------
class LibraryPermissionScope(str, Enum):
class LibraryPermissionScope(StrEnum):
current = "current"
available = "available"
@@ -3594,12 +3593,12 @@ class LegacyLibraryPermissionsPayload(RequireOneSetOption):
)
class LibraryPermissionAction(str, Enum):
class LibraryPermissionAction(StrEnum):
set_permissions = "set_permissions"
remove_restrictions = "remove_restrictions" # name inconsistency? should be `make_public`?
class DatasetPermissionAction(str, Enum):
class DatasetPermissionAction(StrEnum):
set_permissions = "set_permissions"
make_private = "make_private"
remove_restrictions = "remove_restrictions"
@@ -3643,7 +3642,7 @@ class LibraryPermissionsPayload(LibraryPermissionsPayloadBase):
# Library Folders -----------------------------------------------------------------
class LibraryFolderPermissionAction(str, Enum):
class LibraryFolderPermissionAction(StrEnum):
set_permissions = "set_permissions"
@@ -4058,7 +4057,7 @@ class HistoryContentsWithStatsResult(Model):
# Sharing -----------------------------------------------------------------
class SharingOptions(str, Enum):
class SharingOptions(StrEnum):
"""Options for sharing resources that may have restricted access to all or part of their contents."""
make_public = "make_public"
@@ -4229,7 +4228,7 @@ class ShareHistoryWithStatus(ShareWithStatus):
# Pages -------------------------------------------------------
class PageContentFormat(str, Enum):
class PageContentFormat(StrEnum):
markdown = "markdown"
html = "html"
@@ -4710,7 +4709,7 @@ class PageRevisionList(RootModel):
root: list[PageRevisionSummary] = Field(default=[])
class LandingRequestState(str, Enum):
class LandingRequestState(StrEnum):
UNCLAIMED = "unclaimed"
CLAIMED = "claimed"
+9 -9
View File
@@ -1,11 +1,11 @@
"""State types shared by Galaxy models and API schemas."""
from collections.abc import ValuesView
from enum import Enum
from enum import StrEnum
from typing import Literal
class DatasetState(str, Enum):
class DatasetState(StrEnum):
NEW = "new"
UPLOAD = "upload"
QUEUED = "queued"
@@ -30,7 +30,7 @@ class DatasetState(str, Enum):
return self.__members__.values()
class JobState(str, Enum):
class JobState(StrEnum):
NEW = "new"
RESUBMITTED = "resubmitted"
UPLOAD = "upload"
@@ -49,7 +49,7 @@ class JobState(str, Enum):
SKIPPED = "skipped"
class DatasetCollectionPopulatedState(str, Enum):
class DatasetCollectionPopulatedState(StrEnum):
NEW = "new" # New dataset collection, unpopulated elements
OK = "ok" # Collection elements populated (HDAs may or may not have errors)
FAILED = "failed" # some problem populating state, won't be populated
@@ -60,25 +60,25 @@ class DatasetCollectionPopulatedState(str, Enum):
DatasetSourceTransformActionTypeLiteral = Literal["to_posix_lines", "spaces_to_tabs", "datatype_groom"]
class DatasetSourceTransformActionType(str, Enum):
class DatasetSourceTransformActionType(StrEnum):
TO_POSIX_LINES = "to_posix_lines"
SPACES_TO_TABLES = "spaces_to_tabs"
DATATYPE_GROOM = "datatype_groom"
class DatasetValidatedState(str, Enum):
class DatasetValidatedState(StrEnum):
UNKNOWN = "unknown"
INVALID = "invalid"
OK = "ok"
class ToolRequestState(str, Enum):
class ToolRequestState(StrEnum):
NEW = "new"
SUBMITTED = "submitted"
FAILED = "failed"
class InvocationState(str, Enum):
class InvocationState(StrEnum):
NEW = "new" # Brand new workflow invocation... maybe this should be same as READY
REQUIRES_MATERIALIZATION = "requires_materialization" # an otherwise NEW or READY workflow that requires inputs to be materialized (undeferred)
READY = "ready" # Workflow ready for another iteration of scheduling.
@@ -89,7 +89,7 @@ class InvocationState(str, Enum):
COMPLETED = "completed" # All jobs have reached terminal states (ok, error, deleted, skipped, paused, stopped)
class InvocationStepState(str, Enum):
class InvocationStepState(StrEnum):
NEW = "new" # Brand new workflow invocation step
READY = "ready" # Workflow invocation step ready for another iteration of scheduling.
SCHEDULED = "scheduled" # Workflow invocation step has been scheduled.
+2 -2
View File
@@ -1,5 +1,5 @@
from datetime import datetime
from enum import Enum
from enum import StrEnum
from typing import (
Literal,
)
@@ -40,7 +40,7 @@ class StoredItem(Model):
update_time: datetime = UpdateTimeField
class StoredItemOrderBy(str, Enum):
class StoredItemOrderBy(StrEnum):
"""Available options for sorting Stored Items results."""
NAME_ASC = "name-asc"
+5 -5
View File
@@ -1,6 +1,6 @@
from dataclasses import dataclass
from datetime import datetime
from enum import Enum
from enum import StrEnum
from typing import (
Any,
)
@@ -32,18 +32,18 @@ class Model(BaseModel):
model_config = ConfigDict(populate_by_name=True, use_enum_values=True, protected_namespaces=())
class StorageOperationMode(str, Enum):
class StorageOperationMode(StrEnum):
move = "move"
class StorageOperationRunState(str, Enum):
class StorageOperationRunState(StrEnum):
pending = "pending"
running = "running"
completed = "completed"
failed = "failed"
class StorageOperationRunItemState(str, Enum):
class StorageOperationRunItemState(StrEnum):
pending = "pending"
running = "running"
succeeded = "succeeded"
@@ -51,7 +51,7 @@ class StorageOperationRunItemState(str, Enum):
skipped = "skipped"
class DatasetStorageOperationFailureReasonCode(str, Enum):
class DatasetStorageOperationFailureReasonCode(StrEnum):
dataset_not_found = "dataset_not_found"
invalid_target_object_store = "invalid_target_object_store"
missing_source_object_store = "missing_source_object_store"
+2 -2
View File
@@ -1,4 +1,4 @@
from enum import Enum
from enum import StrEnum
from typing import (
Literal,
)
@@ -144,7 +144,7 @@ class PurgeHistoryDatasetsTaskRequest(Model):
preserve_owner_update_time: bool = False
class TaskState(str, Enum):
class TaskState(StrEnum):
"""Enum representing the possible states of a task."""
PENDING = "PENDING"
+2 -2
View File
@@ -1,4 +1,4 @@
from enum import Enum
from enum import StrEnum
from pydantic import (
BaseModel,
@@ -8,7 +8,7 @@ from pydantic import (
)
class Requirement(str, Enum):
class Requirement(StrEnum):
"""Available types of job sources (model classes) that produce dataset collections."""
LOGGED_IN = "logged_in"
+2 -2
View File
@@ -1,5 +1,5 @@
import json
from enum import Enum
from enum import StrEnum
from typing import (
Annotated,
Any,
@@ -391,7 +391,7 @@ class StepLabelHint(Model):
)
class InvalidWorkflowExtractionJobReason(str, Enum):
class InvalidWorkflowExtractionJobReason(StrEnum):
"""Reasons a workflow extraction job may be invalid and disabled for extraction."""
TOOL_MISSING_OR_INACCESSIBLE = "tool_missing_or_inaccessible"
+1 -1
View File
@@ -8,6 +8,7 @@ user inputs - so these methods do not need to be escaped.
import logging
from typing import (
Any,
LiteralString,
Protocol,
TYPE_CHECKING,
)
@@ -18,7 +19,6 @@ from sqlalchemy import (
func,
select,
)
from typing_extensions import LiteralString
from galaxy.objectstore import ObjectStore
from galaxy.util.user_input import (
+2 -2
View File
@@ -1,10 +1,10 @@
"""Backend-neutral keyboard vocabulary using standard KeyboardEvent.key values."""
from collections.abc import Sequence
from enum import Enum
from enum import StrEnum
class Key(str, Enum):
class Key(StrEnum):
"""A named key; printable characters can be passed directly to press()."""
# Modifiers
+2 -2
View File
@@ -4,7 +4,7 @@ input description and the CWL description for a job json."""
import json
import logging
import os
from enum import Enum
from enum import StrEnum
from typing import (
Any,
NamedTuple,
@@ -24,7 +24,7 @@ NOT_PRESENT = object()
NO_GALAXY_INPUT = object()
class INPUT_TYPE(str, Enum):
class INPUT_TYPE(StrEnum):
DATA = "data"
INTEGER = "integer"
FLOAT = "float"
+2 -3
View File
@@ -27,13 +27,13 @@ from tempfile import NamedTemporaryFile
from typing import (
Any,
BinaryIO,
NotRequired,
overload,
TYPE_CHECKING,
Union,
)
from typing_extensions import (
NotRequired,
Protocol,
TypedDict,
)
@@ -1396,8 +1396,7 @@ class ToolDataTableManager(Dictifiable):
log.debug(message, exc_info=True)
return [], message
self.to_xml_file(destination, table_elems)
names = list(staging.data_tables)
if names:
if names := list(staging.data_tables):
try:
self.reload_tables(names)
except Exception as exc:
@@ -115,8 +115,7 @@ class CachedExplicitSingularityContainerResolver(CliContainerResolver):
image_id = container_description.identifier
if self.namespace:
prefix = f"docker://quay.io/{self.namespace}/"
if image_id.startswith(prefix):
image_id = image_id[len(prefix) :]
image_id = image_id.removeprefix(prefix)
parsed = identifier_to_cached_target(image_id, "v2")
if parsed and isinstance(parsed, CachedMulledImageSingleTarget):
cached_images = self.cache_directory.list_cached_mulled_images_from_path()
@@ -26,7 +26,7 @@ from dataclasses import (
dataclass,
field,
)
from enum import Enum
from enum import StrEnum
from typing import (
Any,
)
@@ -66,13 +66,13 @@ MAX_VERSION_CANDIDATES = 8
MAX_VERSION_COMBOS = 256
class RecommendationSource(str, Enum):
class RecommendationSource(StrEnum):
QUAY_SINGLE = "quay_single"
QUAY_MULLED_V2 = "quay_mulled_v2"
NONE = "none"
class MatchQuality(str, Enum):
class MatchQuality(StrEnum):
EXACT_VERSION = "exact_version"
NAME_ONLY = "name_only"
NOT_FOUND = "not_found"
Loaded 100 of 202 files, more files were not shown because too many files have changed in this diff. Show more