:arrow_up: Bump anyio from 3.6.2 to 4.3.0
Bumps anyio from 3.6.2 to 4.3.0.
Release notes
Sourced from anyio's releases.
4.3.0
Added support for the Python 3.12
walk_upkeyword argument inanyio.Path.relative_to()(PR by Colin Taylor)Fixed passing
total_tokenstoanyio.CapacityLimiter()as a keyword argument not working on thetriobackend (#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()orrun_process()on Trio could leave standard streams unclosed(PR by Ganden Schaffner)
Fixed
Process.stdin.aclose(),Process.stdout.aclose(), andProcess.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 inconnect_unix,create_unix_listeners,create_unix_datagram_socket, andcreate_connected_unix_datagram_socket. (PR by Lura Skye)Enabled the
EventandCapacityLimiterclasses to be instantiated outside an event loop threadBroadly improved/fixed the type annotations. Among other things, many functions and methods that take variadic positional arguments now make use of PEP 646
TypeVarTupleto 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.Pathto 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_upkeyword argument inanyio.Path.relative_to()(PR by Colin Taylor)Fixed passing
total_tokenstoanyio.CapacityLimiter()as a keyword argument not working on thetriobackend ([#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()orrun_process()on Trio could leave standard streams unclosed(PR by Ganden Schaffner)
Fixed
Process.stdin.aclose(),Process.stdout.aclose(), andProcess.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 inconnect_unix,create_unix_listeners,create_unix_datagram_socket, andcreate_connected_unix_datagram_socket. (PR by Lura Skye)Enabled the
EventandCapacityLimiterclasses to be instantiated outside an event loop threadBroadly improved/fixed the type annotations. Among other things, many functions and methods that take variadic positional arguments now make use of PEP 646
TypeVarTupleto 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.Pathto match Typeshed:
... (truncated)
Commits
437a7e3Bumped up the version1ce32e5Updated the upload/download artifact actionsd39c837[pre-commit.ci] pre-commit autoupdate (#690)ba48ea8Added the network marker to some tests that need DNS (#687)5426f7bRemove conditionals and workarounds for Python interpreter versions 3.7 and o...7565f31[pre-commit.ci] pre-commit autoupdate (#684)137de70Fixed documentation on providing custom typed attributes (#683)8b8806cFixed typo (#681)1e60219Fixedrun_process()andopen_process().__aexit__leaking an orphan proces...3f14df8[pre-commit.ci] pre-commit autoupdate (#676)- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)