Skip to content

Commit d5b19e2

Browse files
authored
Merge pull request #2366 from greglucas/build-np2.0
BLD: Use numpy2.0.0rc1 to build the package
2 parents 8ae3798 + 60c3103 commit d5b19e2

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

pyproject.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,13 @@ requires = [
33
"wheel",
44
"setuptools >= 40.6.0",
55
"Cython >= 0.29.24",
6-
"oldest-supported-numpy",
6+
# numpy requirement for wheel builds for distribution on PyPI - building
7+
# against 2.x yields wheels that are also compatible with numpy 1.x at
8+
# runtime.
9+
# Note that building against numpy 1.x works fine too - users and
10+
# redistributors can do this by installing the numpy version they like and
11+
# disabling build isolation.
12+
"numpy>=2.0.0rc1",
713
"setuptools_scm >= 7.0.0",
814
]
915
build-backend = "setuptools.build_meta"

0 commit comments

Comments
 (0)