From b8cab7bb9acffe7776d0f89fec356a37ca75e6bb Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 24 Dec 2024 17:26:02 +0800 Subject: python3-anyio: upgrade 4.6.2 -> 4.7.0 Changelog: =========== - Updated TaskGroup to work with asyncio's eager task factories - Added the wait_readable() and wait_writable() functions which will accept an object with a .fileno() method or an integer handle, and deprecated their now obsolete versions (wait_socket_readable() and wait_socket_writable()) - Changed EventAdapter (an Event with no bound async backend) to allow set() to work even before an async backend is bound to it - Added support for wait_readable() and wait_writable() on ProactorEventLoop (used on asyncio + Windows by default) - Fixed a misleading ValueError in the context of DNS failures - Fixed the return type annotations of readinto() and readinto1() methods in the anyio.AsyncFile class - Fixed TaskInfo.has_pending_cancellation() on asyncio returning false positives in cleanup code on Python >= 3.11 - Fixed cancelled cancel scopes on asyncio calling asyncio.Task.uncancel when propagating a CancelledError on exit to a cancelled parent scope1 Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-anyio_4.6.2.bb | 27 ---------------------- .../recipes-devtools/python/python3-anyio_4.7.0.bb | 27 ++++++++++++++++++++++ 2 files changed, 27 insertions(+), 27 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-anyio_4.6.2.bb create mode 100644 meta-python/recipes-devtools/python/python3-anyio_4.7.0.bb (limited to 'meta-python') diff --git a/meta-python/recipes-devtools/python/python3-anyio_4.6.2.bb b/meta-python/recipes-devtools/python/python3-anyio_4.6.2.bb deleted file mode 100644 index 231a7fb878..0000000000 --- a/meta-python/recipes-devtools/python/python3-anyio_4.6.2.bb +++ /dev/null @@ -1,27 +0,0 @@ -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] = "f72a7bb3dd0752b3bd8b17a844a019d7fbf6ae218c588f4f9ba1b2f600b12347" - -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 \ -" diff --git a/meta-python/recipes-devtools/python/python3-anyio_4.7.0.bb b/meta-python/recipes-devtools/python/python3-anyio_4.7.0.bb new file mode 100644 index 0000000000..5f90ffbd55 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-anyio_4.7.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] = "2f834749c602966b7d456a7567cafcb309f96482b5081d14ac93ccd457f9dd48" + +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