Skip to content

Commit

Permalink
Fix devdeps in weekly job (#262)
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamJamieson authored Aug 22, 2023
1 parent 6906708 commit 87470d3
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci_cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ jobs:
- macos: py39
- macos: py310
- macos: py311
- linux: devdeps
- linux: py311-devdeps
19 changes: 19 additions & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# ASDF upstream packages
git+https://github.com/asdf-format/asdf
git+https://github.com/asdf-format/asdf-transform-schemas
git+https://github.com/asdf-format/asdf-wcs-schemas
git+https://github.com/astropy/asdf-astropy

# Use weekly astropy dev build
--extra-index-url https://pypi.anaconda.org/astropy/simple astropy --pre

# Use Bi-weekly numpy/scipy dev builds
--extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
numpy>=0.0.dev0
scipy>=0.0.dev0

# Roman upstream packages
git+https://github.com/spacetelescope/rad

# Other important upstream packages
git+https://github.com/spacetelescope/gwcs
6 changes: 2 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tox]
env_list =
check-{style,build}
test{,-dev}{,-pyargs,-cov}-xdist
test{,-devdeps}{,-pyargs,-cov}-xdist
test-numpy{120,121,122}-xdist
build-{docs,dist}

Expand Down Expand Up @@ -37,8 +37,6 @@ pass_env =
CI
TOXENV
CODECOV_*
set_env =
devdeps: PIP_EXTRA_INDEX_URL = https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
extras =
test
deps =
Expand All @@ -49,7 +47,7 @@ deps =
commands_pre =
oldestdeps: minimum_dependencies roman_datamodels --filename requirements-min.txt
oldestdeps: pip install -r requirements-min.txt
devdeps: pip install numpy>=0.0.dev0 git+https://github.com/astropy/astropy -U --upgrade-strategy eager
devdeps: pip install -r requirements-dev.txt -U --upgrade-strategy eager
pip freeze
commands =
pytest \
Expand Down

0 comments on commit 87470d3

Please sign in to comment.