diff mbox series

[meta-python,10/44] python3-anyio: upgrade 4.14.1 -> 4.14.2

Message ID 20260715103914.2120-10-wangmy@fujitsu.com
State New
Headers show
Series [meta-perl,01/44] cpan-requirements-dynamic: upgrade 0.002 -> 0.003 | expand

Commit Message

Wang Mingyu July 15, 2026, 10:38 a.m. UTC
From: Wang Mingyu <wangmy@fujitsu.com>

Changelog:
===========
- Changed ByteReceiveStream.receive() implementations to raise a ValueError
  when max_bytes is not a positive integer
- 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
- 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
- Fixed anyio.open_process() (and run_process()) ignoring the extra_groups
  argument, as it mistakenly passed the value of the group argument instead
- 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
- 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
- Fixed unnecessary CPU spin when delivering cancellation from CancelScope on
  asyncio under certain conditions, including improper cancel scope nesting

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
---
 .../python/{python3-anyio_4.14.1.bb => python3-anyio_4.14.2.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-anyio_4.14.1.bb => python3-anyio_4.14.2.bb} (88%)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-anyio_4.14.1.bb b/meta-python/recipes-devtools/python/python3-anyio_4.14.2.bb
similarity index 88%
rename from meta-python/recipes-devtools/python/python3-anyio_4.14.1.bb
rename to meta-python/recipes-devtools/python/python3-anyio_4.14.2.bb
index b582b8eb0e..f817610a1c 100644
--- a/meta-python/recipes-devtools/python/python3-anyio_4.14.1.bb
+++ b/meta-python/recipes-devtools/python/python3-anyio_4.14.2.bb
@@ -5,7 +5,7 @@  LIC_FILES_CHKSUM = "file://LICENSE;md5=c0a769411d2af7894099e8ff75058c9f"
 
 inherit pypi python_setuptools_build_meta
 
-SRC_URI[sha256sum] = "8d648a3544c1a700e3ff78615cd679e4c5c3f149904287e73687b2596963629e"
+SRC_URI[sha256sum] = "cfa139f3ed1a23ee8f88a145ddb5ac7605b8bbfd8592baacd7ce3d8bb4313c7f"
 
 DEPENDS += " \
 	python3-setuptools-scm-native \