From 3f48009b71a3a821a5e42433777d95dc2730f439 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Wed, 24 Apr 2024 16:42:18 +0800 Subject: python3-hypothesis: upgrade 6.99.4 -> 6.100.1 Changelog: ========= -improve a rare error message for flaky tests -The from_dtype() function no longer generates NaT ("not-a-time") values for the datetime64 or timedelta64 dtypes if passed allow_nan=False -includes the backend setting in the how_generated field of our observability output. -If you were running Python 3.13 (currently in alpha) with pytest-xdist and then attempted to pretty-print a lambda functions which was created using the eval() builtin, it would have raised an AssertionError. -improves an internal invariant. -fixes Hypothesis sometimes raising a Flaky error when generating collections of unique floats containing nan. -continues our work on refactoring the shrinker -continues our work on refactoring shrinker internals -resolves PermissionError that come from creating databases on inaccessible paths. -starts work on refactoring our shrinker internals. There is no user-visible change. -fixes a longstanding performance problem in stateful testing (From OE-Core rev: 0652a662f01fef3364c375817809fbffc452cfaf) Signed-off-by: Wang Mingyu Signed-off-by: Richard Purdie --- .../python/python3-hypothesis_6.100.1.bb | 39 ++++++++++++++++++++++ .../python/python3-hypothesis_6.99.4.bb | 39 ---------------------- 2 files changed, 39 insertions(+), 39 deletions(-) create mode 100644 meta/recipes-devtools/python/python3-hypothesis_6.100.1.bb delete mode 100644 meta/recipes-devtools/python/python3-hypothesis_6.99.4.bb (limited to 'meta/recipes-devtools/python') diff --git a/meta/recipes-devtools/python/python3-hypothesis_6.100.1.bb b/meta/recipes-devtools/python/python3-hypothesis_6.100.1.bb new file mode 100644 index 0000000000..af7facfe7e --- /dev/null +++ b/meta/recipes-devtools/python/python3-hypothesis_6.100.1.bb @@ -0,0 +1,39 @@ +SUMMARY = "A library for property-based testing" +HOMEPAGE = "https://github.com/HypothesisWorks/hypothesis/tree/master/hypothesis-python" +LICENSE = "MPL-2.0" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4ee62c16ebd0f4f99d906f36b7de8c3c" + +PYPI_PACKAGE = "hypothesis" + +inherit pypi setuptools3 ptest + +SRC_URI += " \ + file://run-ptest \ + file://test_binary_search.py \ + file://test_rle.py \ + " + +SRC_URI[sha256sum] = "ebff09d7fa4f1fb6a855a812baf17e578b4481b7b70ec6d96496210d1a4c6c35" + +RDEPENDS:${PN} += " \ + python3-attrs \ + python3-compression \ + python3-core \ + python3-json \ + python3-pytest \ + python3-sortedcontainers \ + python3-statistics \ + python3-unittest \ + " + +RDEPENDS:${PN}-ptest += " \ + python3-unittest-automake-output \ + " + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/examples + install -m 0755 ${WORKDIR}/test_binary_search.py ${D}${PTEST_PATH}/examples/ + install -m 0755 ${WORKDIR}/test_rle.py ${D}${PTEST_PATH}/examples/ +} + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta/recipes-devtools/python/python3-hypothesis_6.99.4.bb b/meta/recipes-devtools/python/python3-hypothesis_6.99.4.bb deleted file mode 100644 index 64b8cf2c31..0000000000 --- a/meta/recipes-devtools/python/python3-hypothesis_6.99.4.bb +++ /dev/null @@ -1,39 +0,0 @@ -SUMMARY = "A library for property-based testing" -HOMEPAGE = "https://github.com/HypothesisWorks/hypothesis/tree/master/hypothesis-python" -LICENSE = "MPL-2.0" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4ee62c16ebd0f4f99d906f36b7de8c3c" - -PYPI_PACKAGE = "hypothesis" - -inherit pypi setuptools3 ptest - -SRC_URI += " \ - file://run-ptest \ - file://test_binary_search.py \ - file://test_rle.py \ - " - -SRC_URI[sha256sum] = "edc8f984dba5d1b69a6a4564246b7850fa7ec351d2b27c9e7a43c91deab8d45c" - -RDEPENDS:${PN} += " \ - python3-attrs \ - python3-compression \ - python3-core \ - python3-json \ - python3-pytest \ - python3-sortedcontainers \ - python3-statistics \ - python3-unittest \ - " - -RDEPENDS:${PN}-ptest += " \ - python3-unittest-automake-output \ - " - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/examples - install -m 0755 ${WORKDIR}/test_binary_search.py ${D}${PTEST_PATH}/examples/ - install -m 0755 ${WORKDIR}/test_rle.py ${D}${PTEST_PATH}/examples/ -} - -BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf