Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAINT: Update Cython version to 0.29.30. #21525

Merged
merged 1 commit into from May 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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