Using nightly wheels for devdeps rather than building from source
@@ -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}
