summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2021-08-11 07:24:17 +0300
committerGitHub <noreply@github.com>2021-08-11 07:24:17 +0300
commitf2912a114cc89539818469935610ed00746a1eba (patch)
tree3ec92ea7b9e03a9fede95d49125b803eb3bcfa08
parent38d843e6b526fc5e8a936b77dc8d33750f5735d8 (diff)
parentb2e3cd6835ae9ff80dc3064d7ad3c2221d4d2d5d (diff)
downloadnumpy-f2912a114cc89539818469935610ed00746a1eba.tar.gz
Merge pull request #19639 from charris/update-required-cython-version
MAINT: Update Cython version for Python 3.10.
-rw-r--r--pyproject.toml2
-rwxr-xr-xtools/cythonize.py3
2 files changed, 3 insertions, 2 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 14f275e97..941c8fa8c 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -4,7 +4,7 @@ requires = [
"packaging==20.5; platform_machine=='arm64'", # macos M1
"setuptools<49.2.0",
"wheel==0.36.2",
- "Cython>=0.29.21,<3.0", # Note: keep in sync with tools/cythonize.py
+ "Cython>=0.29.24,<3.0", # Note: keep in sync with tools/cythonize.py
]
diff --git a/tools/cythonize.py b/tools/cythonize.py
index 06cf54c9a..8370574a1 100755
--- a/tools/cythonize.py
+++ b/tools/cythonize.py
@@ -72,7 +72,8 @@ def process_pyx(fromfile, tofile):
# 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.21')
+ # Update for Python 3.10
+ required_version = LooseVersion('0.29.24')
if LooseVersion(cython_version) < required_version:
cython_path = Cython.__file__