mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-11-13 03:37:15 +00:00
python3-asgiref: Upgrade 3.12.1 -> 3.13.0
Upgrade to release 3.13.0: - It is now possible to nest ThreadSensitiveContext by providing an explicit executor for thread-sensitive tasks. This enables moving a block of such work away from the parent context's shared worker. The provided executor must run work sequentially and on a single thread, as per ThreadPoolExecutor(max_workers=1), and the calling code is responsible for managing the executor's lifecycle. - Local attribute access is now 2-3x faster. Local(...) now uses one of two internal specialisations, selected by thread_critical, instead of checking the mode on every access. As a result Local is now marked @final and raises TypeError if subclassed. Subclassing was never supported, and could not have worked correctly with the specialised implementations. - asgiref.timeout.timeout is deprecated, and will be removed in a future release. Move to use asyncio.timeout() instead. - Added support for Python 3.15. - Dropped support for EOL Python 3.10. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
1 parent
75130cb9c0
commit
703e088d33
1 file changed
+1
-1
@@ -0,0 +1,21 @@
|
||||
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] = "034cc8cbf72d00553b4be256703ac545120b4e50af13b49dec99da899aeeecb4"
|
||||
|
||||
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"
|
||||
Reference in new issue
Block a user