From 7ab47960e7e96b6587d38f37e92ee55705bb5494 Mon Sep 17 00:00:00 2001 From: Trevor Gamblin Date: Fri, 21 Jul 2023 15:25:28 -0400 Subject: python3-execnet: upgrade 1.9.0 -> 2.0.2 execnet requires hatchling and hatch-vcs now, instead of setuptools. Changelog (https://github.com/pytest-dev/execnet/blob/master/CHANGELOG.rst): 2.0.2 (2023-07-09) - Re-release without code changes, just to include tox.ini into the source distribution. 2.0.1 (2023-07-08) - Re-release without code changes, just to include docs and tests into the source distribution. 2.0.0 (2023-07-06) - Removed support for Python < 3.7. - Applied pyupgrade --py37-plus. - Minimal mypy fixes and dropped Python 2 support code. - Migrated packaging to hatch. - Dropped deprecated APIs of old makegateway names. - Removed py testing dependency. - Explicitly pass encoding when opening files in the gateway to get rid of warnings when using PYTHONWARNDEFAULTENCODING=1 (#195). - Fixed error when loading source code files from a path containing non-ascii characters. Signed-off-by: Trevor Gamblin Signed-off-by: Khem Raj --- .../python/python3-execnet_2.0.2.bb | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-execnet_2.0.2.bb (limited to 'meta-python/recipes-devtools/python/python3-execnet_2.0.2.bb') diff --git a/meta-python/recipes-devtools/python/python3-execnet_2.0.2.bb b/meta-python/recipes-devtools/python/python3-execnet_2.0.2.bb new file mode 100644 index 0000000000..a934d1c461 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-execnet_2.0.2.bb @@ -0,0 +1,31 @@ +# 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] = "cc59bc4423742fd71ad227122eb0dd44db51efb3dc4095b45ac9a08c770096af" + +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 \ +" + +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