mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-22 18:27:13 +00:00
003db9b546
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> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
22 lines
669 B
BlitzBasic
22 lines
669 B
BlitzBasic
DESCRIPTION = "ASGI is a standard for Python asynchronous web apps and servers to communicate with each other, and positioned as an asynchronous successor to WSGI."
|
|
HOMEPAGE = "https://pypi.org/project/asgiref/"
|
|
SECTION = "devel/python"
|
|
LICENSE = "BSD-3-Clause"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=f09eb47206614a4954c51db8a94840fa"
|
|
|
|
SRC_URI[sha256sum] = "59dcb51c272ad209d59bed5708a64a333083e86017d7fcdd67498eeab7784340"
|
|
|
|
export BUILD_SYS
|
|
export HOST_SYS
|
|
|
|
inherit pypi ptest-python-pytest setuptools3
|
|
|
|
RDEPENDS:${PN}-ptest += " \
|
|
python3-asyncio \
|
|
python3-io \
|
|
python3-multiprocessing \
|
|
python3-pytest-asyncio \
|
|
"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|