@@ -4,6 +4,8 @@ env_list =
44 test{,-alldeps,-devdeps}{,-pyargs,-warnings,-regtests,-cov,-webbpsf}{-nolegacypath}
55 test-numpy{120,121,122}-xdist
66 build-{docs,dist}
7+ requires =
8+ tox-uv
79
810# tox environments are constructed with so-called 'factors' (or terms)
911# separated by hyphens, e.g. test-devdeps-cov. Lines below starting with factor:
@@ -56,20 +58,26 @@ pass_env =
5658 CODECOV_*
5759 DD_*
5860 WEBBPSF_PATH
61+ set_env =
62+ devdeps: UV_INDEX = https://pypi.anaconda.org/liberfa/simple https://pypi.anaconda.org/astropy/simple https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
63+ devdeps: UV_INDEX_STRATEGY = unsafe-any-match
5964extras =
6065 test
6166 alldeps: all
67+ uv_resolution =
68+ oldestdeps: lowest-direct
6269deps =
6370 xdist: pytest-xdist
6471 ddtrace: ddtrace
65- oldestdeps: minimum_dependencies
72+ stdevdeps,devdeps: -r requirements-dev-st.txt
73+ devdeps: -r requirements-dev-thirdparty.txt
74+ sdpdeps: -r requirements-sdp.txt
75+ oldestdeps: minimum_dependencies>=0.1.0
76+ oldestdeps: setuptools>=69 # for pkg_resources for pysiaf
6677commands_pre =
6778 oldestdeps: minimum_dependencies romancal --filename requirements-min.txt
68- oldestdeps: pip install -r requirements-min.txt
69- stdevdeps: pip install -r requirements-dev-st.txt -U --upgrade-strategy eager
70- devdeps: pip install -I -r requirements-dev-thirdparty.txt -r requirements-dev-st.txt -U --upgrade-strategy eager
71- sdpdeps: pip install -r requirements-sdp.txt
72- pip list
79+ oldestdeps: uv pip install -r requirements-min.txt
80+ {list_dependencies_command}
7381commands =
7482 pytest \
7583 cov: --cov --cov-config pyproject.toml --cov-report term-missing --cov-report xml \
0 commit comments