From 6651b63d1bbd4f9d690c42ccc85403a5c2de0feb Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Wed, 15 Mar 2023 19:13:33 +0800 Subject: python3-testtools: upgrade 2.5.0 -> 2.6.0 Improvements ------------ * Add support for Python 3.10 and 3.11. * Drop support for Python 3.5 (EOL). * Distutils integration is deprecated and will be removed in the next major version. * Use "CompoundFixture" from "fixtures>=2.0" rather than rolling our own. * Provide a "testtools[twisted]" extra documenting dependencies needed for "testtools.twistedsupport". * Make "TestCase" hashable. * Prevent "AttributeError" in "TestCase.__eq__" for objects lacking a "__dict__" attribute. * Replace deprecated "cgi" module usage with "email". (From OE-Core rev: c0d0428deabf519e86bc0ffb7ff47e9bb0a165c4) Signed-off-by: Wang Mingyu Signed-off-by: Richard Purdie --- meta/recipes-devtools/python/python-testtools.inc | 2 +- meta/recipes-devtools/python/python3-testtools_2.5.0.bb | 2 -- meta/recipes-devtools/python/python3-testtools_2.6.0.bb | 3 +++ 3 files changed, 4 insertions(+), 3 deletions(-) delete mode 100644 meta/recipes-devtools/python/python3-testtools_2.5.0.bb create mode 100644 meta/recipes-devtools/python/python3-testtools_2.6.0.bb (limited to 'meta/recipes-devtools/python') diff --git a/meta/recipes-devtools/python/python-testtools.inc b/meta/recipes-devtools/python/python-testtools.inc index ef5e15cc3a..e004d0eb0b 100644 --- a/meta/recipes-devtools/python/python-testtools.inc +++ b/meta/recipes-devtools/python/python-testtools.inc @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=e2c9d3e8ba7141c83bfef190e0b9379a" inherit pypi -SRC_URI[sha256sum] = "57c13433d94f9ffde3be6534177d10fb0c1507cc499319128958ca91a65cb23f" +SRC_URI[sha256sum] = "28b65e14c0f2d3ecbbfb5f55c9dcde5e4faa80ac16a37a823909a1fe3cbcb30a" DEPENDS += " \ ${PYTHON_PN}-pbr \ diff --git a/meta/recipes-devtools/python/python3-testtools_2.5.0.bb b/meta/recipes-devtools/python/python3-testtools_2.5.0.bb deleted file mode 100644 index 896ecee65c..0000000000 --- a/meta/recipes-devtools/python/python3-testtools_2.5.0.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools3 -require python-testtools.inc diff --git a/meta/recipes-devtools/python/python3-testtools_2.6.0.bb b/meta/recipes-devtools/python/python3-testtools_2.6.0.bb new file mode 100644 index 0000000000..79e46a02de --- /dev/null +++ b/meta/recipes-devtools/python/python3-testtools_2.6.0.bb @@ -0,0 +1,3 @@ +inherit setuptools3 +require python-testtools.inc + -- cgit v1.2.3-54-g00ecf