From a2bb210b835e3af115eec6c5a99ff4ecd4db8280 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Mon, 23 Dec 2024 17:10:58 +0800 Subject: python3-pytest-subtests: upgrade 0.13.1 -> 0.14.1 Changelog: =========== - Fix self.instance._outcome is None - Add support for Python 3.13. - Dropped support for EOL Python 3.8. - Fixed output when using TestCase.skipTest - Fixed pytest requirement to >=7.3 (From OE-Core rev: 2e76adbe47584736a6aa639b339392a36af5e872) Signed-off-by: Wang Mingyu Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- .../python/python3-pytest-subtests_0.14.1.bb | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-pytest-subtests_0.14.1.bb (limited to 'meta/recipes-devtools/python/python3-pytest-subtests_0.14.1.bb') diff --git a/meta/recipes-devtools/python/python3-pytest-subtests_0.14.1.bb b/meta/recipes-devtools/python/python3-pytest-subtests_0.14.1.bb new file mode 100644 index 0000000000..56cec25b86 --- /dev/null +++ b/meta/recipes-devtools/python/python3-pytest-subtests_0.14.1.bb @@ -0,0 +1,24 @@ +SUMMARY = "unittest subTest() support and subtests fixture." +DESCRIPTION = "Adds support for TestCase.subTest.\ +New subtests fixture, providing similar functionality for pure pytest tests." +HOMEPAGE = "https://github.com/pytest-dev/pytest-subtests" +BUGTRACKER = "https://github.com/pytest-dev/pytest-subtests/issues" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=242b4e17fa287dcf7aef372f6bc3dcb1" + +SRC_URI[sha256sum] = "350c00adc36c3aff676a66135c81aed9e2182e15f6c3ec8721366918bbbf7580" + +PYPI_PACKAGE = "pytest_subtests" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" + +inherit pypi python_setuptools_build_meta + +DEPENDS += "python3-setuptools-scm-native" + +RDEPENDS:${PN} += " \ + python3-attrs \ + python3-pytest \ +" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf