Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump trio from 0.19.0 to 0.25.0 #843

Merged
merged 1 commit into from
Apr 27, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 26, 2024

Bumps trio from 0.19.0 to 0.25.0.

Release notes

Sourced from trio's releases.

v0.25.0

Full Changelog: python-trio/trio@v0.24.0...v0.25.0

Breaking changes

  • The strict_exception_groups parameter now defaults to True in trio.run and trio.lowlevel.start_guest_run. trio.open_nursery still defaults to the same value as was specified in trio.run/trio.lowlevel.start_guest_run, but if you didn't specify it there then all subsequent calls to trio.open_nursery will change. This is unfortunately very tricky to change with a deprecation period, as raising a DeprecationWarning whenever strict_exception_groups is not specified would raise a lot of unnecessary warnings.

    Notable side effects of changing code to run with strict_exception_groups==True

    • If an iterator raises StopAsyncIteration or StopIteration inside a nursery, then python will not recognize wrapped instances of those for stopping iteration.

    • trio.run_process is now documented that it can raise an ExceptionGroup. It previously could do this in very rare circumstances, but with strict_exception_groups set to True it will now do so whenever exceptions occur in deliver_cancel or with problems communicating with the subprocess.

      • Errors in opening the process is now done outside the internal nursery, so if code previously ran with strict_exception_groups=True there are cases now where an ExceptionGroup is no longer added.
    • trio.TrioInternalError .__cause__ might be wrapped in one or more ExceptionGroups <ExceptionGroup> (python-trio/trio#2786)

Features

  • Add trio.testing.wait_all_threads_completed, which blocks until no threads are running tasks. This is intended to be used in the same way as trio.testing.wait_all_tasks_blocked. (python-trio/trio#2937)

  • Path is now a subclass of pathlib.PurePath, allowing it to interoperate with other standard pathlib types.

    Instantiating Path now returns a concrete platform-specific subclass, one of PosixPath or WindowsPath, matching the behavior of pathlib.Path. (python-trio/trio#2959)

Bugfixes

  • The pthread functions are now correctly found on systems using vanilla versions of musl libc. (python-trio/trio#2939)

Miscellaneous internal changes

v0.24.0

Full Changelog: python-trio/trio@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)

... (truncated)

Commits
  • 0b8d3e2 Bump version to 0.25.0
  • e3fd384 [pre-commit.ci] pre-commit autoupdate ruff-pre-commit: v0.3.0 → v0.3.2
  • f890f8f Path refactor (#2959)
  • 379d99b Add pre-commit autoupdate to autodeps (#2970)
  • b541b8b bump pyright, introducing warnings for tons of missing docstrings (#2910)
  • 9dcf733 fix: updated the google docstring url (#2967)
  • 48f8293 Bump dependencies from commit 13ee1b (#2966)
  • 13ee1b0 Remove incorrect str possibility from HostnameResolver.getaddrinfo (#2964)
  • accaae4 use the regular readme for the long description (#2866)
  • 78c55aa [pre-commit.ci] pre-commit autoupdate (#2962)
  • Additional commits viewable in compare view

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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Apr 26, 2024
@dependabot dependabot bot force-pushed the dependabot/pip/trio-0.25.0 branch 5 times, most recently from c6598e1 to 4c7b5ef Compare April 27, 2024 18:04
Bumps [trio](https://github.com/python-trio/trio) from 0.19.0 to 0.25.0.
- [Release notes](https://github.com/python-trio/trio/releases)
- [Commits](python-trio/trio@v0.19.0...v0.25.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pip/trio-0.25.0 branch from 4c7b5ef to c132d3c Compare April 27, 2024 18:15
@eliflores eliflores merged commit af9e32c into master Apr 27, 2024
6 checks passed
@eliflores eliflores deleted the dependabot/pip/trio-0.25.0 branch April 27, 2024 18:46
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.

1 participant