From: Wang Mingyu Date: Thu, 19 Mar 2026 10:13:24 +0000 (+0800) Subject: python3-testtools: upgrade 2.8.3 -> 2.8.7 X-Git-Tag: yocto-6.0_M3~242 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cccbf55c8b675a50aff3b4d2d8bd62250bd26e74;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git python3-testtools: upgrade 2.8.3 -> 2.8.7 Improvements ------------ * Fix an issue with "iterate_tests", which was recently changes to insist on accepting an instance of "unittest.TestSuite", breaking some users. * Improve the type annotations for "testtools.testcase.TestCase.skipTest" * Correct a URL in the README * Improve the type annotations for "testtools.testcase.TestCase.assertRaises". This method will now be typed correctly when called as a method or as a context manager. * Fix the type annotations for "testtools.testcase.TestCase.useFixture" * Clear "force_failure" in "_reset()" so that re-running a test after an "expectThat" failure can succeed if successful conditions are met again. * Make "extract_result()" and "DeferredNotFired" public APIs in "testtools.twistedsupport". These utilities are useful for extracting results from synchronous Deferreds in tests. * Add support for "unittest.TestCase.subTest". Failures are reported individually while the entire test method is still treated as a single test. * Add "testtools.matchers.test" module providing a test harness for users who write their own custom matchers. Changes ------- * Re-add compat helpers and helper modules that were accidentally removed in a patch release, breaking API compatibility. These are now deprecated and will be removed in a future major release. * "typing-extensions" is no longer required at runtime; it is only needed for type checking. Signed-off-by: Wang Mingyu Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/python/python3-testtools_2.8.3.bb b/meta/recipes-devtools/python/python3-testtools_2.8.7.bb similarity index 84% rename from meta/recipes-devtools/python/python3-testtools_2.8.3.bb rename to meta/recipes-devtools/python/python3-testtools_2.8.7.bb index 2ac8759784..db3ec2373d 100644 --- a/meta/recipes-devtools/python/python3-testtools_2.8.3.bb +++ b/meta/recipes-devtools/python/python3-testtools_2.8.7.bb @@ -8,7 +8,7 @@ DEPENDS += "python3-hatch-vcs-native" inherit pypi python_hatchling -SRC_URI[sha256sum] = "3b54b543a7583a35f65538b1d36a327fc34943a26bb839bcbe4b2c5e085aa939" +SRC_URI[sha256sum] = "1aa19aaabf9736385fc111a95f94f6b0661c0b41e65ca5129223eb518c63e8b9" RDEPENDS:${PN} += "\ python3-compression \