Skip to content

chore(deps): bump trio from 0.23.1 to 0.24.0

HIFIS Bot requested to merge dependabot-pip-trio-0.24.0 into main

Bumps trio from 0.23.1 to 0.24.0.

Release notes

Sourced from trio's releases.

v0.24.0

Full Changelog: https://github.com/python-trio/trio/compare/v0.23.2...v0.24.0

Features

  • New helper classes: testing.RaisesGroup and testing.Matcher.

    In preparation for changing the default of strict_exception_groups to True, we're introducing a set of helper classes that can be used in place of pytest.raises in tests, to check for an expected ExceptionGroup. These are provisional, and only planned to be supplied until there's a good solution in pytest. See pytest-dev/pytest#11538 (python-trio/trio#2785)

Deprecations and removals

  • MultiError has been fully removed, and all relevant trio functions now raise ExceptionGroups instead. This should not affect end users that have transitioned to using except* or catching ExceptionGroup/BaseExceptionGroup. (python-trio/trio#2891)

v0.23.2

Full Changelog: https://github.com/python-trio/trio/compare/v0.23.1...v0.23.2

Features

  • TypeVarTuple is now used to fully type nursery.start_soon(), trio.run(), trio.to_thread.run_sync(), and other similar functions accepting (func, *args). This means type checkers will be able to verify types are used correctly. nursery.start() is not fully typed yet however. (python-trio/trio#2881)

Bugfixes

Miscellaneous internal changes

Commits

Merge request reports