From 787f17701c6356829e9ef954cacf7e4442866537 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Wed, 23 Apr 2025 13:12:55 +0300 Subject: python3-trio: Upgrade 0.29.0 -> 0.30.0 Upgrade to release 0.30.0: - Add @trio.as_safe_channel, a wrapper that can be used to make async generators safe. This will be the suggested fix for the flake8-async lint rule ASYNC900. - Allow trio to be a types.ModuleType and still have deprecated attributes. - Fixed socket module for some older systems which lack socket.AI_NUMERICSERV. - Now trio works on legacy (pre-Lion) macOS. - Update type hints for trio.run_process and trio.lowlevel.open_process. - Don't mutate the global runner when MockClock is created. - Fix incorrect return type hint for Nursery.start(). Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-trio_0.29.0.bb | 18 ------------------ .../recipes-devtools/python/python3-trio_0.30.0.bb | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+), 18 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-trio_0.29.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-trio_0.30.0.bb (limited to 'meta-python') diff --git a/meta-python/recipes-devtools/python/python3-trio_0.29.0.bb b/meta-python/recipes-devtools/python/python3-trio_0.29.0.bb deleted file mode 100644 index 35fd05a199..0000000000 --- a/meta-python/recipes-devtools/python/python3-trio_0.29.0.bb +++ /dev/null @@ -1,18 +0,0 @@ -SUMMARY = "A friendly Python library for async concurrency and I/O" -HOMEPAGE = "https://github.com/python-trio/trio" -LICENSE = "Apache-2.0 & MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=447ea202d14d2aee40d8a2c26c865da9 \ - file://LICENSE.APACHE2;md5=3b83ef96387f14655fc854ddc3c6bd57 \ - file://LICENSE.MIT;md5=5f229c828e5a6f0a2ce90c7d3c054721" - -SRC_URI[sha256sum] = "ea0d3967159fc130acb6939a0be0e558e364fee26b5deeecc893a6b08c361bdf" - -inherit pypi python_setuptools_build_meta - -RDEPENDS:${PN} = " \ - python3-idna \ - python3-sniffio \ - python3-attrs \ - python3-outcome \ - python3-sortedcontainers \ -" diff --git a/meta-python/recipes-devtools/python/python3-trio_0.30.0.bb b/meta-python/recipes-devtools/python/python3-trio_0.30.0.bb new file mode 100644 index 0000000000..2013891074 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-trio_0.30.0.bb @@ -0,0 +1,18 @@ +SUMMARY = "A friendly Python library for async concurrency and I/O" +HOMEPAGE = "https://github.com/python-trio/trio" +LICENSE = "Apache-2.0 & MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=447ea202d14d2aee40d8a2c26c865da9 \ + file://LICENSE.APACHE2;md5=3b83ef96387f14655fc854ddc3c6bd57 \ + file://LICENSE.MIT;md5=5f229c828e5a6f0a2ce90c7d3c054721" + +SRC_URI[sha256sum] = "0781c857c0c81f8f51e0089929a26b5bb63d57f927728a5586f7e36171f064df" + +inherit pypi python_setuptools_build_meta + +RDEPENDS:${PN} = " \ + python3-idna \ + python3-sniffio \ + python3-attrs \ + python3-outcome \ + python3-sortedcontainers \ +" -- cgit v1.2.3-54-g00ecf