Skip to content

Commit

Permalink
BLD: build wheels against NumPy 2.0.0
Browse files Browse the repository at this point in the history
* Related to MDAnalysis/mdanalysis#4620.

* See discussion above for details, but in short we should build
our wheels against NumPy `2.0.0` so that we have binaries that
are runtime-compatible with both NumPy 1.x and 2.x series.

* Even if "we" don't do a release soon, I believe this may be
helpful since we could then point the MDAnalysis CI at this
github repo for `pytng` "no binary" build from source with
NumPy 2.x, rather than disabling `pytng` testing over there.
  • Loading branch information
tylerjereddy committed Jun 18, 2024
1 parent dbbf3f8 commit 80442c1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@ requires = [
"versioningit",
"wheel",
# below matches MDA
"numpy==1.22.3; python_version=='3.9' and platform_python_implementation != 'PyPy'",
"numpy==1.22.3; python_version=='3.10' and platform_python_implementation != 'PyPy'",
"numpy==1.23.2; python_version=='3.11' and platform_python_implementation != 'PyPy'",
"numpy==1.26.0; python_version=='3.12' and platform_python_implementation != 'PyPy'",
"numpy<2.0; python_version>='3.13'",
"numpy>=2.0.0",
]
build-backend = "setuptools.build_meta"

Expand Down

0 comments on commit 80442c1

Please sign in to comment.