From 1c755d1a2d95fbfcd0d3896f2211a21dbfe97ec0 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Wed, 17 Apr 2024 09:40:34 +0800 Subject: python3-execnet: upgrade 2.0.2 -> 2.1.1 Changelog: ============ -Fixed regression in 2.1.0 where the strconfig argument to load/loads is ignored -Added main_thread_only execmodel which is derived from the thread execmodel and only executes remote_exec calls in the main thread. -The library is now typed and the typing is exposed to type-checkers. -Re-exported Gateway, Channel, DumpError and LoadError from execnet. The constructors are private. -Fixed GatewayBase.join() timeout argument getting ignored. -Removed support for Python 3.7. -Added official support for Python 3.12. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-execnet_2.1.1.bb | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-execnet_2.1.1.bb (limited to 'meta-python/recipes-devtools/python/python3-execnet_2.1.1.bb') diff --git a/meta-python/recipes-devtools/python/python3-execnet_2.1.1.bb b/meta-python/recipes-devtools/python/python3-execnet_2.1.1.bb new file mode 100644 index 0000000000..94c1a228e3 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-execnet_2.1.1.bb @@ -0,0 +1,32 @@ +# Copyright (C) 2021 Khem Raj +# Released under the MIT license (see COPYING.MIT for the terms) + +SUMMARY = "execnet: rapid multi-Python deployment" +HOMEPAGE = "https://execnet.readthedocs.io/en/latest/" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=772fcdaca14b378878d05c7d857e6c3e" + +DEPENDS += "\ + python3-pip-native \ + python3-hatch-vcs-native \ +" + +SRC_URI += "file://run-ptest \ + " +SRC_URI[sha256sum] = "5189b52c6121c24feae288166ab41b32549c7e2348652736540b9e6e7d4e72e3" + +inherit ptest pypi python_hatchling + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/testing/* ${D}${PTEST_PATH}/tests/ +} + +RDEPENDS:${PN}-ptest += "\ + python3-pytest \ + python3-unittest-automake-output \ +" + +RDEPENDS:${PN} += "python3-core python3-crypt python3-ctypes python3-fcntl python3-io python3-shell python3-threading" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf