Skip to content

Commit 2e54136

Browse files
authored
Merge pull request #436 from astrofrog/build-numpy-2
Build against Numpy 2.0.0rc1 or later
2 parents c668364 + 1bf2a84 commit 2e54136

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.github/workflows/ci_workflows.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,11 @@ jobs:
4646
- cp*-macosx_arm64
4747
- cp*-win_amd64
4848
49-
# Developer wheels (use Numpy dev to build)
49+
# Developer wheels
5050
upload_to_anaconda: ${{ (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') }}
5151
anaconda_user: astropy
5252
anaconda_package: reproject
5353
anaconda_keep_n_latest: 10
54-
env: |
55-
CIBW_BEFORE_BUILD: '${{ ((github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || github.event_name == 'pull_request') && 'pip install --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple setuptools setuptools_scm numpy>=0.0dev0 extension-helpers cython') || '' }}'
56-
CIBW_BUILD_FRONTEND: '${{ ((github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || github.event_name == 'pull_request') && 'pip; args: --no-build-isolation') || 'build' }}'
5754

5855
secrets:
5956
pypi_token: ${{ secrets.pypi_token }}

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ docs = [
4949
requires = ["setuptools",
5050
"setuptools_scm",
5151
"extension-helpers==1.*",
52-
"numpy>=1.25",
52+
"numpy>=2.0.0rc1",
5353
"cython>=3.0,<3.1"]
5454
build-backend = 'setuptools.build_meta'
5555

0 commit comments

Comments
 (0)