From 37594d354b993925d8ef02c8abe191e6c8e747cf Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Fri, 22 Mar 2024 19:56:07 +0200 Subject: python3-anyio: Upgrade 4.2.0 -> 4.3.0 Upgrade to version 4.3.0: - Added support for the Python 3.12 walk_up keyword argument in anyio.Path.relative_to() (PR by Colin Taylor) - Fixed passing total_tokens to anyio.CapacityLimiter() as a keyword argument not working on the trio backend (#515) - Fixed Process.aclose() not performing the minimum level of necessary cleanup when cancelled. Previously: - Cancellation of Process.aclose() could leak an orphan process - Cancellation of run_process() could very briefly leak an orphan process. - Cancellation of Process.aclose() or run_process() on Trio could leave standard streams unclosed - Fixed Process.stdin.aclose(), Process.stdout.aclose(), and Process.stderr.aclose() not including a checkpoint on asyncio - Fixed documentation on how to provide your own typed attributes Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-anyio_4.2.0.bb | 23 ------------------ .../recipes-devtools/python/python3-anyio_4.3.0.bb | 27 ++++++++++++++++++++++ 2 files changed, 27 insertions(+), 23 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-anyio_4.2.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-anyio_4.3.0.bb (limited to 'meta-python/recipes-devtools') diff --git a/meta-python/recipes-devtools/python/python3-anyio_4.2.0.bb b/meta-python/recipes-devtools/python/python3-anyio_4.2.0.bb deleted file mode 100644 index 0bf907de78..0000000000 --- a/meta-python/recipes-devtools/python/python3-anyio_4.2.0.bb +++ /dev/null @@ -1,23 +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] = "e1875bb4b4e2de1669f4bc7869b6d3f54231cdced71605e6e64c9be77e3be50f" - -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 \ -" diff --git a/meta-python/recipes-devtools/python/python3-anyio_4.3.0.bb b/meta-python/recipes-devtools/python/python3-anyio_4.3.0.bb new file mode 100644 index 0000000000..2c7a9f8cab --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-anyio_4.3.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] = "f75253795a87df48568485fd18cdd2a3fa5c4f7c5be8e5e36637733fce06fed6" + +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