Chore(deps): bump trio from 0.25.0 to 0.26.0
Bumps trio from 0.25.0 to 0.26.0.
Release notes
Sourced from trio's releases.
v0.26.0
Full Changelog: https://github.com/python-trio/trio/compare/v0.25.1...v0.26.0
Features
Added an interactive interpreter
python -m trio
.This makes it easier to try things and experiment with trio in the a Python repl. Use the
await
keyword without needing to calltrio.run()
$ python -m trio Trio 0.26.0, Python 3.10.6 Use "await" directly instead of "trio.run()". Type "help", "copyright", "credits" or "license" for more information. >>> import trio >>> await trio.sleep(1); print("hi") # prints after one second hi
See interactive debugging for further detail. (python-trio/trio#2972)
trio.testing.RaisesGroup
can now catch an unwrapped exception withunwrapped=True
. This means that the behaviour ofexcept*
can be fully replicated in combination withflatten_subgroups=True
(formerlystrict=False
). (python-trio/trio#2989)Bugfixes
- Fixed a bug where
trio.testing.RaisesGroup(..., strict=False)
would check the number of exceptions in the raisedExceptionGroup
before flattening subgroups, leading to incorrectly failed matches. It now properly supports end ($
) regex markers in thematch
message, by no longer including " (x sub-exceptions)" in the string it matches against. (python-trio/trio#2989)Deprecations and removals
- Deprecated
strict
parameter fromtrio.testing.RaisesGroup
, previous functionality ofstrict=False
is now inflatten_subgroups=True
. (python-trio/trio#2989)v0.25.1
Full Changelog: https://github.com/python-trio/trio/compare/v0.25.0...v0.25.1
Bugfixes
- Fix crash when importing trio in embedded Python on Windows, and other installs that remove docstrings. (python-trio/trio#2987)
Commits
-
e2e0521
Bump version to 0.26.0 -
e813d15
Remove deprecated features -
5da94bf
Bump dependencies from commit 80eec9 (#3025) -
80eec96
Add PosArgT typing to trio.run (#3022) -
a7db0e4
[pre-commit.ci] pre-commit autoupdate (#3021) -
26cc6ee
Use Typevar defaults forTaskStatus
andMatcher
(#3019) -
b93d8a6
[pre-commit.ci] pre-commit autoupdate (#3020) -
53ff38a
Add Python 3.11 and 3.12 to Windows and MacOS matrices (#3017) -
451393a
[docs] clarify checkpoint semantics for trio.open_nursery (#3011) -
0f5fc6c
Fixes for 3.13 (#3005) - Additional commits viewable in compare view