From 8529a1f0281ad63d93f4e029d43ca9a761ced5c7 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Wed, 15 Jul 2026 18:38:40 +0800 Subject: [PATCH] python3-anyio: upgrade 4.14.1 -> 4.14.2 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 Signed-off-by: Khem Raj --- .../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 --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 \