Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 20, 2024

Bumps trio from 0.22.2 to 0.25.1.

Release notes

Sourced from trio's releases.

v0.25.1

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

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

... (truncated)

Commits
  • a464604 Bump version to 0.25.1
  • f46f74d Merge pull request #2968 from kachida/feat/enable-hoverxref-in-trio-docs
  • 78666e7 [pre-commit.ci] pre-commit autoupdate ruff-pre-commit: v0.4.3 → v0.4.4
  • 7dbbac9 [pre-commit.ci] pre-commit autoupdate ruff-pre-commit: v0.4.2 → v0.4.3
  • f0cb052 use code-block instead of code
  • 91edf89 Merge remote-tracking branch 'origin/master' into feat/enable-hoverxref-in-tr...
  • 5125043 various fixes
  • 1bb98ae Dependency updates (#2995)
  • d39f186 [pre-commit.ci] pre-commit autoupdate (#2994)
  • e1e3eff Remove test_run_black (#2993)
  • 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)

Bumps [trio](https://github.com/python-trio/trio) from 0.22.2 to 0.25.1.
- [Release notes](https://github.com/python-trio/trio/releases)
- [Commits](python-trio/trio@v0.22.2...v0.25.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label May 20, 2024
@vrm-piyush vrm-piyush merged commit c8974bf into main May 24, 2024
@vrm-piyush vrm-piyush deleted the dependabot/pip/trio-0.25.1 branch May 24, 2024 13:39
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants