From 14ddbedbd2d6a877cd693c833f05df8f8acd5909 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 27 Jun 2023 15:17:22 +0800 Subject: python3-pluggy: upgrade 1.0.0 -> 1.2.0 Changelog: ========== #405: The new-style hook wrappers, added in the yanked 1.1.0 release, now require an explicit wrapper=True designation in the @hookimpl() decorator. #364: Python 3.6 is no longer supported. #260: Added "new-style" hook wrappers, a simpler but equally powerful alternative to the existing hookwrapper=True wrappers. #364: Python 3.11 and 3.12 are now officially supported. #394: Added the :meth:`~pluggy._callers._Result.force_exception` method to _Result. (From OE-Core rev: 5e9e7c60698ebcbe4a774283bad54c6bcf675a7f) Signed-off-by: Wang Mingyu Signed-off-by: Richard Purdie --- .../python/python3-pluggy_1.0.0.bb | 29 ---------------------- .../python/python3-pluggy_1.2.0.bb | 29 ++++++++++++++++++++++ 2 files changed, 29 insertions(+), 29 deletions(-) delete mode 100644 meta/recipes-devtools/python/python3-pluggy_1.0.0.bb create mode 100644 meta/recipes-devtools/python/python3-pluggy_1.2.0.bb (limited to 'meta/recipes-devtools') diff --git a/meta/recipes-devtools/python/python3-pluggy_1.0.0.bb b/meta/recipes-devtools/python/python3-pluggy_1.0.0.bb deleted file mode 100644 index 99ae6336b7..0000000000 --- a/meta/recipes-devtools/python/python3-pluggy_1.0.0.bb +++ /dev/null @@ -1,29 +0,0 @@ -SUMMARY = "Plugin and hook calling mechanisms for python" -HOMEPAGE = "https://github.com/pytest-dev/pluggy" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=1c8206d16fd5cc02fa9b0bb98955e5c2" - -SRC_URI[sha256sum] = "4224373bacce55f955a878bf9cfa763c1e360858e330072059e10bad68531159" - -DEPENDS += "${PYTHON_PN}-setuptools-scm-native" -RDEPENDS:${PN} += "${PYTHON_PN}-importlib-metadata \ - ${PYTHON_PN}-more-itertools \ -" - -inherit pypi ptest python_setuptools_build_meta - -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ - ${PYTHON_PN}-unittest-automake-output \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/testing - cp -rf ${S}/testing/* ${D}${PTEST_PATH}/testing/ -} - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta/recipes-devtools/python/python3-pluggy_1.2.0.bb b/meta/recipes-devtools/python/python3-pluggy_1.2.0.bb new file mode 100644 index 0000000000..3322bb523b --- /dev/null +++ b/meta/recipes-devtools/python/python3-pluggy_1.2.0.bb @@ -0,0 +1,29 @@ +SUMMARY = "Plugin and hook calling mechanisms for python" +HOMEPAGE = "https://github.com/pytest-dev/pluggy" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=1c8206d16fd5cc02fa9b0bb98955e5c2" + +SRC_URI[sha256sum] = "d12f0c4b579b15f5e054301bb226ee85eeeba08ffec228092f8defbaa3a4c4b3" + +DEPENDS += "${PYTHON_PN}-setuptools-scm-native" +RDEPENDS:${PN} += "${PYTHON_PN}-importlib-metadata \ + ${PYTHON_PN}-more-itertools \ +" + +inherit pypi ptest python_setuptools_build_meta + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS:${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ + ${PYTHON_PN}-unittest-automake-output \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/testing + cp -rf ${S}/testing/* ${D}${PTEST_PATH}/testing/ +} + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf