summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--INSTALL.rst.txt2
-rw-r--r--numpy/core/tests/test_cython.py4
-rw-r--r--numpy/random/tests/test_extending.py4
3 files changed, 5 insertions, 5 deletions
diff --git a/INSTALL.rst.txt b/INSTALL.rst.txt
index d688d9025..716c5df5b 100644
--- a/INSTALL.rst.txt
+++ b/INSTALL.rst.txt
@@ -20,7 +20,7 @@ Building NumPy requires the following installed software:
e.g., on Debian/Ubuntu one needs to install both `python3` and
`python3-dev`. On Windows and macOS this is normally not an issue.
-2) Cython >= 0.29.28
+2) Cython >= 0.29.30
3) pytest__ (optional) 1.15 or later
diff --git a/numpy/core/tests/test_cython.py b/numpy/core/tests/test_cython.py
index 1b9501d92..a31d9460e 100644
--- a/numpy/core/tests/test_cython.py
+++ b/numpy/core/tests/test_cython.py
@@ -15,11 +15,11 @@ except ImportError:
else:
from numpy.compat import _pep440
- # Cython 0.29.24 is required for Python 3.10 and there are
+ # Cython 0.29.30 is required for Python 3.11 and there are
# other fixes in the 0.29 series that are needed even for earlier
# Python versions.
# Note: keep in sync with the one in pyproject.toml
- required_version = "0.29.24"
+ required_version = "0.29.30"
if _pep440.parse(cython_version) < _pep440.Version(required_version):
# too old or wrong cython, skip the test
cython = None
diff --git a/numpy/random/tests/test_extending.py b/numpy/random/tests/test_extending.py
index 58adb66c7..04b13cb8c 100644
--- a/numpy/random/tests/test_extending.py
+++ b/numpy/random/tests/test_extending.py
@@ -32,11 +32,11 @@ except ImportError:
cython = None
else:
from numpy.compat import _pep440
- # Cython 0.29.24 is required for Python 3.10 and there are
+ # Cython 0.29.30 is required for Python 3.11 and there are
# other fixes in the 0.29 series that are needed even for earlier
# Python versions.
# Note: keep in sync with the one in pyproject.toml
- required_version = '0.29.24'
+ required_version = '0.29.30'
if _pep440.parse(cython_version) < _pep440.Version(required_version):
# too old or wrong cython, skip the test
cython = None