Skip to content

Commit 6d5a94e

Browse files
committed
BLD: build with numpy instead of oldest-supported-numpy
1 parent 20012fc commit 6d5a94e

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
[build-system]
2-
requires = ["setuptools", "wheel", "oldest-supported-numpy"]
2+
requires = [
3+
"setuptools",
4+
"wheel",
5+
"numpy>=2.0.0rc1",
6+
]
37
build-backend = "setuptools.build_meta"

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
numpy >= 1.13.3
1+
numpy >= 1.19.3

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
inc_dirs = [np.get_include()]
3434
libs = [] # Pre-built libraries ONLY, like python36.so
3535
clibs = []
36-
def_macros = []
36+
def_macros = [('NPY_TARGET_VERSION', 'NPY_1_19_API_VERSION')]
3737
sources = ['numexpr/interpreter.cpp',
3838
'numexpr/module.cpp',
3939
'numexpr/numexpr_object.cpp']

0 commit comments

Comments
 (0)