Skip to content

Commit 06ee205

Browse files
Bump anyio from 4.9.0 to 4.10.0 in /tools (#5439)
Bumps [anyio](https://github.com/agronholm/anyio) from 4.9.0 to 4.10.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.10.0</h2> <ul> <li>Added the <code>feed_data()</code> method to the <code>BufferedByteReceiveStream</code> class, allowing users to inject data directly into the buffer</li> <li>Added various class methods to wrap existing sockets as listeners or socket streams: <ul> <li><code>SocketListener.from_socket()</code></li> <li><code>SocketStream.from_socket()</code></li> <li><code>UNIXSocketStream.from_socket()</code></li> <li><code>UDPSocket.from_socket()</code></li> <li><code>ConnectedUDPSocket.from_socket()</code></li> <li><code>UNIXDatagramSocket.from_socket()</code></li> <li><code>ConnectedUNIXDatagramSocket.from_socket()</code></li> </ul> </li> <li>Added a hierarchy of connectable stream classes for transparently connecting to various remote or local endpoints for exchanging bytes or objects</li> <li>Added context manager mix-in classes (<code>anyio.ContextManagerMixin</code> and <code>anyio.AsyncContextManagerMixin</code>) to help write classes that embed other context managers, particularly cancel scopes or task groups (<a href="https://redirect.github.com/agronholm/anyio/pull/905">#905</a>; PR by <a href="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/agronholm"><code>@​agronholm</code></a> and <a href="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/tapetersen"><code>@​tapetersen</code></a>)</li> <li>Added the ability to specify the thread name in <code>start_blocking_portal()</code> (<a href="https://redirect.github.com/agronholm/anyio/issues/818">#818</a>; PR by <a href="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/davidbrochart"><code>@​davidbrochart</code></a>)</li> <li>Added <code>anyio.notify_closing</code> to allow waking <code>anyio.wait_readable</code> and <code>anyio.wait_writable</code> before closing a socket. Among other things, this prevents an OSError on the <code>ProactorEventLoop</code>. (<a href="https://redirect.github.com/agronholm/anyio/pull/896">#896</a>; PR by <a href="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/graingert"><code>@​graingert</code></a>)</li> <li>Incorporated several documentation improvements from the EuroPython 2025 sprint (special thanks to the sprinters: Emmanuel Okedele, Jan Murre, Euxenia Miruna Goia and Christoffer Fjord)</li> <li>Added a documentation page explaining why one might want to use AnyIO's APIs instead of asyncio's</li> <li>Updated the <code>to_interpreters</code> module to use the public <code>concurrent.interpreters</code> API on Python 3.14 or later</li> <li>Fixed <code>anyio.Path.copy()</code> and <code>anyio.Path.copy_into()</code> failing on Python 3.14.0a7</li> <li>Fixed return annotation of <code>__aexit__</code> on async context managers. CMs which can suppress exceptions should return <code>bool</code>, or <code>None</code> otherwise. (<a href="https://redirect.github.com/agronholm/anyio/pull/913">#913</a>; PR by <a href="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/Enegg"><code>@​Enegg</code></a>)</li> <li>Fixed rollover boundary check in <code>SpooledTemporaryFile</code> so that rollover only occurs when the buffer size exceeds <code>max_size</code> (<a href="https://redirect.github.com/agronholm/anyio/pull/915">#915</a>; PR by <a href="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/11kkw"><code>@​11kkw</code></a>)</li> <li>Migrated testing and documentation dependencies from extras to dependency groups</li> <li>Fixed compatibility of <code>anyio.to_interpreter</code> with Python 3.14.0b2 (<a href="https://redirect.github.com/agronholm/anyio/issues/926">#926</a>; PR by <a href="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/hroncok"><code>@​hroncok</code></a>)</li> <li>Fixed <code>SyntaxWarning</code> on Python 3.14 about <code>return</code> in <code>finally</code> (<a href="https://redirect.github.com/agronholm/anyio/issues/816">#816</a>)</li> <li>Fixed RunVar name conflicts. RunVar instances with the same name should not share storage (<a href="https://redirect.github.com/agronholm/anyio/issues/880">#880</a>; PR by <a href="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/vimfu"><code>@​vimfu</code></a>)</li> <li>Renamed the <code>BrokenWorkerIntepreter</code> exception to <code>BrokenWorkerInterpreter</code>. The old name is available as a deprecated alias. (<a href="https://redirect.github.com/agronholm/anyio/pull/938">#938</a>; PR by <a href="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/ayussh-verma"><code>@​ayussh-verma</code></a>)</li> <li>Fixed an edge case in <code>CapacityLimiter</code> on asyncio where a task, waiting to acquire a limiter gets cancelled and is subsequently granted a token from the limiter, but before the cancellation is delivered, and then fails to notify the next waiting task (<a href="https://redirect.github.com/agronholm/anyio/issues/947">#947</a>)</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 &lt;http://semver.org/&gt;</code>_.</p> <p><strong>4.10.0</strong></p> <ul> <li> <p>Added the <code>feed_data()</code> method to the <code>BufferedByteReceiveStream</code> class, allowing users to inject data directly into the buffer</p> </li> <li> <p>Added various class methods to wrap existing sockets as listeners or socket streams:</p> <ul> <li><code>SocketListener.from_socket()</code></li> <li><code>SocketStream.from_socket()</code></li> <li><code>UNIXSocketStream.from_socket()</code></li> <li><code>UDPSocket.from_socket()</code></li> <li><code>ConnectedUDPSocket.from_socket()</code></li> <li><code>UNIXDatagramSocket.from_socket()</code></li> <li><code>ConnectedUNIXDatagramSocket.from_socket()</code></li> </ul> </li> <li> <p>Added a hierarchy of connectable stream classes for transparently connecting to various remote or local endpoints for exchanging bytes or objects</p> </li> <li> <p>Added context manager mix-in classes (<code>anyio.ContextManagerMixin</code> and <code>anyio.AsyncContextManagerMixin</code>) to help write classes that embed other context managers, particularly cancel scopes or task groups (<code>[#905](agronholm/anyio#905) &lt;https://github.com/agronholm/anyio/pull/905&gt;</code>_; PR by <a href="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/agronholm"><code>@​agronholm</code></a> and <a href="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/tapetersen"><code>@​tapetersen</code></a>)</p> </li> <li> <p>Added the ability to specify the thread name in <code>start_blocking_portal()</code> (<code>[#818](agronholm/anyio#818) &lt;https://github.com/agronholm/anyio/issues/818&gt;</code>_; PR by <a href="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/davidbrochart"><code>@​davidbrochart</code></a>)</p> </li> <li> <p>Added <code>anyio.notify_closing</code> to allow waking <code>anyio.wait_readable</code> and <code>anyio.wait_writable</code> before closing a socket. Among other things, this prevents an OSError on the <code>ProactorEventLoop</code>. (<code>[#896](agronholm/anyio#896) &lt;https://github.com/agronholm/anyio/pull/896&gt;</code>_; PR by <a href="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/graingert"><code>@​graingert</code></a>)</p> </li> <li> <p>Incorporated several documentation improvements from the EuroPython 2025 sprint (special thanks to the sprinters: Emmanuel Okedele, Jan Murre, Euxenia Miruna Goia and Christoffer Fjord)</p> </li> <li> <p>Added a documentation page explaining why one might want to use AnyIO's APIs instead of asyncio's</p> </li> <li> <p>Updated the <code>to_interpreters</code> module to use the public <code>concurrent.interpreters</code> API on Python 3.14 or later</p> </li> <li> <p>Fixed <code>anyio.Path.copy()</code> and <code>anyio.Path.copy_into()</code> failing on Python 3.14.0a7</p> </li> <li> <p>Fixed return annotation of <code>__aexit__</code> on async context managers. CMs which can suppress exceptions should return <code>bool</code>, or <code>None</code> otherwise. (<code>[#913](agronholm/anyio#913) &lt;https://github.com/agronholm/anyio/pull/913&gt;</code>_; PR by <a href="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/Enegg"><code>@​Enegg</code></a>)</p> </li> <li> <p>Fixed rollover boundary check in <code>SpooledTemporaryFile</code> so that rollover only occurs when the buffer size exceeds <code>max_size</code> (<code>[#915](agronholm/anyio#915) &lt;https://github.com/agronholm/anyio/pull/915&gt;</code>_; PR by <a href="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/11kkw"><code>@​11kkw</code></a>)</p> </li> <li> <p>Migrated testing and documentation dependencies from extras to dependency groups</p> </li> <li> <p>Fixed compatibility of <code>anyio.to_interpreter</code> with Python 3.14.0b2 (<code>[#926](agronholm/anyio#926) &lt;https://github.com/agronholm/anyio/issues/926&gt;</code>_; PR by <a href="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/hroncok"><code>@​hroncok</code></a>)</p> </li> <li> <p>Fixed <code>SyntaxWarning</code> on Python 3.14 about <code>return</code> in <code>finally</code> (<code>[#816](agronholm/anyio#816) &lt;https://github.com/agronholm/anyio/issues/816&gt;</code>_)</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/agronholm/anyio/commit/0cf55b8277128726c8d5720a4fda29ec1ffccfb6"><code>0cf55b8</code></a> Bumped up the version</li> <li><a href="https://github.com/agronholm/anyio/commit/b029df574164e0df7e542fa4fd01abdbb7db7345"><code>b029df5</code></a> Updated the to_interpreter module to use the public API on Python 3.14 (<a href="https://redirect.github.com/agronholm/anyio/issues/956">#956</a>)</li> <li><a href="https://github.com/agronholm/anyio/commit/01f02cf5ee9a706c89f57ef58c30de3cbf87abb1"><code>01f02cf</code></a> Incorporated EP2025 sprint feedback and added a new section (<a href="https://redirect.github.com/agronholm/anyio/issues/955">#955</a>)</li> <li><a href="https://github.com/agronholm/anyio/commit/d89648054c8a939fbde1cc2d590aa875b9139aa4"><code>d896480</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/agronholm/anyio/issues/954">#954</a>)</li> <li><a href="https://github.com/agronholm/anyio/commit/0282b814c0067b5fa336d339b4bd57ed6e62266c"><code>0282b81</code></a> Added the BufferedByteReceiveStream.feed_data() method (<a href="https://redirect.github.com/agronholm/anyio/issues/945">#945</a>)</li> <li><a href="https://github.com/agronholm/anyio/commit/19e5477238d37499de42ebedf99c557848479cfb"><code>19e5477</code></a> Fixed a cancellation edge case for asyncio CapacityLimiter (<a href="https://redirect.github.com/agronholm/anyio/issues/952">#952</a>)</li> <li><a href="https://github.com/agronholm/anyio/commit/4666df3905af92ac02b515e0827ff9510dcba827"><code>4666df3</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/agronholm/anyio/issues/946">#946</a>)</li> <li><a href="https://github.com/agronholm/anyio/commit/38c256709dc8d34de57a43faeab72c935e74ad6e"><code>38c2567</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/agronholm/anyio/issues/942">#942</a>)</li> <li><a href="https://github.com/agronholm/anyio/commit/3db73acbf7d715bc47fe9fd6d190374afa3132fb"><code>3db73ac</code></a> Add missing imports for Readcting to cancellation in worker threads example (...</li> <li><a href="https://github.com/agronholm/anyio/commit/2eda004497cc7ab2b8c1ede4d7c4c276f0840fd9"><code>2eda004</code></a> Added an example on how to use move_on_after() with shielding</li> <li>Additional commits viewable in <a href="https://github.com/agronholm/anyio/compare/4.9.0...4.10">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.9.0&new-version=4.10.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>
1 parent 0bc9783 commit 06ee205

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/requirements_lock.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ annotated-types==0.7.0 \
88
--hash=sha256:1f02e8b43a8fbbc3f3e0d4f0f4bfc8131bcb4eebe8849b8e5c773f3a1c582a53 \
99
--hash=sha256:aff07c09a53a08bc8cfccb9c85b05f1aa9a2a6f23728d790723543408344ce89
1010
# via pydantic
11-
anyio==4.9.0 \
12-
--hash=sha256:673c0c244e15788651a4ff38710fea9675823028a6f08a5eda409e0c9840a028 \
13-
--hash=sha256:9f76d541cad6e36af7beb62e978876f3b41e3e04f2c1fbf0884604c0a9c4d93c
11+
anyio==4.10.0 \
12+
--hash=sha256:3f3fae35c96039744587aa5b8371e7e8e603c0702999535961dd336026973ba6 \
13+
--hash=sha256:60e474ac86736bbfd6f210f7a61218939c318f43f9972497381f1c5e930ed3d1
1414
# via
1515
# httpx
1616
# mcp

0 commit comments

Comments
 (0)