unstale

pypi / trio

trio

What changed in trio 0.33 to 0.34, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-21.

1 breaking2 deprecations1 new APIs and options2 behavior and defaults4 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.2 on npm

trio 0.347 changes

Breaking changes 1

  • Using absolute deadlines on a cancel scope constructed with a relative deadline now raises; replace the CancelScope object to switch it from relative to absolute.

    0.34.0release notes

New APIs and options 1

  • Adds a field reporting the largest number of items ever held in the channel buffer, helping developers choose a sensible max_buffer_size based on real runs.

    0.34.0release notes

Behavior and default changes 1

  • Adds support for Python 3.15 beta 4; this support may break in the future as things change.

    0.34.0release notes

Fixes and other changes 4

  • Preserves the __cause__ and __context__ of exceptions raised before task_status.started() is called.

    0.34.0release notes

  • Corrects the error message for the stdout pipe check, which incorrectly said stdin.

    0.34.0release notes

  • Fixes behavior on Python 3.14+ to avoid the deprecated pathlib.PurePath.as_uri() path.

    0.34.0release notes

  • Fixes workers leaking the spawner's Context on py314t+ free-threaded builds.

    0.34.0release notes

trio 0.333 changes

Deprecations 2

Behavior and default changes 1

  • Trio now supports Android's new sys.platform value.

    0.33.0release notes