Skip to content

Commit

Permalink
BLD: Use numpy2.0.0rc1 to build the package
Browse files Browse the repository at this point in the history
This will still work with older numpy versions when running
Cartopy built from a wheel with this build requirement.
  • Loading branch information
greglucas committed Apr 4, 2024
1 parent e069ab4 commit 60c3103
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@ requires = [
"wheel",
"setuptools >= 40.6.0",
"Cython >= 0.29.24",
"oldest-supported-numpy",
# numpy requirement for wheel builds for distribution on PyPI - building
# against 2.x yields wheels that are also compatible with numpy 1.x at
# runtime.
# Note that building against numpy 1.x works fine too - users and
# redistributors can do this by installing the numpy version they like and
# disabling build isolation.
"numpy>=2.0.0rc1",
"setuptools_scm >= 7.0.0",
]
build-backend = "setuptools.build_meta"
Expand Down

0 comments on commit 60c3103

Please sign in to comment.