From afc078bab378bc721a260f5b56165fd4ef129c66 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Tue, 7 Jan 2025 16:00:38 +0200 Subject: python3-anyio: Upgrade 4.7.0 -> 4.8.0 Upgrade to release 4.8.0: - Added experimental support for running functions in subinterpreters on Python 3.13 and later - Added support for the copy(), copy_into(), move() and move_into() methods in anyio.Path, available in Python 3.14 - Changed TaskGroup on asyncio to always spawn tasks non-eagerly, even if using a task factory created via asyncio.create_eager_task_factory(), to preserve expected Trio-like task scheduling semantics - Configure SO_RCVBUF, SO_SNDBUF and TCP_NODELAY on the selector thread waker socket pair (this should improve the performance of wait_readable() and wait_writable() when using the ProactorEventLoop) - Fixed AssertionError when using nest-asyncio - Fixed return type annotation of various context managers' __exit__ method Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-anyio_4.8.0.bb | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-anyio_4.8.0.bb (limited to 'meta-python/recipes-devtools/python/python3-anyio_4.8.0.bb') diff --git a/meta-python/recipes-devtools/python/python3-anyio_4.8.0.bb b/meta-python/recipes-devtools/python/python3-anyio_4.8.0.bb new file mode 100644 index 0000000000..c103eba46d --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-anyio_4.8.0.bb @@ -0,0 +1,27 @@ +SUMMARY = "High level compatibility layer for multiple asynchronous event loop implementations" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=c0a769411d2af7894099e8ff75058c9f" + +inherit pypi python_setuptools_build_meta + +SRC_URI[sha256sum] = "1d9fe889df5212298c0c0723fa20479d1b94883a2df44bd3897aa91083316f7a" + +DEPENDS += " \ + python3-setuptools-scm-native \ +" + +# Don't provide "trio" PACKAGECONFIG as nothing provides "python3-trio" currently. +# If somebody needs this please feel free to add python3-trio and enable the +# packageconfig below: +#PACKAGECONFIG ??= "" +#PACKAGECONFIG[trio] = ",,,python3-trio" + +RDEPENDS:${PN} += "\ + python3-idna \ + python3-sniffio \ + python3-core \ + python3-numbers \ + python3-io \ + python3-asyncio \ +" -- cgit v1.2.3-54-g00ecf