Skip to content

Commit

Permalink
Revert "Update galaxy-tool-util requirement from <23,>=22.1.2 to >=22…
Browse files Browse the repository at this point in the history
….1.2,<24"

This reverts commit 9144a78.
  • Loading branch information
mr-c committed Oct 20, 2023
1 parent ec9c898 commit 56913e7
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion cwltool/software_requirements.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def get_container_from_software_requirements(
[DOCKER_CONTAINER_TYPE], tool_info
)
if container_description:
return container_description.identifier
return cast(Optional[str], container_description.identifier)

return None

Expand Down
2 changes: 0 additions & 2 deletions mypy-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,3 @@ types-requests
types-setuptools
types-psutil
types-mock
galaxy-tool-util>=22.1.2,<24
galaxy-util<24
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ requires = [
"importlib_resources>=1.4", # equivalent to Python 3.9
"ruamel.yaml>=0.16.0,<0.18",
"schema-salad>=8.4.20230426093816,<9",
"packaging<22",
"cwl-utils>=0.19",
"galaxy-tool-util >= 22.1.2, < 24",
"toml",
"argcomplete>=1.12.0",
]
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
"cwl-utils >= 0.22",
],
extras_require={
"deps": ["galaxy-tool-util >= 22.1.2, <24", "galaxy-util <24"],
"deps": ["galaxy-tool-util >= 22.1.2, <23", "galaxy-util <23"],
},
python_requires=">=3.8, <4",
use_scm_version=True,
Expand Down
4 changes: 2 additions & 2 deletions test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ pytest-mock>=1.10.0
pytest-cov
arcp>=0.2.0
-rrequirements.txt
galaxy-tool-util>=22.1.2,<24
galaxy-util<24
galaxy-tool-util>=22.1.2,<23
galaxy-util<23
2 changes: 1 addition & 1 deletion tests/test_dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

deps: Optional[ModuleType] = None
try:
from galaxy.tool_util import deps
from galaxy.tool_util import deps # type: ignore[no-redef]
except ImportError:
pass

Expand Down

0 comments on commit 56913e7

Please sign in to comment.