Skip to content

Commit

Permalink
Update Cython version pin to at least 3.0a6
Browse files Browse the repository at this point in the history
  • Loading branch information
jamadden committed Jan 20, 2021
1 parent 9bb7e32 commit f7b2b6d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 1 addition & 3 deletions dev-requirements.txt
Expand Up @@ -20,8 +20,6 @@ zest.releaser[recommended]
# benchmarks use this
pyperf >= 1.6.1

# Python 3.9+ need a version of greenlet that
# is currently unreleased.
git+https://github.com/python-greenlet/greenlet.git#egg=greenlet ; platform_python_implementation == 'CPython' and python_version >= '3.9.0b1'
greenlet >= 1.0

-e .[test,docs]
1 change: 1 addition & 0 deletions docs/changes/1753.misc
@@ -0,0 +1 @@
Adjust Cython version pin to >= 3.0a6.
5 changes: 3 additions & 2 deletions pyproject.toml
Expand Up @@ -20,12 +20,13 @@ requires = [
# but once that was fixed, 3.0a4 led to all of our leak tests
# failing in Python 2 (https://travis-ci.org/github/gevent/gevent/jobs/683782800);
# This was fixed in 3.0a5 (https://github.com/cython/cython/issues/3578)
"Cython >= 3.0a5",
# 3.0a6 fixes an issue cythonizing source on 32-bit platforms
"Cython >= 3.0a6",
# See version requirements in setup.py
"cffi >= 1.12.3 ; platform_python_implementation == 'CPython'",
# Python 3.7 requires at least 0.4.14, which is ABI incompatible with earlier
# releases. Python 3.9 and 3.10 require 0.4.16;
# 0.4.17 is ABI incompatible with earlier releases.
# 0.4.17 is ABI incompatible with earlier releases, but compatible with 1.0
"greenlet >= 0.4.17, < 2.0 ; platform_python_implementation == 'CPython'",
]

Expand Down
4 changes: 2 additions & 2 deletions scripts/releases/make-manylinux
Expand Up @@ -106,7 +106,7 @@ if [ -d /gevent -a -d /opt/python ]; then
mkdir /gevent/wheelhouse
OPATH="$PATH"
which auditwheel
for variant in `ls -d /opt/python/cp{27,37,38,39}*`; do
for variant in `ls -d /opt/python/cp{27,36,37,38,39}*`; do
export PATH="$variant/bin:$OPATH"
echo "Building $variant $(python --version)"

Expand All @@ -115,7 +115,7 @@ if [ -d /gevent -a -d /opt/python ]; then
# The downside is that we must install dependencies manually.
# NOTE: We can't upgrade ``wheel`` because ``auditwheel`` depends on
# it, and auditwheel is installed in one of these environments.
python -mpip install -U "cython >= 3.0a5" cffi 'greenlet >= 1.0a1' setuptools
python -mpip install -U "cython >= 3.0a6" cffi 'greenlet >= 1.0' setuptools
time (python setup.py bdist_wheel)
PATH="$OPATH" auditwheel repair dist/gevent*.whl
cp wheelhouse/gevent*.whl /gevent/wheelhouse
Expand Down

0 comments on commit f7b2b6d

Please sign in to comment.