From ce91849438344471983b51623c5c2fdef3d30027 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Tue, 18 Mar 2025 16:02:49 +0200 Subject: python3-anyio: Upgrade 4.8.0 -> 4.9.0 Upgrade to release 4.9.0: - Added async support for temporary file handling - Added 4 new fixtures for the AnyIO pytest plugin: - free_tcp_port_factory: session scoped fixture returning a callable that generates unused TCP port numbers - free_udp_port_factory: session scoped fixture returning a callable that generates unused UDP port numbers - free_tcp_port: function scoped fixture that invokes the free_tcp_port_factory fixture to generate a free TCP port number - free_udp_port: function scoped fixture that invokes the free_udp_port_factory fixture to generate a free UDP port number - Added stdin argument to anyio.run_process() akin to what anyio.open_process(), asyncio.create_subprocess(), trio.run_process(), and subprocess.run() - Added the info property to anyio.Path on Python 3.14 - Changed anyio.getaddrinfo() to ignore (invalid) IPv6 name resolution results when IPv6 support is disabled in Python - Changed EndOfStream raised from MemoryObjectReceiveStream.receive() to leave out the AttributeError from the exception chain which was merely an implementation detail and caused some confusion - Fixed traceback formatting growing quadratically with level of TaskGroup nesting on asyncio due to exception chaining when raising ExceptionGroups in TaskGroup.__aexit__ - Fixed anyio.Path.iterdir() making a blocking call in Python 3.13 - Fixed connect_tcp() producing cyclic references in tracebacks when raising exceptions - Fixed anyio.to_thread.run_sync() needlessly holding on to references of the context, function, arguments and others until the next work item on asyncio Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-anyio_4.8.0.bb | 27 ---------------------- .../recipes-devtools/python/python3-anyio_4.9.0.bb | 27 ++++++++++++++++++++++ 2 files changed, 27 insertions(+), 27 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-anyio_4.8.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-anyio_4.9.0.bb (limited to 'meta-python') 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 deleted file mode 100644 index c103eba46d..0000000000 --- a/meta-python/recipes-devtools/python/python3-anyio_4.8.0.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] = "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 \ -" diff --git a/meta-python/recipes-devtools/python/python3-anyio_4.9.0.bb b/meta-python/recipes-devtools/python/python3-anyio_4.9.0.bb new file mode 100644 index 0000000000..9cbe26a6d5 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-anyio_4.9.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] = "673c0c244e15788651a4ff38710fea9675823028a6f08a5eda409e0c9840a028" + +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