Skip to content

Commit

Permalink
Merge pull request #583 from djhoese/feat-wheel-np2
Browse files Browse the repository at this point in the history
Build wheels against numpy 2
  • Loading branch information
djhoese authored Feb 14, 2024
2 parents 1a36458 + 841fbf7 commit 9e2f6f4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ 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-518"]
requires = ["setuptools", "wheel", "numpy", "Cython>=3", "versioneer"]
build-backend = "setuptools.build_meta"

[tool.ruff]
Expand Down

0 comments on commit 9e2f6f4

Please sign in to comment.