diff options
-rw-r--r-- | pyproject.toml | 2 | ||||
-rwxr-xr-x | tools/cythonize.py | 3 |
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__ |