Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@ dev = [
"PyYAML",
"pure-sasl",
"twisted[tls]",
"gevent",
# gevent free-threading support is still unsettled upstream; keep the
# version below 26.4.0 until gevent/gevent#2087 and gevent/gevent#2127
# are resolved for CPython 3.14t CI jobs.
"gevent<26.4.0",
"eventlet>=0.33.3",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see how this could possibly be a correct solution.
gevent does not currently support free threading. The new version just makes that explicit.
The older version that you pinned to also doesn't support free threading. What will happen if we use it anyway? No idea. Flakiness / crashes? GIL forced enabled, making our free-threaded pipelines useless for testing no-GIL mode? No idea, but no option here is good.

The correct solution is to not have gevent as a dependency when running in free-threaded mode.

"cython>=3.2",
"packaging>=25.0",
Expand Down
Loading