Skip to content

Commit

Permalink
Fix devdeps
Browse files Browse the repository at this point in the history
  • Loading branch information
larrybradley committed Dec 6, 2023
1 parent 30465bb commit d8a645d
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 @@ -53,7 +53,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,9 +7,6 @@ envlist =
codestyle
pep517
bandit
requires =
setuptools >= 61.2
pip >= 19.3.1
isolated_build = true
indexserver =
NRAO = https://casa-pip.nrao.edu/repository/pypi-group/simple
Expand All @@ -18,7 +15,7 @@ indexserver =
# 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 @@ -70,6 +67,7 @@ deps =

devdeps: numpy>=0.0.dev0
devdeps: matplotlib>=0.0.dev0
devdeps: pyerfa>=0.0.dev0
devdeps: astropy>=0.0.dev0

# Latest developer version of infrastructure packages.
Expand All @@ -89,6 +87,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 d8a645d

Please sign in to comment.