Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 10, 2025

Bumps trio from 0.30.0 to 0.31.0.

Release notes

Sourced from trio's releases.

v0.31.0

Full Changelog: python-trio/trio@v0.30.0...v0.31.0

Features

  • Cancelled strings can now display the source and reason for a cancellation. Trio-internal sources of cancellation will set this string, and CancelScope.cancel now has a reason string parameter that can be used to attach info to any Cancelled to help in debugging. (python-trio/trio#3232)

Bugfixes

  • Make ctrl+c work in more situations in the Trio REPL (python -m trio). (python-trio/trio#3007)
  • Allow pickling trio.Cancelled, as they can show up when you want to pickle something else. This does not rule out pickling other NoPublicConstructor objects -- create an issue if necessary. (python-trio/trio#3248)
  • Decrease import time on Windows by around 10%. (python-trio/trio#3263)
  • Handle unwrapping SystemExit/KeyboardInterrupt exception gracefully in utility function raise_single_exception_from_group that reraises last exception from group. (python-trio/trio#3275)
  • Ensure that the DTLS server does not mutate SSL context. (python-trio/trio#3277)
  • Avoid having trio.as_safe_channel raise if closing the generator wrapped GeneratorExit in a BaseExceptionGroup. (python-trio/trio#3324)

Deprecations and removals

  • Implement bool(trio.Event) and have it raise a DeprecationWarning and tell users to use trio.Event.is_set instead. This is an alternative to mypy --enable-error-code=truthy-bool for users who don't use type checking. (python-trio/trio#3322)

Miscellaneous internal changes

  • When misnesting nurseries you now get a helpful RuntimeError instead of a catastrophic TrioInternalError. (python-trio/trio#3307)
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [trio](https://github.com/python-trio/trio) from 0.30.0 to 0.31.0.
- [Release notes](https://github.com/python-trio/trio/releases)
- [Commits](python-trio/trio@v0.30.0...v0.31.0)

---
updated-dependencies:
- dependency-name: trio
  dependency-version: 0.31.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Sep 10, 2025
@Evan-CTL Evan-CTL merged commit cc6dbd7 into main Sep 10, 2025
4 checks passed
@Evan-CTL Evan-CTL deleted the dependabot/pip/trio-0.31.0 branch September 10, 2025 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants