Skip to content

Commit c721dab

Browse files
authored
Merge pull request #2515 from bsipocz/ci_use_nightly_wheels
CI: Using nightly wheels for devdeps
2 parents fae02b8 + 1a744ad commit c721dab

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

tox.ini

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,6 @@ isolated_build = true
1111

1212
[testenv]
1313

14-
# The following option combined with the use of the tox-pypi-filter above allows
15-
# project-wide pinning of dependencies, e.g. if new versions of pytest do not
16-
# work correctly with pytest-astropy plugins. Most of the time the pinnings file
17-
# should be empty.
18-
pypi_filter = https://raw.githubusercontent.com/astropy/ci-helpers/main/pip_pinnings.txt
19-
2014
# Pass through the following environment variables which are needed for the CI
2115
passenv = HOME WINDIR CI
2216

@@ -31,10 +25,9 @@ setenv =
3125
online: PYTEST_ARGS = --remote-data=any --reruns=1 --reruns-delay 10
3226

3327
deps =
34-
devdeps: git+https://github.com/astropy/astropy.git#egg=astropy
28+
# Installation of nightly wheels happen below in the `commands` section for devdeps
3529
devdeps: git+https://github.com/astropy/pyvo.git#egg=pyvo
3630

37-
# TODO: Add more versions to oldestdeps.
3831
# mpl while not a dependency, it's required for the tests, and would pull up a newer numpy version if not pinned.
3932

4033
oldestdeps: astropy==4.0
@@ -50,6 +43,9 @@ extras =
5043

5144

5245
commands =
46+
devdeps: pip install -U --pre --only-binary :all: -i https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy
47+
devdeps: pip install -U --pre -i https://pypi.anaconda.org/astropy/simple astropy
48+
5349
pip freeze
5450
# FIXME: there are too many failures in the docs example gallery, ignore it for now
5551
!cov: pytest --pyargs astroquery {toxinidir}/docs --ignore={toxinidir}/docs/gallery* {env:PYTEST_ARGS} {posargs}

0 commit comments

Comments
 (0)