trio breaking changes
trio 0.35.0 (October 31, 2026) is its newest release with breaking changes, 3 of them. The first: Signature changed trio.abc.HostnameResolver.getaddrinfo. Every breaking API change we have recorded in trio on PyPI: 27 breaking changes in 7 versions. Below, its 7 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 0.35.0, released October 31, 2026. Source repository
Its 0.32.0 release drops Python 3.9. Python end of life dates.
trio 0.35.0 breaking changes
- Signature changed
trio.abc.HostnameResolver.getaddrinfo
Was async def getaddrinfo(self, host: bytes | None, port: bytes | str | int | None, family: int = 0, type: int = 0, proto: int = 0, flags: int = 0) -> list[tuple[socket.AddressFamily, socket.SocketKind, int, str, tuple[str, int] |... pypi.org - Signature changed
trio.socket.getaddrinfo
Was async def getaddrinfo(host: bytes | str | None, port: bytes | str | int | None, family: int = 0, type: int = 0, proto: int = 0, flags: int = 0) -> list[tuple[AddressFamily, SocketKind, int, str, tuple[str, int] | tuple[str, int, int... pypi.org - Signature changed
trio.testing.Sequencer.__call__
Was async def __call__(self, position: int) -> AsyncIterator[None]; now async def __call__(self, position: int) -> AsyncGenerator[None, None]. pypi.org
trio 0.34.0 breaking changes
- Removed
trio.CancelScope.deadline
Setting an absolute deadline on a CancelScope constructed with a relative deadline now raises. To switch, replace the trio.CancelScope object instead of mutating it. github.com - Signature changed
trio.lowlevel.FdStream.send_all
Was async def send_all(self, data: bytes) -> None; now async def send_all(self, data: bytes | bytearray | memoryview) -> None. pypi.org - Signature changed
trio.StapledStream.receive_some
Was async def receive_some(self, max_bytes: int | None = None) -> bytes; now async def receive_some(self, max_bytes: int | None = None) -> bytes | bytearray. pypi.org
trio 0.33.0 breaking changes
- Removed
trio.testing.Matcher
trio.testing.Matcher is deprecated; use pytest.RaisesExc instead. pypi.org - Removed
trio.testing.RaisesGroup
trio.testing.RaisesGroup is deprecated; use pytest.RaisesGroup instead. pypi.org - Signature changed
trio.lowlevel.reschedule
Was def reschedule(task: Task, next_send: Outcome[object] = _NO_SEND) -> None; now def reschedule(task: Task, next_send: outcome.Outcome[object] = _NO_SEND) -> None. pypi.org
trio 0.32.0 breaking changes
- Removed
Trio 0.32.0 no longer supports Python 3.9. Users on Python 3.9 must upgrade Python or stay on Trio 0.31.0. github.com
trio 0.31.0 breaking changes
- Behavior changed
Misnesting nurseries now produces a RuntimeError rather than a TrioInternalError. Code that catches TrioInternalError for this case must be updated. github.com - Signature changed
trio.CancelScope.cancel
Was def cancel(self) -> None; now def cancel(self, reason: str | None = None) -> None. pypi.org
trio 0.30.0 breaking changes
- Removed
trio.__deprecated_attributes__
trio.__deprecated_attributes__ was removed in trio 0.30.0 pypi.org - Signature changed
trio.lowlevel.open_process
Was async def open_process(command: StrOrBytesPath | Sequence[StrOrBytesPath], *, stdin: int | HasFileno | None = None, stdout: int | HasFileno | None = None, stderr: int | HasFileno | None = None, close_fds: bool = True, shell: bool =... pypi.org - Signature changed
trio.Nursery.start
Was async def start(self, async_fn: Callable[..., Awaitable[object]], *args: object, name: object = None) -> Any | None; now async def start(self, async_fn: Callable[..., Awaitable[object]], *args: object, name: object = None) -> Any. pypi.org - Signature changed
trio.run_process
Was async def run_process(command: StrOrBytesPath | Sequence[StrOrBytesPath], *, task_status: TaskStatus[Process] = trio.TASK_STATUS_IGNORED, stdin: bytes | bytearray | memoryview | int | HasFileno | None = None, capture_stdout: bool =... pypi.org
Older versions
1 older version, each with its first changes. Sign up to see every change
Show 1 older version
trio 0.29.0 breaking changes
- Removed
trio.testing.RaisesGroup.match_expr
RaisesGroup.match_expr was removed in trio 0.29.0 pypi.org - Renamed
trio.testing.Matcher.__str__
Use Matcher.__repr__ instead. pypi.org
And 9 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.