greenlet breaking changes
Updated December 4, 2026
On this page
Latest version 3.5.6, released September 14, 2026. Source repository
Its 3.3.0 release drops Python 3.9. Python end of life dates.
greenlet 3.5.5 breaking changes
- Removed
greenlet.tests.fail_c_stack_refs_suspended_gc.alive
greenlet.tests.fail_c_stack_refs_suspended_gc.alive was removed in greenlet 3.5.5 pypi.org
greenlet 3.5.2 breaking changes
- Renamed
greenlet.tests.test_gc.fails_leakcheck
Use greenlet.tests.test_gc.fails_leakcheck_on_py314_or_less instead. pypi.org - Behavior changed
The minimum supported version of Python 3.15 is now 3.15b2, so earlier 3.15 betas are no longer supported. Users on those betas must upgrade Python. github.com
greenlet 3.5.1 breaking changes
- Behavior changed
greenlet.getcurrent
During greenlet teardown, greenlet.getcurrent now raises a RuntimeError where it previously returned None. Code that checks for None during teardown must handle the exception instead. github.com
greenlet 3.5.0 breaking changes
- Behavior changed
greenlet.getcurrent
The atexit callback was removed, so greenlet APIs can become unavailable during interpreter shutdown. Code that calls greenlet.getcurrent during shutdown must handle a None result. github.com
greenlet 3.4.0 breaking changes
- Removed
greenlet.tests.test_contextvars.NoContextVarsTests
greenlet.tests.test_contextvars.NoContextVarsTests was removed in greenlet 3.4.0 pypi.org - Behavior changed
getcurrent
Shutdown handling now relies on the atexit module, so getcurrent is unavailable after the atexit callback runs. Code that calls it during late interpreter shutdown must avoid doing so. github.com - Signature changed
greenlet.tests.test_greenlet_trash.TestTrashCanReEnter.check_it
Was def check_it(self); now def check_it(self, get_tstate_trash_delete_nesting). pypi.org
greenlet 3.3.0 breaking changes
- Removed
greenlet 3.3.0 no longer supports Python 3.9; users on Python 3.9 must stay on an earlier release or upgrade Python. github.com - Removed
greenlet.tests.test_interpreter_shutdown
greenlet.tests.test_interpreter_shutdown was removed in greenlet 3.3.0 pypi.org - Renamed
greenlet.tests.test_gc.GCTests
Use greenlet.tests.test_gc.TestGC instead. pypi.org - Configuration changed
Binary wheels are now built for manylinux_2_28 instead of manylinux2014, and musllinux_1_2 instead of musllinux_1_1; systems with older glibc or musl may need to build from source. github.com - Signature changed
greenlet.tests.test_greenlet.TestRepr.assertEndsWith
Was def assertEndsWith(self, got, suffix); now def assertEndsWith(self, s, suffix, msg=None). pypi.org
Older versions
8 older versions, each with its first changes. Sign up to see every change
Show 8 older versions
greenlet 3.2.4 breaking changes
- Removed
greenlet.tests.test_tracing.DEBUG_BUILD_PY312
greenlet.tests.test_tracing.DEBUG_BUILD_PY312 was removed in greenlet 3.2.4 pypi.org
greenlet 3.2.0 breaking changes
- Removed
Support for Python 3.7 and 3.8 is removed in this release. Users on those Python versions must stay on an older greenlet or upgrade Python. github.com - Removed
greenlet.tests.TestCase.__new__
TestCase.__new__ was removed in greenlet 3.2.0 pypi.org
And 1 more in this version.
greenlet 3.0.0 breaking changes
- Removed
greenlet.tests.test_cpp.CPPTests.test_unhandled_exception_aborts
CPPTests.test_unhandled_exception_aborts was removed in greenlet 3.0.0 pypi.org - Removed
greenlet.tests.test_cpp.run_unhandled_exception_in_greenlet_aborts
greenlet.tests.test_cpp.run_unhandled_exception_in_greenlet_aborts was removed in greenlet 3.0.0 pypi.org
And 2 more in this version.
greenlet 3.0.0rc1 breaking changes
- Behavior changed
Binary Windows wheels now link statically to the C runtime. Building from source defaults to the shared library, so set GREENLET_STATIC_RUNTIME=1 at build time to get the static behavior. github.com
greenlet 3.0.0a1 breaking changes
- Removed
Support for Python 2.7, 3.5 and 3.6 was removed. Users on those interpreters must upgrade Python before using this release. github.com - Configuration changed
Building from source now needs a compiler that supports noinline directives. Builders with older compilers must upgrade them. github.com
And 1 more in this version.
greenlet 2.0.0 breaking changes
- Removed
greenlet.tests.test_greenlet.TestGreenlet.test_threaded_reparent
TestGreenlet.test_threaded_reparent was removed in greenlet 2.0.0 pypi.org - Removed
greenlet.tests.test_greenlet.TestGreenlet.test_throw_doesnt_crash
TestGreenlet.test_throw_doesnt_crash was removed in greenlet 2.0.0 pypi.org
And 6 more in this version.
greenlet 2.0.0rc1 breaking changes
- Renamed
PyGreenlet_GET_PARENT
PyGreenlet_GET_PARENT is renamed to PyGreenlet_GetParent. The old name remains available as a deprecated alias. github.com
greenlet 2.0.0a1 breaking changes
- Behavior changed
C++ exception handling on 32-bit Windows was changed, which may affect applications that embed Python and also use SEH or C++. github.com - Behavior changed
The repr of greenlets from threads that have exited now says so. The repr is not part of the API, so code should not rely on it. github.com
And 2 more in this version.
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.