diff --git a/lib/galaxy/dependencies/__init__.py b/lib/galaxy/dependencies/__init__.py index 1664d07e6f0..0bb785aa136 100644 --- a/lib/galaxy/dependencies/__init__.py +++ b/lib/galaxy/dependencies/__init__.py @@ -298,7 +298,7 @@ class ConditionalDependencies: return self.pkce_support def check_rucio_clients(self): - return sys.version_info >= (3, 9) + return "rucio" in self.object_stores and sys.version_info >= (3, 9) def optional(config_file=None): diff --git a/lib/galaxy/dependencies/conditional-requirements.txt b/lib/galaxy/dependencies/conditional-requirements.txt index e1fa726ff27..2c9efa7eab4 100644 --- a/lib/galaxy/dependencies/conditional-requirements.txt +++ b/lib/galaxy/dependencies/conditional-requirements.txt @@ -61,5 +61,5 @@ weasyprint # AWS Batch runner boto3 -#For Rucio storage plugin -rucio-clients==33.6.0 \ No newline at end of file +# For Rucio storage plugin +rucio-clients>=33.6.0 diff --git a/pyproject.toml b/pyproject.toml index 2fdd4b31429..0ebb92ddf93 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -153,6 +153,7 @@ pytest-playwright = "*" pytest-postgresql = "!=3.0.0" # https://github.com/ClearcodeHQ/pytest-postgresql/issues/426 pytest-shard = "*" responses = "*" +rucio-clients = {version = ">=33.6.0", python = ">=3.9"} # https://github.com/galaxyproject/galaxy/pull/17156 selenium = "*" urllib3 = "<2" # Necessary for poetry for resolve deps for Python 3.8+ seletools = "*"