From 6d4e668c765e2d3cd8035ab40b1b7259e8100407 Mon Sep 17 00:00:00 2001 From: Trevor Gamblin Date: Thu, 20 Jun 2024 10:07:50 -0400 Subject: python3-testtools: upgrade 2.7.1 -> 2.7.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also add python3-json and python3-compression to RDEPENDS so that the module imports correctly. Changelog (https://github.com/testing-cabal/testtools/blob/master/NEWS): - Treat methodName="runTest" similar to unittest.TestCase, fixes compatibility with pytest 8.3. (Natanael Copa, #372) - Format with ``ruff format``. (Jelmer Vernooij) - Use ruff for linting. (Jelmer Vernooij) - Fix compatibility with Python 3.12.1. (Matthew Treinish) - Deprecate SkippedTest exception. (Stephen Finucane) - Drop support for Python 3.7. (Jelmer Vernooij) (From OE-Core rev: 8e68feaee2dcaa5c0d7fdb829fae47f7858dc07b) Signed-off-by: Trevor Gamblin Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- .../python/python3-testtools_2.7.1.bb | 20 -------------------- .../python/python3-testtools_2.7.2.bb | 22 ++++++++++++++++++++++ 2 files changed, 22 insertions(+), 20 deletions(-) delete mode 100644 meta/recipes-devtools/python/python3-testtools_2.7.1.bb create mode 100644 meta/recipes-devtools/python/python3-testtools_2.7.2.bb diff --git a/meta/recipes-devtools/python/python3-testtools_2.7.1.bb b/meta/recipes-devtools/python/python3-testtools_2.7.1.bb deleted file mode 100644 index cc7e055632..0000000000 --- a/meta/recipes-devtools/python/python3-testtools_2.7.1.bb +++ /dev/null @@ -1,20 +0,0 @@ -SUMMARY = "Extensions to the Python standard library unit testing framework" -HOMEPAGE = "https://pypi.org/project/testtools/" -SECTION = "devel/python" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=e2c9d3e8ba7141c83bfef190e0b9379a" - -DEPENDS += "python3-hatch-vcs-native" - -inherit pypi python_hatchling - -SRC_URI[sha256sum] = "df6de96010e29ee21f637a147eabf30d50b25e3841dd1d68f93ee89ce77e366c" - -RDEPENDS:${PN} += "\ - python3-doctest \ - python3-extras \ - python3-six \ - " - -BBCLASSEXTEND = "nativesdk" - diff --git a/meta/recipes-devtools/python/python3-testtools_2.7.2.bb b/meta/recipes-devtools/python/python3-testtools_2.7.2.bb new file mode 100644 index 0000000000..8d7759b4a7 --- /dev/null +++ b/meta/recipes-devtools/python/python3-testtools_2.7.2.bb @@ -0,0 +1,22 @@ +SUMMARY = "Extensions to the Python standard library unit testing framework" +HOMEPAGE = "https://pypi.org/project/testtools/" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=e2c9d3e8ba7141c83bfef190e0b9379a" + +DEPENDS += "python3-hatch-vcs-native" + +inherit pypi python_hatchling + +SRC_URI[sha256sum] = "5be5bbc1f0fa0f8b60aca6ceec07845d41d0c475cf445bfadb4d2c45ec397ea3" + +RDEPENDS:${PN} += "\ + python3-compression \ + python3-doctest \ + python3-extras \ + python3-json \ + python3-six \ + " + +BBCLASSEXTEND = "nativesdk" + -- cgit v1.2.3-54-g00ecf