summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2022-05-21 14:20:49 -0600
committerGitHub <noreply@github.com>2022-05-21 14:20:49 -0600
commitdd03f4fcdb07b5bcecb6f46a4e043a1a3e2a3753 (patch)
tree4b74145e0c27c9455c0e289fffdeee7ff4c6a5f2
parentbcdecb33bace9695ed32c8abec8582739159fba2 (diff)
parentea18bb2a838b871153686d0feae4808a65ede777 (diff)
downloadnumpy-dd03f4fcdb07b5bcecb6f46a4e043a1a3e2a3753.tar.gz
Merge pull request #21545 from EwoutH/cython-0.29.30
Tests/Docs: Update tests to Cython 0.29.30, mention in docs
-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