mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-30 18:13:23 +08:00
Pin galaxy-tool-util-models to current minor version in dependents
galaxy-tool-util-models was listed as an unversioned dependency in
galaxy-schema, galaxy-tool-util, and galaxy-tool-shed-schema. This
caused pip to leave it at a stale version when upgrading an existing
virtualenv, because the already-installed version satisfied the loose
(unconstrained) requirement.
The symptom was ImportError failures at job execution time — e.g.:
ImportError: cannot import name 'AnySafeValidatorModel' from
'galaxy.tool_util_models.parameter_validators'
— where galaxy-util (at the new version) referenced a symbol that
didn't exist in the older galaxy-tool-util-models still present in
the venv.
Fix: add a >=26.0 lower bound in each dependent package so pip is
forced to upgrade galaxy-tool-util-models when installing any of
these packages at 26.0 or later.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -14,7 +14,7 @@ version = 26.0.2.dev0
|
||||
[options]
|
||||
include_package_data = True
|
||||
install_requires =
|
||||
galaxy-tool-util-models
|
||||
galaxy-tool-util-models>=26.0
|
||||
galaxy-util
|
||||
pydantic[email]>=2.7.4
|
||||
packages = find:
|
||||
|
||||
@@ -14,7 +14,7 @@ version = 26.0.2.dev0
|
||||
[options]
|
||||
include_package_data = True
|
||||
install_requires =
|
||||
galaxy-tool-util-models
|
||||
galaxy-tool-util-models>=26.0
|
||||
pydantic>=2.7.4
|
||||
typing-extensions
|
||||
packages = find:
|
||||
|
||||
@@ -14,7 +14,7 @@ version = 26.0.2.dev0
|
||||
[options]
|
||||
include_package_data = True
|
||||
install_requires =
|
||||
galaxy-tool-util-models
|
||||
galaxy-tool-util-models>=26.0
|
||||
galaxy-util[template,image-util]>=22.1
|
||||
conda-package-streaming
|
||||
lxml!=4.2.2
|
||||
|
||||
Reference in New Issue
Block a user