Skip to content

Commit

Permalink
MAINT: Update to Cython 0.29.29.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixxm committed May 16, 2022
1 parent c5a9996 commit 73a9e8e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,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.29 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
Original file line number Diff line number Diff line change
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.28,<3.0", # Note: keep in sync with tools/cythonize.py
"Cython>=0.29.29,<3.0", # Note: keep in sync with tools/cythonize.py
]


Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,8 @@ def generate_cython():
raise OSError(msg) from e
else:
# Note: keep in sync with that in pyproject.toml
# Update for Python 3.10
required_version = '0.29.24'
# Update for Python 3.11
required_version = '0.29.29'

if _pep440.parse(cython_version) < _pep440.Version(required_version):
cython_path = Cython.__file__
Expand Down
2 changes: 1 addition & 1 deletion test_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cython>=0.29.28,<3.0
cython>=0.29.29,<3.0
wheel==0.37.0
setuptools==59.2.0
hypothesis==6.24.1
Expand Down

0 comments on commit 73a9e8e

Please sign in to comment.