From 1a744ad0fc8199dc9bb1e07320ff347caf36a10f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Brigitta=20Sip=C5=91cz?= Date: Sat, 10 Sep 2022 16:37:39 -0700 Subject: [PATCH] Using nightly wheels for devdeps rather than building from source --- tox.ini | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/tox.ini b/tox.ini index a4f2fd5321..3629e0ebbb 100644 --- a/tox.ini +++ b/tox.ini @@ -11,12 +11,6 @@ isolated_build = true [testenv] -# The following option combined with the use of the tox-pypi-filter above allows -# project-wide pinning of dependencies, e.g. if new versions of pytest do not -# work correctly with pytest-astropy plugins. Most of the time the pinnings file -# should be empty. -pypi_filter = https://raw.githubusercontent.com/astropy/ci-helpers/main/pip_pinnings.txt - # Pass through the following environment variables which are needed for the CI passenv = HOME WINDIR CI @@ -31,10 +25,9 @@ setenv = online: PYTEST_ARGS = --remote-data=any --reruns=1 --reruns-delay 10 deps = - devdeps: git+https://github.com/astropy/astropy.git#egg=astropy + # Installation of nightly wheels happen below in the `commands` section for devdeps devdeps: git+https://github.com/astropy/pyvo.git#egg=pyvo -# TODO: Add more versions to oldestdeps. # mpl while not a dependency, it's required for the tests, and would pull up a newer numpy version if not pinned. oldestdeps: astropy==4.0 @@ -50,6 +43,9 @@ extras = commands = + devdeps: pip install -U --pre --only-binary :all: -i https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy + devdeps: pip install -U --pre -i https://pypi.anaconda.org/astropy/simple astropy + pip freeze # FIXME: there are too many failures in the docs example gallery, ignore it for now !cov: pytest --pyargs astroquery {toxinidir}/docs --ignore={toxinidir}/docs/gallery* {env:PYTEST_ARGS} {posargs}