chore(deps): bump trio from 0.23.1 to 0.24.0
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
andtesting.Matcher
.In preparation for changing the default of
strict_exception_groups
toTrue
, we're introducing a set of helper classes that can be used in place ofpytest.raises
in tests, to check for an expectedExceptionGroup
. These are provisional, and only planned to be supplied until there's a good solution inpytest
. 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 usingexcept*
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
- Make pyright recognize
open_memory_channel
as generic. (python-trio/trio#2873)Miscellaneous internal changes
- Moved the metadata into PEP621-compliant
pyproject.toml
. (python-trio/trio#2860)- do not depend on exceptiongroup pre-release (python-trio/trio#2861)
- Move .coveragerc into pyproject.toml (python-trio/trio#2867)
Commits
-
b985122
Bump version to 0.24.0 -
a10f94b
[pre-commit.ci] pre-commit autoupdate (#2919) -
aadd1ea
Add RaisesGroup, a helper for catching ExceptionGroups in tests (#2898) -
ec011f4
Bump dependencies from commit e317d9 (#2914) -
f673cfd
Merge pull request #2917 from tornaria/test-musl -
eb32952
Partially fix #2908 (cython workaround) (#2911) -
282c00c
fix test regexes for musl libc -
e317d9c
Merge pull request #2900 from jakkdl/test_open_tcp_listeners_codecov -
7642383
Bump dependencies from commit fa2686 (#2913) -
683f5cb
[pre-commit.ci] pre-commit autoupdate black and ruff hooks (#2912) - Additional commits viewable in compare view