Skip to content

Commit e9b81ee

Browse files
authored
Backport PR pandas-dev#58126: BLD: Build wheels with numpy 2.0rc1 (pandas-dev#58127)
1 parent 822d285 commit e9b81ee

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

pyproject.toml

+3-6
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,9 @@ requires = [
66
"meson==1.2.1",
77
"wheel",
88
"Cython==3.0.5", # Note: sync with setup.py, environment.yml and asv.conf.json
9-
# Any NumPy version should be fine for compiling. Users are unlikely
10-
# to get a NumPy<1.25 so the result will be compatible with all relevant
11-
# NumPy versions (if not it is presumably compatible with their version).
12-
# Pin <2.0 for releases until tested against an RC. But explicitly allow
13-
# testing the `.dev0` nightlies (which require the extra index).
14-
"numpy>1.22.4,<=2.0.0.dev0",
9+
# Force numpy higher than 2.0rc1, so that built wheels are compatible
10+
# with both numpy 1 and 2
11+
"numpy>=2.0.0rc1",
1512
"versioneer[toml]"
1613
]
1714

0 commit comments

Comments
 (0)