Skip to content

Commit 0fff9b0

Browse files
use uv to resolve oldestdeps
1 parent d447c6c commit 0fff9b0

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

tox.ini

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
envlist =
33
check-{dependencies,docs-links}
44
py3{,11,12,13,14}{,-oldestdeps,-stdevdeps,-devdeps}{,-cov}{,-xdist}
5+
requires =
6+
tox_uv
57

68
[testenv:check-dependencies]
79
description = verify that install_requires in setup.cfg has correct dependencies
@@ -43,13 +45,14 @@ extras =
4345
test
4446
deps =
4547
xdist: pytest-xdist
46-
oldestdeps: minimum_dependencies
48+
uv_resolution =
49+
oldestdeps: lowest-direct
4750
commands_pre =
4851
oldestdeps: minimum_dependencies jwst --filename {toxinidir}/requirements-min.txt
4952
oldestdeps: pip install -r {toxinidir}/requirements-min.txt
5053
stdevdeps: pip install -r {toxinidir}/requirements-dev-st.txt -U --upgrade-strategy eager
5154
devdeps: pip install -r {toxinidir}/requirements-dev-thirdparty.txt -U --upgrade-strategy eager
52-
pip freeze
55+
{list_dependencies_command}
5356
commands =
5457
pytest {toxinidir}/docs --pyargs jwst \
5558
cov: --cov jwst --cov-config={toxinidir}/pyproject.toml --cov-report xml:{toxinidir}/coverage.xml --cov-report term-missing \

0 commit comments

Comments
 (0)