---
title: "trio 0.35.0 Breaking Changes on PyPI | Since.dev"
description: "What each trio release removed, renamed or changed: 27 breaking changes in 7 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/trio
last_updated: 2026-12-04
---

# 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

Latest version `0.35.0`, released October 31, 2026. [Source repository](https://github.com/python-trio/trio)

Its 0.32.0 release drops [Python 3.9](https://since.dev/calendar/python/3.9.md). [Python end of life dates](https://since.dev/calendar/python.md).

- From [0.29.0](#v-0-29-0) to [0.35.0](#v-0-35-0): 16 breaking changes in 6 versions.

## trio 0.35.0 breaking changes

trio 0.35.0, released October 31, 2026: 3 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](https://pypi.org/project/trio/0.35.0/)
- **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](https://pypi.org/project/trio/0.35.0/)
- **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](https://pypi.org/project/trio/0.35.0/)

## trio 0.34.0 breaking changes

trio 0.34.0, released August 11, 2026: 3 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](https://github.com/python-trio/trio/releases/tag/v0.34.0)
- **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](https://pypi.org/project/trio/0.34.0/)
- **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](https://pypi.org/project/trio/0.34.0/)

## trio 0.33.0 breaking changes

trio 0.33.0, released February 14, 2026: 3 breaking changes.

- **Removed** `trio.testing.Matcher`  

trio.testing.Matcher is deprecated; use pytest.RaisesExc instead. [pypi.org](https://pypi.org/project/trio/0.33.0/)
- **Removed** `trio.testing.RaisesGroup`  

trio.testing.RaisesGroup is deprecated; use pytest.RaisesGroup instead. [pypi.org](https://pypi.org/project/trio/0.33.0/)
- **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](https://pypi.org/project/trio/0.33.0/)

## trio 0.32.0 breaking changes

trio 0.32.0, released October 31, 2025: 1 breaking change.

- **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](https://github.com/python-trio/trio/releases/tag/v0.32.0)

## trio 0.31.0 breaking changes

trio 0.31.0, released September 9, 2025: 2 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](https://github.com/python-trio/trio/releases/tag/v0.31.0)
- **Signature changed** `trio.CancelScope.cancel`  

Was def cancel(self) -> None; now def cancel(self, reason: str | None = None) -> None. [pypi.org](https://pypi.org/project/trio/0.31.0/)

## trio 0.30.0 breaking changes

trio 0.30.0, released April 21, 2025: 4 breaking changes.

- **Removed** `trio.__deprecated_attributes__`  

trio.\_\_deprecated_attributes\_\_ was removed in trio 0.30.0 [pypi.org](https://pypi.org/project/trio/0.30.0/)
- **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](https://pypi.org/project/trio/0.30.0/)
- **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](https://pypi.org/project/trio/0.30.0/)
- **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](https://pypi.org/project/trio/0.30.0/)

## Older versions

1 older version, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### trio 0.29.0 breaking changes

trio 0.29.0, released February 14, 2025: 11 breaking changes.

- **Removed** `trio.testing.RaisesGroup.match_expr`  

RaisesGroup.match_expr was removed in trio 0.29.0 [pypi.org](https://pypi.org/project/trio/0.29.0/)
- **Renamed** `trio.testing.Matcher.__str__`  

Use Matcher.\_\_repr\_\_ instead. [pypi.org](https://pypi.org/project/trio/0.29.0/)

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](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
