Skip to content

Commit

Permalink
Merge pull request #21545 from EwoutH/cython-0.29.30
Browse files Browse the repository at this point in the history
Tests/Docs: Update tests to Cython 0.29.30, mention in docs
  • Loading branch information
charris committed May 21, 2022
2 parents bcdecb3 + ea18bb2 commit dd03f4f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion INSTALL.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions numpy/core/tests/test_cython.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
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
Expand Down
4 changes: 2 additions & 2 deletions numpy/random/tests/test_extending.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@
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
Expand Down

0 comments on commit dd03f4f

Please sign in to comment.