From 358a4e92b3daebcb26114e54a22ca70d095fafae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Brigitta=20Sip=C5=91cz?= Date: Tue, 8 Aug 2023 10:25:50 -0700 Subject: [PATCH] CI: add extra astropy pip index to pick up new dependency --- tox.ini | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tox.ini b/tox.ini index 2a7380bfb1..cfd2ce64de 100644 --- a/tox.ini +++ b/tox.ini @@ -23,9 +23,11 @@ description = run tests setenv = PYTEST_ARGS = '' online: PYTEST_ARGS = --remote-data=any --reruns=1 --reruns-delay 10 + devdeps: PIP_EXTRA_INDEX_URL = https://pypi.anaconda.org/scientific-python-nightly-wheels/simple https://pypi.anaconda.org/astropy/simple deps = - # Installation of nightly wheels happen below in the `commands` section for devdeps + devdeps: numpy>=0.0.dev0 + devdeps: astropy>=0.0.dev0 devdeps: git+https://github.com/astropy/pyvo.git#egg=pyvo # 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 = commands = - devdeps: python -m pip install -U --pre --only-binary :all: -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy - devdeps: python -m pip install -U --pre -i https://pypi.anaconda.org/astropy/simple astropy - python -m pip freeze !cov: pytest --pyargs astroquery {toxinidir}/docs {env:PYTEST_ARGS} {posargs} cov: pytest --pyargs astroquery {toxinidir}/docs --cov astroquery --cov-config={toxinidir}/setup.cfg {env:PYTEST_ARGS} {posargs}