Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TST: Fix devdeps #368

Merged
merged 8 commits into from
Nov 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[build-system]
requires = ["setuptools>=30.3.0",
"setuptools_scm",
"wheel",
"numpy>=1.25,<2"]
"numpy>=1.25"]
build-backend = "setuptools.build_meta"
10 changes: 6 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,10 @@ envlist =
twine
bandit
linkcheck
requires =
setuptools >= 30.3.0
pip >= 19.3.1

[testenv]
setenv =
devdeps: PIP_EXTRA_INDEX_URL = https://pypi.anaconda.org/astropy/simple https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
devdeps: PIP_EXTRA_INDEX_URL = https://pypi.anaconda.org/astropy/simple https://pypi.anaconda.org/liberfa/simple https://pypi.anaconda.org/scientific-python-nightly-wheels/simple

# Pass through the following environemnt variables which are needed for the CI
passenv = HOME,WINDIR,CC,CI
Expand Down Expand Up @@ -47,6 +44,7 @@ deps =
# or nightly wheel of key dependencies.
devdeps: numpy>=0.0.dev0
devdeps: scipy>=0.0.dev0
devdeps: pyerfa>=0.0.dev0
devdeps: astropy>=0.0.dev0
devdeps: git+https://github.com/astropy/specutils.git@main#egg=specutils

Expand All @@ -56,6 +54,10 @@ extras =
test
alldeps: all

install_command =
!devdeps: python -I -m pip install
devdeps: python -I -m pip install -v --pre

commands =
pip freeze
!cov: pytest --pyargs synphot {toxinidir}/docs {posargs}
Expand Down