Skip to content

Commit cef75bc

Browse files
authored
Merge pull request #2802 from bsipocz/CI_devdeps_pip
CI: add extra astropy pip index to pick up new dependency
2 parents afddaa8 + 358a4e9 commit cef75bc

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tox.ini

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,11 @@ description = run tests
2323
setenv =
2424
PYTEST_ARGS = ''
2525
online: PYTEST_ARGS = --remote-data=any --reruns=1 --reruns-delay 10
26+
devdeps: PIP_EXTRA_INDEX_URL = https://pypi.anaconda.org/scientific-python-nightly-wheels/simple https://pypi.anaconda.org/astropy/simple
2627

2728
deps =
28-
# Installation of nightly wheels happen below in the `commands` section for devdeps
29+
devdeps: numpy>=0.0.dev0
30+
devdeps: astropy>=0.0.dev0
2931
devdeps: git+https://github.com/astropy/pyvo.git#egg=pyvo
3032

3133
# mpl while not a dependency, it's required for the tests, and would pull up a newer numpy version if not pinned.
@@ -48,9 +50,6 @@ extras =
4850

4951

5052
commands =
51-
devdeps: python -m pip install -U --pre --only-binary :all: -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy
52-
devdeps: python -m pip install -U --pre -i https://pypi.anaconda.org/astropy/simple astropy
53-
5453
python -m pip freeze
5554
!cov: pytest --pyargs astroquery {toxinidir}/docs {env:PYTEST_ARGS} {posargs}
5655
cov: pytest --pyargs astroquery {toxinidir}/docs --cov astroquery --cov-config={toxinidir}/setup.cfg {env:PYTEST_ARGS} {posargs}

0 commit comments

Comments
 (0)