Update dependency trio to v0.34.0 - #938
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
renovate
Bot
force-pushed
the
renovate/trio-0.x
branch
from
September 9, 2025 21:06
cb3a980 to
0edfa2d
Compare
renovate
Bot
force-pushed
the
renovate/trio-0.x
branch
3 times, most recently
from
October 5, 2025 12:27
6f09994 to
be0c0eb
Compare
renovate
Bot
force-pushed
the
renovate/trio-0.x
branch
26 times, most recently
from
October 9, 2025 22:04
0e05fa8 to
ead57b8
Compare
renovate
Bot
force-pushed
the
renovate/trio-0.x
branch
2 times, most recently
from
October 23, 2025 19:29
6bc8a9e to
2fd31c5
Compare
renovate
Bot
force-pushed
the
renovate/trio-0.x
branch
3 times, most recently
from
October 31, 2025 11:05
c304d4c to
0e894f5
Compare
renovate
Bot
force-pushed
the
renovate/trio-0.x
branch
2 times, most recently
from
November 12, 2025 16:17
4a5fb61 to
483094c
Compare
renovate
Bot
force-pushed
the
renovate/trio-0.x
branch
21 times, most recently
from
November 17, 2025 11:49
dfd5a3f to
322a1a1
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==0.30.0→==0.34.0Release Notes
python-trio/trio (trio)
v0.34.0Compare Source
Full Changelog: python-trio/trio@v0.33.0...v0.34.0
Features
MemoryChannelStatisticsnow has apeak_buffer_usedfield, which reports the largest number of items that have ever been in the channel's buffer at once. This makes it easier to pick a sensiblemax_buffer_sizebased on data from a real run, instead of guessing. (#1723)Bugfixes
Nursery.start()now preserves the__cause__and__context__of exceptions raised beforetask_status.started()is called. (#3261)run_process: thestdoutpipe check now correctly says "stdout" instead of "stdin". (#3409)trio.Path.as_uri()on Python 3.14+ to avoid the deprecatedpathlib.PurePath.as_uri()path. (#3460)trio.to_thread.run_syncworkers leaking spawner'sContextonpy314t+free-threaded builds. (#3472)Deprecations and removals
Trying to use absolute deadlines on a
trio.CancelScopeconstructed with a relative deadline now raises, after being deprecated since Trio 0.27.0.To switch a cancel scope from being relative to absolute, replace the
trio.CancelScopeobject instead of trying to mutate it. (#3403)v0.33.0Compare Source
Full Changelog: python-trio/trio@v0.32.0...v0.33.0
Bugfixes
"android"sys.platform. (#3357)Deprecations and removals
trio.testing.RaisesGroupandtrio.testing.Matcherhave been deprecated. Pytest alternativespytest.RaisesGroupandpytest.RaisesExc(respectively) are considered correct replacement. (#3326)v0.32.0Compare Source
Full Changelog: python-trio/trio@v0.31.0...v0.32.0
Features
trio.CapacityLimiterto have zero total_tokens. (#3321)Bugfixes
@as_safe_channel-derivedReceiveChannelwould raisetrio.BrokenResourceErrorif the channel was closed by another task. It now shuts down cleanly. (#3331)trio.lowlevel.Task.iter_await_framesnow works on completed tasks, by returning an empty list of frames if the underlying coroutine has been closed. Previously, it raised an internal error. (#3337)Removals without deprecations
Miscellaneous internal changes
trio.as_safe_channel. (#3332)v0.31.0Compare Source
Full Changelog: python-trio/trio@v0.30.0...v0.31.0
Features
Cancelledstrings can now display the source and reason for a cancellation. Trio-internal sources of cancellation will set this string, andCancelScope.cancelnow has areasonstring parameter that can be used to attach info to anyCancelledto help in debugging. (#3232)Bugfixes
python -m trio). (#3007)trio.Cancelled, as they can show up when you want to pickle something else. This does not rule out pickling otherNoPublicConstructorobjects -- create an issue if necessary. (#3248)raise_single_exception_from_groupthat reraises last exception from group. (#3275)trio.as_safe_channelraise if closing the generator wrappedGeneratorExitin aBaseExceptionGroup. (#3324)Deprecations and removals
bool(trio.Event)and have it raise aDeprecationWarningand tell users to usetrio.Event.is_setinstead. This is an alternative tomypy --enable-error-code=truthy-boolfor users who don't use type checking. (#3322)Miscellaneous internal changes
RuntimeErrorinstead of a catastrophicTrioInternalError. (#3307)Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.