-
Notifications
You must be signed in to change notification settings - Fork 18
pynum 2.0 compatibility seems to be down to a single change? #104
Copy link
Copy link
Open
Description
--- a/py_stringmatching/similarity_measure/cython/cython_levenshtein.pyx
+++ b/py_stringmatching/similarity_measure/cython/cython_levenshtein.pyx
@@ -8,7 +8,7 @@ from numpy import int32
from numpy cimport int32_t
DTYPE = int
-ctypedef cnp.int_t DTYPE_t
+ctypedef cnp.int32_t DTYPE_t
@cython.boundscheck(False)
@cython.wraparound(False)
diff --git a/pyproject.toml b/pyproject.toml
index e3317e9..3980965 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -3,7 +3,7 @@ requires = [
"setuptools>=64",
"wheel",
"Cython>=0.29",
- "numpy>=1.7.0,<2.0"
+ "numpy>=1.7.0"
]
build-backend = "setuptools.build_meta"
@@ -41,7 +41,7 @@ classifiers = [
"Topic :: Software Development :: Libraries",
]
dependencies = [
- "numpy>=1.7.0,<2.0",
+ "numpy>=1.7.0",
]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels