Skip to content

Commit

Permalink
Merge pull request #2515 from bsipocz/ci_use_nightly_wheels
Browse files Browse the repository at this point in the history
CI: Using nightly wheels for devdeps
  • Loading branch information
bsipocz authored Sep 11, 2022
2 parents fae02b8 + 1a744ad commit c721dab
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand All @@ -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}
Expand Down

0 comments on commit c721dab

Please sign in to comment.