Skip to content

Commit

Permalink
Merge pull request #594 from djhoese/build-np2rc1
Browse files Browse the repository at this point in the history
Build against numpy 2.0rc1
  • Loading branch information
djhoese authored Apr 15, 2024
2 parents c2911aa + e2d0ddc commit 1e00b36
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,6 @@ jobs:
CIBW_ARCHS: "${{ matrix.cibw_archs }}"
CIBW_TEST_COMMAND: "python -c \"import pyresample; assert 'unknown' not in pyresample.__version__, 'incorrect version found'\""
CIBW_TEST_SKIP: "*_arm64 *_universal2:arm64"
# below only for building against unstable numpy
CIBW_BUILD_FRONTEND: "pip; args: --no-build-isolation"
CIBW_BEFORE_BUILD: "pip install --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy cython setuptools versioneer"

- name: Upload wheel(s) as build artifacts
uses: actions/upload-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools", "wheel", "numpy", "Cython>=3", "versioneer"]
requires = ["setuptools", "wheel", "numpy>=2.0.0rc1,<2.3", "Cython>=3", "versioneer"]
build-backend = "setuptools.build_meta"

[tool.ruff]
Expand Down

0 comments on commit 1e00b36

Please sign in to comment.