From 929478d8152574699e57e5498a2e4c079583a1e4 Mon Sep 17 00:00:00 2001 From: Zach Burnett Date: Fri, 7 Jul 2023 07:37:15 -0400 Subject: [PATCH] test against pre-built binaries of `numpy` (#454) Co-authored-by: Nadia Dencheva --- requirements-dev.txt | 1 + tox.ini | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 59339575..ec699788 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -5,3 +5,4 @@ git+https://github.com/asdf-format/asdf-coordinates-schemas git+https://github.com/asdf-format/asdf-wcs-schemas git+https://github.com/astropy/astropy git+https://github.com/astropy/asdf-astropy +numpy>=0.0.dev0 diff --git a/tox.ini b/tox.ini index 95ed7461..fd1784e3 100644 --- a/tox.ini +++ b/tox.ini @@ -57,6 +57,8 @@ passenv = CI CODECOV_* DISPLAY +set_env = + dev: PIP_EXTRA_INDEX_URL = https://pypi.anaconda.org/scientific-python-nightly-wheels/simple args_are_paths = false change_dir = pyargs: {homedir} extras = @@ -64,7 +66,6 @@ extras = alldeps: all deps = xdist: pytest-xdist - dev: -rrequirements-dev.txt cov: pytest-cov jwst: jwst[test] @ git+https://github.com/spacetelescope/jwst.git romancal: romancal[test] @ git+https://github.com/spacetelescope/romancal.git @@ -74,6 +75,7 @@ deps = pass_env = jwst,romancal: CRDS_* commands_pre = + dev: pip install -r requirements-dev.txt -U --upgrade-strategy eager pip freeze commands = pytest \