Skip to content

Commit

Permalink
MAINT: Update required cython version to 0.29.14.
Browse files Browse the repository at this point in the history
This is needed for the latest fixes for Python 3.8.
  • Loading branch information
charris committed Dec 23, 2019
1 parent 42bd6db commit a792831
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 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.13
2) Cython >= 0.29.14

3) pytest__ (optional) 1.15 or later

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
requires = [
"setuptools",
"wheel",
"Cython>=0.29.13", # Note: keep in sync with tools/cythonize.py
"Cython>=0.29.14", # Note: keep in sync with tools/cythonize.py
]


Expand Down
4 changes: 2 additions & 2 deletions tools/cythonize.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ def process_pyx(fromfile, tofile):
# check the version, and invoke through python
from distutils.version import LooseVersion

# Cython 0.29.13 is required for Python 3.8 and there are
# Cython 0.29.14 is required for Python 3.8 and there are
# other fixes in the 0.29 series that are needed even for earlier
# Python versions.
# Note: keep in sync with that in pyproject.toml
required_version = LooseVersion('0.29.13')
required_version = LooseVersion('0.29.14')

if LooseVersion(cython_version) < required_version:
raise RuntimeError('Building {} requires Cython >= {}'.format(
Expand Down

0 comments on commit a792831

Please sign in to comment.