Skip to content

Commit ece8f9a

Browse files
committed
Unpin numpy 2, build against prerelease numpy in CIBW
1 parent 06269cd commit ece8f9a

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/cibuildwheel.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,12 @@ jobs:
9393
name: Build wheels on ${{ matrix.os }} for ${{ matrix.cibw_archs }}
9494
runs-on: ${{ matrix.os }}
9595
env:
96+
CIBW_ENVIRONMENT: PIP_PRE=1
9697
CIBW_BEFORE_BUILD: >-
97-
pip install certifi numpy>=1.25 &&
98+
pip install certifi numpy &&
9899
rm -rf {package}/build
99100
CIBW_BEFORE_BUILD_WINDOWS: >-
100-
pip install certifi delvewheel numpy>=1.25 &&
101+
pip install certifi delvewheel numpy &&
101102
rm -rf {package}/build
102103
CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: >-
103104
delvewheel repair -w {dest_dir} {wheel}

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ def make_release_tree(self, base_dir, files):
333333
"cycler>=0.10",
334334
"fonttools>=4.22.0",
335335
"kiwisolver>=1.3.1",
336-
"numpy>=1.21,<2",
336+
"numpy>=1.21",
337337
"packaging>=20.0",
338338
"pillow>=8",
339339
"pyparsing>=2.3.1",

0 commit comments

Comments
 (0)