Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump anyio from 4.5.0 to 4.6.0 in /api (#298)
Bumps [anyio](https://github.com/agronholm/anyio) from 4.5.0 to 4.6.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/agronholm/anyio/releases">anyio's releases</a>.</em></p> <blockquote> <h2>4.6.0</h2> <ul> <li>Dropped support for Python 3.8 (as <a href="https://redirect.github.com/agronholm/anyio/issues/698">#698</a> cannot be resolved without cancel message support)</li> <li>Fixed 100% CPU use on asyncio while waiting for an exiting task group to finish while said task group is within a cancelled cancel scope (<a href="https://redirect.github.com/agronholm/anyio/issues/695">#695</a>)</li> <li>Fixed cancel scopes on asyncio not propagating <code>CancelledError</code> on exit when the enclosing cancel scope has been effectively cancelled (<a href="https://redirect.github.com/agronholm/anyio/issues/698">#698</a>)</li> <li>Fixed asyncio task groups not yielding control to the event loop at exit if there were no child tasks to wait on</li> <li>Fixed inconsistent task uncancellation with asyncio cancel scopes belonging to a task group when said task group has child tasks running</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/agronholm/anyio/blob/master/docs/versionhistory.rst">anyio's changelog</a>.</em></p> <blockquote> <h1>Version history</h1> <p>This library adheres to <code>Semantic Versioning 2.0 <http://semver.org/></code>_.</p> <p><strong>4.6.0</strong></p> <ul> <li>Dropped support for Python 3.8 (as <code>[#698](agronholm/anyio#698) <https://github.com/agronholm/anyio/issues/698></code>_ cannot be resolved without cancel message support)</li> <li>Fixed 100% CPU use on asyncio while waiting for an exiting task group to finish while said task group is within a cancelled cancel scope (<code>[#695](agronholm/anyio#695) <https://github.com/agronholm/anyio/issues/695></code>_)</li> <li>Fixed cancel scopes on asyncio not propagating <code>CancelledError</code> on exit when the enclosing cancel scope has been effectively cancelled (<code>[#698](agronholm/anyio#698) <https://github.com/agronholm/anyio/issues/698></code>_)</li> <li>Fixed asyncio task groups not yielding control to the event loop at exit if there were no child tasks to wait on</li> <li>Fixed inconsistent task uncancellation with asyncio cancel scopes belonging to a task group when said task group has child tasks running</li> </ul> <p><strong>4.5.0</strong></p> <ul> <li>Improved the performance of <code>anyio.Lock</code> and <code>anyio.Semaphore</code> on asyncio (even up to 50 %)</li> <li>Added the <code>fast_acquire</code> parameter to <code>anyio.Lock</code> and <code>anyio.Semaphore</code> to further boost performance at the expense of safety (<code>acquire()</code> will not yield control back if there is no contention)</li> <li>Added support for the <code>from_uri()</code>, <code>full_match()</code>, <code>parser</code> methods/properties in <code>anyio.Path</code>, newly added in Python 3.13 (<code>[#737](agronholm/anyio#737) <https://github.com/agronholm/anyio/issues/737></code>_)</li> <li>Added support for more keyword arguments for <code>run_process()</code> and <code>open_process()</code>: <code>startupinfo</code>, <code>creationflags</code>, <code>pass_fds</code>, <code>user</code>, <code>group</code>, <code>extra_groups</code> and <code>umask</code> (<code>[#742](agronholm/anyio#742) <https://github.com/agronholm/anyio/issues/742></code>_)</li> <li>Improved the type annotations and support for <code>PathLike</code> in <code>run_process()</code> and <code>open_process()</code> to allow for path-like arguments, just like <code>subprocess.Popen</code></li> <li>Changed the <code>ResourceWarning</code> from an unclosed memory object stream to include its address for easier identification</li> <li>Changed <code>start_blocking_portal()</code> to always use daemonic threads, to accommodate the "loitering event loop" use case</li> <li>Bumped the minimum version of Trio to v0.26.1</li> <li>Fixed <code>__repr__()</code> of <code>MemoryObjectItemReceiver</code>, when <code>item</code> is not defined (<code>[#767](agronholm/anyio#767) <https://github.com/agronholm/anyio/pulls/767></code>_; PR by <a href="https://github.com/Danipulok"><code>@Danipulok</code></a>)</li> <li>Fixed <code>to_process.run_sync()</code> failing to initialize if <code>__main__.__file__</code> pointed to a file in a nonexistent directory (<code>[#696](agronholm/anyio#696) <https://github.com/agronholm/anyio/issues/696></code>_)</li> <li>Fixed <code>AssertionError: feed_data after feed_eof</code> on asyncio when a subprocess is closed early, before its output has been read (<code>[#490](agronholm/anyio#490) <https://github.com/agronholm/anyio/issues/490></code>_)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/agronholm/anyio/commit/8cce74917ffc7523203ab44862f20fd61f065cc5"><code>8cce749</code></a> Bumped up the version</li> <li><a href="https://github.com/agronholm/anyio/commit/01a37c603d55605e0d6f21b7d43828f4738c7a3d"><code>01a37c6</code></a> Fixed TaskGroup and CancelScope exit issues on asyncio (<a href="https://redirect.github.com/agronholm/anyio/issues/774">#774</a>)</li> <li>See full diff in <a href="https://github.com/agronholm/anyio/compare/4.5.0...4.6.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=anyio&package-manager=pip&previous-version=4.5.0&new-version=4.6.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information