chore(deps): update dependency anyio to v4.14.2 #141

Merged
alpha-nerd merged 1 commit from renovate/anyio-4.x into main 2026-07-14 13:58:15 +02:00
Collaborator

This PR contains the following updates:

Package Change Age Confidence
anyio (changelog) ==4.14.1==4.14.2 age confidence

Release Notes

agronholm/anyio (anyio)

v4.14.2

Compare Source

  • Changed ByteReceiveStream.receive() implementations to raise a ValueError when max_bytes is not a positive integer (#​1191)
  • Fixed CapacityLimiter.total_tokens rejecting float("inf") when the limiter was instantiated outside of an event loop. The adapter setter checked for infinity by identity (value is math.inf), so only the exact math.inf singleton was accepted, while every backend setter (using math.isinf()) accepts any positive infinity (#​1189; PR by @​greymoth-jp).
  • Fixed to_process.run_sync() deadlocking when the worker function writes enough data to sys.stderr to fill the (undrained) pipe buffer. The worker process now redirects sys.stderr to os.devnull as well, matching the documented behavior
  • Fixed TLSStream.wrap() matching an internationalized (unicode) host name against the peer certificate using IDNA 2003 (via the standard library) instead of IDNA 2008, which could cause the host name to be matched against the wrong certificate (#​1208)
  • Fixed anyio.open_process() (and run_process()) ignoring the extra_groups argument, as it mistakenly passed the value of the group argument instead (#​1209)
  • Fixed CapacityLimiter.acquire_nowait() and CapacityLimiter.acquire_nowait_on_behalf_of() raising trio.WouldBlock instead of anyio.WouldBlock on the trio backend when there are no tokens available (#​1218)
  • Fixed CapacityLimiter on the asyncio backend over-granting tokens (borrowed_tokens exceeding total_tokens and available_tokens going negative) when a non-blocking acquire was made in the window between a token being released and the notified waiter resuming. The freed token is now reserved for the woken waiter right away, so the non-blocking acquire correctly raises WouldBlock (#​1170; PR by @​gaoflow)
  • Fixed unnecessary CPU spin when delivering cancellation from CancelScope on asyncio under certain conditions, including improper cancel scope nesting (#​1111)

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [anyio](https://github.com/agronholm/anyio) ([changelog](https://anyio.readthedocs.io/en/stable/versionhistory.html)) | `==4.14.1` → `==4.14.2` | ![age](https://developer.mend.io/api/mc/badges/age/pypi/anyio/4.14.2?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/anyio/4.14.1/4.14.2?slim=true) | --- ### Release Notes <details> <summary>agronholm/anyio (anyio)</summary> ### [`v4.14.2`](https://github.com/agronholm/anyio/releases/tag/4.14.2) [Compare Source](https://github.com/agronholm/anyio/compare/4.14.1...4.14.2) - Changed `ByteReceiveStream.receive()` implementations to raise a `ValueError` when `max_bytes` is not a positive integer ([#&#8203;1191](https://github.com/agronholm/anyio/pull/1191)) - Fixed `CapacityLimiter.total_tokens` rejecting `float("inf")` when the limiter was instantiated outside of an event loop. The adapter setter checked for infinity by identity (`value is math.inf`), so only the exact `math.inf` singleton was accepted, while every backend setter (using `math.isinf()`) accepts any positive infinity ([#&#8203;1189](https://github.com/agronholm/anyio/pull/1189); PR by [@&#8203;greymoth-jp](https://github.com/greymoth-jp)). - Fixed `to_process.run_sync()` deadlocking when the worker function writes enough data to `sys.stderr` to fill the (undrained) pipe buffer. The worker process now redirects `sys.stderr` to `os.devnull` as well, matching the documented behavior - Fixed `TLSStream.wrap()` matching an internationalized (unicode) host name against the peer certificate using IDNA 2003 (via the standard library) instead of IDNA 2008, which could cause the host name to be matched against the wrong certificate ([#&#8203;1208](https://github.com/agronholm/anyio/pull/1208)) - Fixed `anyio.open_process()` (and `run_process()`) ignoring the `extra_groups` argument, as it mistakenly passed the value of the `group` argument instead ([#&#8203;1209](https://github.com/agronholm/anyio/pull/1209)) - Fixed `CapacityLimiter.acquire_nowait()` and `CapacityLimiter.acquire_nowait_on_behalf_of()` raising `trio.WouldBlock` instead of `anyio.WouldBlock` on the `trio` backend when there are no tokens available ([#&#8203;1218](https://github.com/agronholm/anyio/pull/1218)) - Fixed `CapacityLimiter` on the asyncio backend over-granting tokens (`borrowed_tokens` exceeding `total_tokens` and `available_tokens` going negative) when a non-blocking acquire was made in the window between a token being released and the notified waiter resuming. The freed token is now reserved for the woken waiter right away, so the non-blocking acquire correctly raises `WouldBlock` ([#&#8203;1170](https://github.com/agronholm/anyio/issues/1170); PR by [@&#8203;gaoflow](https://github.com/gaoflow)) - Fixed unnecessary CPU spin when delivering cancellation from `CancelScope` on asyncio under certain conditions, including improper cancel scope nesting ([#&#8203;1111](https://github.com/agronholm/anyio/issues/1111)) </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNjguNSIsInVwZGF0ZWRJblZlciI6IjQzLjE2OC41IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
renovate-bot added the
dependencies
label 2026-07-12 23:33:53 +02:00
renovate-bot added 1 commit 2026-07-12 23:33:54 +02:00
chore(deps): update dependency anyio to v4.14.2
All checks were successful
PR Tests / test (pull_request) Successful in 1m18s
NYX Security Scan / nyx-scan (pull_request) Successful in 5m50s
8fa7911175
renovate-bot scheduled this pull request to auto merge when all checks succeed 2026-07-12 23:33:59 +02:00
alpha-nerd merged commit 5804614a4a into main 2026-07-14 13:58:15 +02:00
Sign in to join this conversation.
No description provided.