From: Wang Mingyu Date: Fri, 13 Oct 2023 09:05:34 +0000 (+0800) Subject: python3-hypothesis: upgrade 6.86.2 -> 6.87.4 X-Git-Tag: yocto-5.2~4829 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=634f289c702e112964cc91eee02f9af7b6431bc5;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git python3-hypothesis: upgrade 6.86.2 -> 6.87.4 Changelog: ============ -When randoms() was called with use_true_randoms=False, calling sample on it with an empty sequence and 0 elements would result in an error, when it should have returned an empty sequence to agree with the normal behaviour of random.Random. This fixes that discrepancy. -This patch ensures that the hypothesis codemod CLI will print a warning instead of stopping with an internal error if one of your files contains invalid syntax (issue #3759). -This patch makes some small changes to our NumPy integration to ensure forward compatibility. Thanks to Mateusz Sokół for pull request #3761. -Fixes issue #3755, where an internal condition turns out to be reachable after all. -This release deprecates use of assume() and reject() outside of property-based tests, because these functions work by raising a special exceptioni. It also fixes some type annotations (issue #3753). Signed-off-by: Wang Mingyu Signed-off-by: Luca Ceresoli --- diff --git a/meta/recipes-devtools/python/python3-hypothesis_6.86.2.bb b/meta/recipes-devtools/python/python3-hypothesis_6.87.4.bb similarity index 91% rename from meta/recipes-devtools/python/python3-hypothesis_6.86.2.bb rename to meta/recipes-devtools/python/python3-hypothesis_6.87.4.bb index 6ec1457e464..4f41e2ab1a6 100644 --- a/meta/recipes-devtools/python/python3-hypothesis_6.86.2.bb +++ b/meta/recipes-devtools/python/python3-hypothesis_6.87.4.bb @@ -13,7 +13,7 @@ SRC_URI += " \ file://test_rle.py \ " -SRC_URI[sha256sum] = "e5d75d70f5a4fc372cddf03ec6141237a0a270ed106aeb2156a4984f06d37b0f" +SRC_URI[sha256sum] = "c508779be66e266c45dbf9c1b2713e560dfd89abb044d92eafe91e8b2728af01" RDEPENDS:${PN} += " \ python3-attrs \