Skip to content

Commit

Permalink
Merge pull request #1667 from pllim/fix-devdeps
Browse files Browse the repository at this point in the history
TST: Fix devdeps
  • Loading branch information
larrybradley committed Jan 18, 2024
2 parents a59a7ab + 4cbde1b commit 521c963
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ requires = [
'setuptools>=61.2',
'setuptools_scm>=6.2',
'cython>=3.0.0,<3.1.0',
'numpy',
'numpy>=1.25',
'extension-helpers==1.*',
]
build-backend = 'setuptools.build_meta'
Expand Down
10 changes: 6 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,13 @@ envlist =
codestyle
pep517
bandit
requires =
setuptools >= 61.2
pip >= 19.3.1
isolated_build = true

[testenv]
# Suppress display of matplotlib plots generated during docs build
setenv =
MPLBACKEND=agg
devdeps: PIP_EXTRA_INDEX_URL = https://pypi.anaconda.org/scientific-python-nightly-wheels/simple https://pypi.anaconda.org/astropy/simple
devdeps: PIP_EXTRA_INDEX_URL = https://pypi.anaconda.org/scientific-python-nightly-wheels/simple https://pypi.anaconda.org/liberfa/simple https://pypi.anaconda.org/astropy/simple

# Pass through the following environment variables which may be needed
# for the CI
Expand Down Expand Up @@ -71,6 +68,7 @@ deps =
devdeps: scikit-image>=0.0.dev0
devdeps: scikit-learn>=0.0.dev0
devdeps: matplotlib>=0.0.dev0
devdeps: pyerfa>=0.0.dev0
devdeps: astropy>=0.0.dev0
devdeps: git+https://github.com/spacetelescope/gwcs.git

Expand All @@ -91,6 +89,10 @@ extras =
alldeps: all
build_docs: docs

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

commands =
# Force numpy-dev after matplotlib downgrades it
# (https://github.com/matplotlib/matplotlib/issues/26847)
Expand Down

0 comments on commit 521c963

Please sign in to comment.