Skip to content

Commit

Permalink
Build using numpy 2.0rc1
Browse files Browse the repository at this point in the history
  • Loading branch information
djhoese committed Apr 12, 2024
1 parent 43b447f commit a2db8b3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/cibuildwheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ jobs:
python -c "import cftime; print(f'cftime v{cftime.__version__}')" &&
python -m pip install -r {package}/requirements-dev.txt &&
python -m pytest -vv {package}/test
# below only for building against unstable numpy
CIBW_BUILD_FRONTEND: "build; args: --no-isolation"
CIBW_BEFORE_BUILD: "pip install --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy cython setuptools versioneer"
- uses: actions/upload-artifact@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[build-system]
requires = ["setuptools>=41.2", "cython>=0.29.20", "wheel", "numpy>=1.26.0b1"]
requires = ["setuptools>=41.2", "cython>=0.29.20", "wheel", "numpy>=2.0.0rc1,<3"]
build-backend = "setuptools.build_meta"

0 comments on commit a2db8b3

Please sign in to comment.