From 003db9b546ae3b36dd7b7992087a9fc00e224d31 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Wed, 15 Jul 2026 12:36:02 +0300 Subject: [PATCH] python3-asgiref: Upgrade 3.11.1 -> 3.12.1 Upgrade to release 3.12.1: - Restored the previous SyncToAsync.__call__ internal code shape, which was relied on by some APM services. From 3.12.0: - AsyncToSync no longer captures the running event loop on instantiation - Fixed an event loop deadlock when exiting ThreadSensitiveContext while its executor thread was still blocked waiting on the event loop. - Dropped support for EOL Python 3.9. - Fixed StatelessServer.run() failing on Python 3.14, where asyncio.get_event_loop() no longer creates an event loop if none exists. It now uses asyncio.run(). - Fixed Local leaking data between unrelated sync threads when sys.flags.thread_inherit_context is enabled (Python 3.14+), so a newly started thread inherits a copy of the spawning thread's context. This flag is on by default on free-threaded builds and opt-in on the regular GIL build. Local storage is now tagged with its owning thread and re-homed only when asgiref intentionally moves work across threads (in async_to_sync / sync_to_async), restoring the documented thread-local behaviour in sync threads. Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../{python3-asgiref_3.11.1.bb => python3-asgiref_3.12.1.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-asgiref_3.11.1.bb => python3-asgiref_3.12.1.bb} (86%) diff --git a/meta-python/recipes-devtools/python/python3-asgiref_3.11.1.bb b/meta-python/recipes-devtools/python/python3-asgiref_3.12.1.bb similarity index 86% rename from meta-python/recipes-devtools/python/python3-asgiref_3.11.1.bb rename to meta-python/recipes-devtools/python/python3-asgiref_3.12.1.bb index e372d4771b..01c5568dd4 100644 --- a/meta-python/recipes-devtools/python/python3-asgiref_3.11.1.bb +++ b/meta-python/recipes-devtools/python/python3-asgiref_3.12.1.bb @@ -4,7 +4,7 @@ SECTION = "devel/python" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=f09eb47206614a4954c51db8a94840fa" -SRC_URI[sha256sum] = "5f184dc43b7e763efe848065441eac62229c9f7b0475f41f80e207a114eda4ce" +SRC_URI[sha256sum] = "59dcb51c272ad209d59bed5708a64a333083e86017d7fcdd67498eeab7784340" export BUILD_SYS export HOST_SYS