Update dependency anyio to v4.14.2 #70

Closed
spacebot wants to merge 1 commit from renovate/anyio-4.x into main
Owner

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: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, 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**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, 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:eyJjcmVhdGVkSW5WZXIiOiI0My4yODguMCIsInVwZGF0ZWRJblZlciI6IjQzLjI4OC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
kitten closed this pull request 2026-08-05 02:18:33 +02:00
Author
Owner

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (==4.14.2). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

### Renovate Ignore Notification Because you closed this PR without merging, Renovate will ignore this update (`==4.14.2`). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the `ignoreDeps` array of your Renovate config. If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
spacebar/SplatNet-Backend!70
No description provided.