Skip to content

chore: remove eventlet worker; add h2 and uvloop to test deps#3623

Merged
benoitc merged 1 commit into
masterfrom
chore/drop-eventlet-add-h2-uvloop-test-deps
May 4, 2026
Merged

chore: remove eventlet worker; add h2 and uvloop to test deps#3623
benoitc merged 1 commit into
masterfrom
chore/drop-eventlet-add-h2-uvloop-test-deps

Conversation

@benoitc

@benoitc benoitc commented May 4, 2026

Copy link
Copy Markdown
Owner

The eventlet worker was deprecated for 26.0 and is removed in this PR. Drops the worker file, the registry entry, every current docs reference (historical `docs/content/20XX-news.md` files left untouched), the optional-dependency and testing-extra lines, and the eventlet-only `filterwarnings` ignore that existed solely to silence eventlet's monkey-patch of `select`. Migration target: `gevent`, `gthread`, or one of the ASGI workers.

Also adds `h2>=4.1.0` and `uvloop>=0.19.0` to `requirements_test.txt`. Without them, `pip install -r requirements_test.txt` skipped 87 HTTP/2 tests and 1 uvloop test; with them, the in-process suite skips drop from 67 to 40 and feature parity with `pip install .[testing]` is restored for those deps.

Eventlet was deprecated for 26.0 and is now removed:
- Delete gunicorn/workers/geventlet.py and its registry entry
- Drop eventlet from config help text, HTTP/2 unsupported-worker
  messages, and the dirty client docstring
- Drop the eventlet optional-dependency, the eventlet entry in the
  testing extra, and the eventlet-only filterwarnings ignore
- Drop the EventletWorkerAlpn test class
- Drop the freebsd CI ignore for the (now non-existent) test_geventlet.py
- Drop eventlet from the issue-triage discussion template
- Drop eventlet from README, install/design/http2/settings/news docs;
  rewrite the news.md entry from 'deprecated' to 'removed in this release'

Add h2 and uvloop to requirements_test.txt so a plain
'pip install -r requirements_test.txt' run reaches feature parity with
'pip install .[testing]' for those two deps. The container suite
previously skipped 87 HTTP/2 tests for missing h2 and 1 for uvloop;
the in-process suite skips drop from 67 to 40.
@benoitc benoitc merged commit 99c8d48 into master May 4, 2026
28 checks passed
@benoitc benoitc deleted the chore/drop-eventlet-add-h2-uvloop-test-deps branch May 4, 2026 22:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant