Skip to content

Commit

Permalink
Use greenlet 2.0 final.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamadden committed Oct 31, 2022
1 parent 856a072 commit d56d130
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/ci.yml
Expand Up @@ -206,7 +206,7 @@ jobs:
pip install -q -U 'faulthandler; python_version == "2.7" and platform_python_implementation == "CPython"'
pip install -q -U 'cffi;platform_python_implementation=="CPython"'
pip install -q -U 'cython>=3.0a9'
pip install 'greenlet>=2.0rc5 ;platform_python_implementation=="CPython"'
pip install 'greenlet>=2.0.0 ;platform_python_implementation=="CPython"'
- name: Build gevent
run: |
Expand Down Expand Up @@ -401,7 +401,7 @@ jobs:
pip install -q -U 'faulthandler; python_version == "2.7" and platform_python_implementation == "CPython"'
pip install -q -U 'cffi;platform_python_implementation=="CPython"'
pip install -q -U 'cython>=3.0a5'
pip install 'greenlet>=2.0rc5; platform_python_implementation=="CPython"'
pip install 'greenlet>=2.0.0; platform_python_implementation=="CPython"'
- name: build libs and gevent
env:
Expand Down Expand Up @@ -442,7 +442,14 @@ jobs:
linux_wheels:
runs-on: ubuntu-latest
needs: test
# If we have 'needs: test', then these wait to start running until
# all the test matrix passes. That's good, because these take a
# long time, and they take a long time to kill if something goes
# wrong. OTOH, if one of the tests fail, and this is a release tag,
# we have to notice that and try restarting things so that the
# wheels get built and uploaded. For that reason, it's simplest to
# remove this for release branches.
#needs: test
strategy:
matrix:
config:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Expand Up @@ -26,7 +26,7 @@ requires = [
# 1.1.3 is needed for CPython 3.11.
# 2.0 is not ABI compatible with earlier releases, but with luck it won't
# have to break the ABI again.
"greenlet >= 2.0.0rc5 ; platform_python_implementation == 'CPython'",
"greenlet >= 2.0.0 ; platform_python_implementation == 'CPython'",
]

[tool.towncrier]
Expand Down
2 changes: 1 addition & 1 deletion scripts/releases/make-manylinux
Expand Up @@ -125,7 +125,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.0a6" cffi 'greenlet >= 2.0rc5' setuptools
python -mpip install -U "cython >= 3.0a6" cffi 'greenlet >= 2.0.0' setuptools
time (python setup.py bdist_wheel)
PATH="$OPATH" auditwheel repair dist/gevent*.whl
cp wheelhouse/gevent*.whl /gevent/wheelhouse
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -215,7 +215,7 @@
# 1.1.3 is needed for 3.11, and supports everything 1.1.0 did.
# 2.0.0 supports everything 1.1.3 did, but breaks the ABI in a way that hopefully
# won't break again.
'greenlet >= 2.0.0rc5 ; platform_python_implementation=="CPython"',
'greenlet >= 2.0.0 ; platform_python_implementation=="CPython"',
]

# Note that we don't add cffi to install_requires, it's
Expand Down

0 comments on commit d56d130

Please sign in to comment.