Skip to content

Commit

Permalink
Install dev wheels properly (#222)
Browse files Browse the repository at this point in the history
* Install dev wheels properly

* Also install pyerfa-dev for devdeps

---------

Co-authored-by: Zach Burnett <[email protected]>
  • Loading branch information
pllim and zacharyburnett authored Dec 5, 2023
1 parent 4d44cd8 commit 0971248
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 \
Expand Down

0 comments on commit 0971248

Please sign in to comment.