Commit 441743c
chore(deps): bump anyio from 4.9.0 to 4.10.0 (#120)
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
<http://semver.org/></code>_.</p>
<p><strong>UNRELEASED</strong></p>
<ul>
<li>Set <code>None</code> as the default type argument for
<code>anyio.abc.TaskStatus</code></li>
</ul>
<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)
<https://github.com/agronholm/anyio/pull/905></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)
<https://github.com/agronholm/anyio/issues/818></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)
<https://github.com/agronholm/anyio/pull/896></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)
<https://github.com/agronholm/anyio/pull/913></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)
<https://github.com/agronholm/anyio/pull/915></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>
</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 />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
You can trigger a rebase of this PR 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>
> **Note**
> Automatic rebases have been disabled on this pull request as it has
been open for over 30 days.
---------
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Stabldev <[email protected]>1 parent 812b6ba commit 441743c
File tree
0 file changed
+0
-0
lines changed0 file changed
+0
-0
lines changed
0 commit comments