Skip to content

Commit ffbf618

Browse files
committed
Update the Build System to Use Numpy 2
Only the build process needs to update. See: https://numpy.org/devdocs/dev/depending_on_numpy.html#numpy-2-abi-handling
1 parent 6f93bc7 commit ffbf618

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[build-system]
2-
requires = ["setuptools >= 40.6.0", "wheel", "numpy", "cython", "versioneer-518"]
2+
requires = ["setuptools >= 40.6.0", "wheel", "numpy >= 2.0", "cython", "versioneer-518"]
33
build-backend = "setuptools.build_meta"

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
pytest
2-
numpy>=1.26.0
2+
numpy
33
opencv-python-headless
44
wheel
55
cython

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ packages = find:
3030
include_package_data = True
3131
setup_requires =
3232
cython
33-
numpy >= 1.26.0
33+
numpy
3434

3535
[options.packages.find]
3636
exclude = tests

0 commit comments

Comments
 (0)