From 0971248b47db229c481d7bb3f2a0591ab6b923fd Mon Sep 17 00:00:00 2001 From: "P. L. Lim" <2090236+pllim@users.noreply.github.com> Date: Tue, 5 Dec 2023 14:12:35 -0500 Subject: [PATCH] Install dev wheels properly (#222) * Install dev wheels properly * Also install pyerfa-dev for devdeps --------- Co-authored-by: Zach Burnett --- tox.ini | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 255892a6..91fc6868 100644 --- a/tox.ini +++ b/tox.ini @@ -50,12 +50,16 @@ deps = jwst: jwst[test] @ git+https://github.com/spacetelescope/jwst.git romancal: romancal[test] @ git+https://github.com/spacetelescope/romancal.git oldestdeps: minimum_dependencies + devdeps: numpy>=0.0.dev0 + devdeps: scipy>=0.0.dev0 + devdeps: pyerfa>=0.0.dev0 + devdeps: astropy>=0.0.dev0 use_develop = true pass_env = CI WEBBPSF_PATH set_env = - devdeps: PIP_EXTRA_INDEX_URL = https://pypi.anaconda.org/scientific-python-nightly-wheels/simple + devdeps: PIP_EXTRA_INDEX_URL = https://pypi.anaconda.org/astropy/simple https://pypi.anaconda.org/liberfa/simple https://pypi.anaconda.org/scientific-python-nightly-wheels/simple jwst: CRDS_SERVER_URL=https://jwst-crds.stsci.edu romancal: CRDS_SERVER_URL=https://roman-crds.stsci.edu jwst,romancal: CRDS_PATH={package_root}/crds_cache @@ -64,7 +68,6 @@ set_env = commands_pre = oldestdeps: minimum_dependencies stcal --filename requirements-min.txt oldestdeps: pip install -r requirements-min.txt - devdeps: pip install numpy>=0.0.dev0 scipy>=0.0.dev0 git+https://github.com/astropy/astropy -U --upgrade-strategy eager pip freeze commands = pytest \