diff mbox series

[meta-python,3/3] python3-asgiref: Upgrade 3.11.1 -> 3.12.1

Message ID 20260715093602.2749784-3-leon.anavi@konsulko.com
State New
Headers show
Series [meta-python,1/3] python3-asttokens: Upgrade 3.0.1 -> 3.0.2 | expand

Commit Message

Leon Anavi July 15, 2026, 9:36 a.m. UTC
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 <leon.anavi@konsulko.com>
---
 .../{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 mbox series

Patch

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