Commit f7b2b6dc authored by Jason Madden's avatar Jason Madden

Update Cython version pin to at least 3.0a6

parent 9bb7e321
......@@ -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]
Adjust Cython version pin to >= 3.0a6.
......@@ -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'",
]
......
......@@ -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)"
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment