Skip to content

Commit

Permalink
Merge pull request #2802 from bsipocz/CI_devdeps_pip
Browse files Browse the repository at this point in the history
CI: add extra astropy pip index to pick up new dependency
  • Loading branch information
bsipocz authored Aug 8, 2023
2 parents afddaa8 + 358a4e9 commit cef75bc
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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}
Expand Down

0 comments on commit cef75bc

Please sign in to comment.