Skip to content

Commit 18ba515

Browse files
authored
Add NumPy 2 compatibility (#180)
Fixes #42.
1 parent b4fc874 commit 18ba515

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bindings/python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ requires = [
1717
"setuptools>=42",
1818
"scikit-build",
1919
"cmake>=3.21, <5", # Keep in-sync with `CMakeLists.txt`
20-
"numpy>=1.10.0, <2", # Keep in-sync with `setup.py`
20+
"numpy>=1.10.0, <3", # Keep in-sync with `setup.py`
2121
"archspec>=0.2.0", # Keep in-sync with `setup.py`
2222
"toml>=0.10.2", # Keep in-sync with `setup.py` required for the tests
2323
#"pybind11", # Installed in CMakeLists.txt

bindings/python/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
cmake_install_dir='src/svs',
5252
cmake_args = cmake_args,
5353
install_requires = [
54-
"numpy>=1.10.0, <2", # keep in-sync with `pyproject.toml`
54+
"numpy>=1.10.0, <3", # keep in-sync with `pyproject.toml`
5555
"archspec>=0.2.0", # keep in-sync with `pyproject.toml`
5656
"toml>=0.10.2", # keep in-sync with `pyproject.toml` required for the tests
5757
],

0 commit comments

Comments
 (0)