Skip to content

Commit

Permalink
Merge pull request #21525 from charris/backport-21514
Browse files Browse the repository at this point in the history
MAINT: Update Cython version to 0.29.30.
  • Loading branch information
charris committed May 18, 2022
2 parents 5305a17 + 14be617 commit 3c13dad
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_test.yml
Expand Up @@ -250,7 +250,7 @@ jobs:
docker run --name the_container --interactive -v /:/host arm32v7/ubuntu:focal /bin/bash -c "
apt update &&
apt install -y git python3 python3-dev python3-pip &&
pip3 install cython==0.29.28 setuptools\<49.2.0 hypothesis==6.23.3 pytest==6.2.5 &&
pip3 install cython==0.29.30 setuptools\<49.2.0 hypothesis==6.23.3 pytest==6.2.5 &&
ln -s /host/lib64 /lib64 &&
ln -s /host/lib/x86_64-linux-gnu /lib/x86_64-linux-gnu &&
ln -s /host/usr/arm-linux-gnueabihf /usr/arm-linux-gnueabihf &&
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Expand Up @@ -4,7 +4,7 @@ requires = [
"packaging==20.5; platform_machine=='arm64'", # macos M1
"setuptools==59.2.0",
"wheel==0.37.0",
"Cython>=0.29.24,<3.0", # Note: keep in sync with tools/cythonize.py
"Cython>=0.29.30,<3.0", # Note: keep in sync with tools/cythonize.py
]


Expand Down
2 changes: 1 addition & 1 deletion test_requirements.txt
@@ -1,4 +1,4 @@
cython==0.29.24
cython==0.29.30
wheel==0.37.0
setuptools==59.2.0
hypothesis==6.24.1
Expand Down
2 changes: 1 addition & 1 deletion tools/cythonize.py
Expand Up @@ -67,7 +67,7 @@ def process_pyx(fromfile, tofile):
# Python versions.
# Note: keep in sync with that in pyproject.toml
# Update for Python 3.10
required_version = LooseVersion('0.29.24')
required_version = LooseVersion('0.29.30')

if LooseVersion(cython_version) < required_version:
cython_path = Cython.__file__
Expand Down

0 comments on commit 3c13dad

Please sign in to comment.