gevent breaking changes
gevent 26.4.0 (April 8, 2026) is its newest release with breaking changes, 4 of them. The first: gevent 26.4.0 drops support for Python 3.9. Every breaking API change we have recorded in gevent on PyPI: 34 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 26.9.0, released September 16, 2026. Source repository
Its 26.4.0 release drops Python 3.9. Python end of life dates.
- From 25.4.1 to 26.4.0: 4 breaking changes in 1 version.
- From 22.8.0 to 26.4.0: 28 breaking changes in 4 versions.
gevent 26.4.0 breaking changes
- Removed
Python 3.9 is no longer supported. Users on Python 3.9 must upgrade their interpreter to keep using this release. github.com - Signature changed
gevent.testing.six.exec_
Was def exec_(code, globs=None, locs=None); now exec_. pypi.org - Signature changed
gevent.testing.TestCase.assertStartsWith
Was def assertStartsWith(self, it, has_prefix); now def assertStartsWith(self, s, prefix, msg=None). pypi.org - Signature changed
gevent.testing.testcase.TestCase.assertStartsWith
Was def assertStartsWith(self, it, has_prefix); now def assertStartsWith(self, s, prefix, msg=None). pypi.org
gevent 25.4.1 breaking changes
- Behavior changed
patch_all
Monkey-patching the queue module, which patch_all does by default, now also patches Queue, PriorityQueue and LifoQueue, so code relying on the previous unpatched behavior may change. github.com - Signature changed
gevent.tests.known_failures.Definitions
Was class Definitions(DefinitionsBase); now class Definitions. pypi.org - Signature changed
gevent.tests.test__greenlet.Queue
The Queue class was renamed to SimpleQueue. Code that imports or uses Queue for the old simple queue must switch to SimpleQueue. pypi.org - Signature changed
gevent.tests.test__greenlet.Queue.__init__
Was def __init__(self, maxsize=None, items=(), _warn_depth=2); now def __init__(self, maxsize=None, items=(), unfinished_tasks=None). pypi.org - Signature changed
gevent.tests.test__queue.TestChannel
Was class TestChannel(TestCase); now class TestChannel(UsesOnlyOneItemMixin, TestCase). pypi.org - Signature changed
gevent.tests.test__queue.TestJoinableQueue
Was class TestJoinableQueue(TestCase); now class TestJoinableQueue(TestQueue). pypi.org - Signature changed
gevent.tests.test__queue.TestQueue
Was class TestQueue(TestCase); now class TestQueue(UsesOnlyOneItemMixin, TestCase). pypi.org
gevent 24.2.1 breaking changes
- Removed
Very old versions of CFFI are no longer supported. Upgrade CFFI if you are using an old release. github.com - Behavior changed
gevent.threading._DummyThread
On Python 3.11.8, 3.12.2 and later patch releases, the __class__ of a gevent.threading._DummyThread object can no longer be changed. Code that relies on this must change. github.com - Signature changed
gevent.testing.testrunner.Runner.__init__
Was def __init__(self, tests, configured_failing_tests=(), failfast=False, quiet=False, configured_run_alone_tests=(), worker_count=DEFAULT_NWORKERS, second_chance=False); now def __init__(self, tests, *, allowed_return_codes=()... pypi.org
gevent 23.7.0 breaking changes
- Removed
Support for obsolete Python versions prior to 3.8 has been removed. Users on those versions must upgrade Python before using this release. github.com - Removed
pkg_resources
Plugin entry points are now found with importlib.metadata instead of pkg_resources. Code relying on pkg_resources for gevent plugins must adapt. github.com - Removed
setup_requires
The setup_requires keyword is no longer included in setup.py. Installation with a pyproject.toml-aware tool is recommended. github.com - Behavior changed
gevent.threadpool.FileObjectThread.readinto
readinto on FileObjectThread is now cooperative, which changes how it behaves under gevent scheduling. github.com - Behavior changed
sys.unraisablehook
When a callback raises and handling it in the hub also raises, the error is passed to sys.unraisablehook rather than only printed. Code relying on the printed output may see different behavior. github.com - Signature changed
gevent.get_hub
Was def get_hub(*args, **kwargs); now def get_hub(). pypi.org - Signature changed
gevent.getswitchinterval
Was def getswitchinterval(); now getswitchinterval. pypi.org - Signature changed
gevent.setswitchinterval
Was def setswitchinterval(interval); now setswitchinterval. pypi.org - Signature changed
gevent.socket.create_connection
Was def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, source_address=None, **kwargs); now def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, source_address=None, *, all_errors=False). pypi.org - Signature changed
gevent.testing.testcase.get_clock_info
Was def get_clock_info(_); now get_clock_info. pypi.org
And 4 more in this version. Sign up to see every change
gevent 22.8.0 breaking changes
- Signature changed
gevent.socket.create_connection
Was def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, source_address=None); now def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, source_address=None, **kwargs). pypi.org - Signature changed
gevent.tests.known_failures.Multi.flaky
Was def flaky(self, reason='', when=True); now def flaky(self, reason='', when=True, ignore_coverage=NEVER, run_alone=NEVER). pypi.org - Signature changed
gevent.tests.test__example_echoserver.create_connection
Was def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, source_address=None); now def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, source_address=None, **kwargs). pypi.org - Signature changed
gevent.tests.test__subprocess_poll.Popen.__init__
Was def __init__(self, args, bufsize=-1 if PY3 else 0, executable=None, stdin=None, stdout=None, stderr=None, preexec_fn=None, close_fds=_PLATFORM_DEFAULT_CLOSE_FDS, shell=False, cwd=None, env=None, universal_newlines=None... pypi.org - Signature changed
gevent.tests.test__threadpool.ThreadPool.__init__
Was def __init__(self, maxsize, hub=None); now def __init__(self, maxsize, hub=None, idle_task_timeout=-1). pypi.org - Signature changed
gevent.threadpool.ThreadPool.__init__
Was def __init__(self, maxsize, hub=None); now def __init__(self, maxsize, hub=None, idle_task_timeout=-1). pypi.org
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.