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

Bump anyio from 3.7.1 to 4.3.0 in /platform #1485

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps anyio from 3.7.1 to 4.3.0.

Release notes

Sourced from anyio's releases.

4.3.0

  • Added support for the Python 3.12 walk_up keyword argument in anyio.Path.relative_to() (PR by Colin Taylor)

  • Fixed passing total_tokens to anyio.CapacityLimiter() as a keyword argument not working on the trio backend (#515)

  • Fixed Process.aclose() not performing the minimum level of necessary cleanup when cancelled. Previously:

    • Cancellation of Process.aclose() could leak an orphan process
    • Cancellation of run_process() could very briefly leak an orphan process.
    • Cancellation of Process.aclose() or run_process() on Trio could leave standard streams unclosed

    (PR by Ganden Schaffner)

  • Fixed Process.stdin.aclose(), Process.stdout.aclose(), and Process.stderr.aclose() not including a checkpoint on asyncio (PR by Ganden Schaffner)

  • Fixed documentation on how to provide your own typed attributes

4.2.0

  • Add support for byte-based paths in connect_unix, create_unix_listeners, create_unix_datagram_socket, and create_connected_unix_datagram_socket. (PR by Lura Skye)

  • Enabled the Event and CapacityLimiter classes to be instantiated outside an event loop thread

  • Broadly improved/fixed the type annotations. Among other things, many functions and methods that take variadic positional arguments now make use of PEP 646 TypeVarTuple to allow the positional arguments to be validated by static type checkers. These changes affected numerous methods and functions, including:

    • anyio.run()
    • TaskGroup.start_soon()
    • anyio.from_thread.run()
    • anyio.from_thread.run_sync()
    • anyio.to_thread.run_sync()
    • anyio.to_process.run_sync()
    • BlockingPortal.call()
    • BlockingPortal.start_task_soon()
    • BlockingPortal.start_task()

    (also resolves #560)

  • Fixed various type annotations of anyio.Path to match Typeshed:

    • anyio.Path.__lt__()
    • anyio.Path.__le__()
    • anyio.Path.__gt__()
    • anyio.Path.__ge__()
    • anyio.Path.__truediv__()
    • anyio.Path.__rtruediv__()
    • anyio.Path.hardlink_to()
    • anyio.Path.samefile()
    • anyio.Path.symlink_to()
    • anyio.Path.with_segments()

    (PR by Ganden Schaffner)

... (truncated)

Changelog

Sourced from anyio's changelog.

Version history

This library adheres to Semantic Versioning 2.0 <http://semver.org/>_.

4.3.0

  • Added support for the Python 3.12 walk_up keyword argument in anyio.Path.relative_to() (PR by Colin Taylor)

  • Fixed passing total_tokens to anyio.CapacityLimiter() as a keyword argument not working on the trio backend ([#515](https://github.com/agronholm/anyio/issues/515) <https://github.com/agronholm/anyio/issues/515>_)

  • Fixed Process.aclose() not performing the minimum level of necessary cleanup when cancelled. Previously:

    • Cancellation of Process.aclose() could leak an orphan process
    • Cancellation of run_process() could very briefly leak an orphan process.
    • Cancellation of Process.aclose() or run_process() on Trio could leave standard streams unclosed

    (PR by Ganden Schaffner)

  • Fixed Process.stdin.aclose(), Process.stdout.aclose(), and Process.stderr.aclose() not including a checkpoint on asyncio (PR by Ganden Schaffner)

  • Fixed documentation on how to provide your own typed attributes

4.2.0

  • Add support for byte-based paths in connect_unix, create_unix_listeners, create_unix_datagram_socket, and create_connected_unix_datagram_socket. (PR by Lura Skye)

  • Enabled the Event and CapacityLimiter classes to be instantiated outside an event loop thread

  • Broadly improved/fixed the type annotations. Among other things, many functions and methods that take variadic positional arguments now make use of PEP 646 TypeVarTuple to allow the positional arguments to be validated by static type checkers. These changes affected numerous methods and functions, including:

    • anyio.run()
    • TaskGroup.start_soon()
    • anyio.from_thread.run()
    • anyio.from_thread.run_sync()
    • anyio.to_thread.run_sync()
    • anyio.to_process.run_sync()
    • BlockingPortal.call()
    • BlockingPortal.start_task_soon()
    • BlockingPortal.start_task()

    (also resolves [#560](https://github.com/agronholm/anyio/issues/560) <https://github.com/agronholm/anyio/issues/560>_)

  • Fixed various type annotations of anyio.Path to match Typeshed:

... (truncated)

Commits
  • 437a7e3 Bumped up the version
  • 1ce32e5 Updated the upload/download artifact actions
  • d39c837 [pre-commit.ci] pre-commit autoupdate (#690)
  • ba48ea8 Added the network marker to some tests that need DNS (#687)
  • 5426f7b Remove conditionals and workarounds for Python interpreter versions 3.7 and o...
  • 7565f31 [pre-commit.ci] pre-commit autoupdate (#684)
  • 137de70 Fixed documentation on providing custom typed attributes (#683)
  • 8b8806c Fixed typo (#681)
  • 1e60219 Fixed run_process() and open_process().__aexit__ leaking an orphan proces...
  • 3f14df8 [pre-commit.ci] pre-commit autoupdate (#676)
  • 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 [anyio](https://github.com/agronholm/anyio) from 3.7.1 to 4.3.0.
- [Release notes](https://github.com/agronholm/anyio/releases)
- [Changelog](https://github.com/agronholm/anyio/blob/master/docs/versionhistory.rst)
- [Commits](agronholm/anyio@3.7.1...4.3.0)

---
updated-dependencies:
- dependency-name: anyio
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Feb 26, 2024
Copy link

vercel bot commented Feb 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
agent-gpt ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 26, 2024 9:39am

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.

None yet

0 participants