Files
galaxy/packages/tool_util/setup.cfg
T
John Davis ad3ea80e74 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>
2026-06-10 13:30:34 -04:00

52 lines
1014 B
INI

[metadata]
author = Galaxy Project and Community
author_email = galaxy-committers@lists.galaxyproject.org
description = Galaxy tool and tool dependency utilities
license = MIT
license_files =
LICENSE
long_description = file: README.rst, HISTORY.rst
long_description_content_type = text/x-rst
name = galaxy-tool-util
url = https://github.com/galaxyproject/galaxy
version = 26.0.2.dev0
[options]
include_package_data = True
install_requires =
galaxy-tool-util-models>=26.0
galaxy-util[template,image-util]>=22.1
conda-package-streaming
lxml!=4.2.2
MarkupSafe
packaging
pydantic>=2.7.4
PyYAML
requests
sortedcontainers
typing-extensions
packages = find:
python_requires = >=3.8
[options.extras_require]
cwl =
cwl-utils
cwltool>=3.1.20230624081518
mulled =
jinja2
Whoosh
edam =
edam-ontology
extended-assertions =
numpy
pysam
pillow
tifffile
test =
Beaker
pytest
pytest-mock
[options.packages.find]
exclude =
tests*