From 3ecaa6717f50a7019eb612418c5ea3447945b850 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 18 Feb 2025 15:39:22 +0800 Subject: python3-hypothesis: upgrade 6.124.7 -> 6.125.3 Changelog: ============ - Improves sharing of some internal cache behavior. - Optimize performance (improves speed by ~5%) and clarify the wording in an error message. - Fixes a bug since around version 6.124.4 where we might have generated -0.0 for st.floats(min_value=0.0), which is unsound. - Add 2024.12 to the list of recognized Array API versions in hypothesis.extra.array_api. - Registration of experimental Alternative backends for Hypothesis is now done via hypothesis.internal.conjecture.providers.AVAILABLE_PROVIDERS instead of hypothesis.internal.conjecture.data.AVAILABLE_PROVIDERS. - Refactor some internals for better type hinting. (From OE-Core rev: d5400f3df7167d6b66a03e90fafff8a483e865ed) Signed-off-by: Wang Mingyu Signed-off-by: Richard Purdie --- .../python/python3-hypothesis_6.124.7.bb | 40 ---------------------- .../python/python3-hypothesis_6.125.3.bb | 40 ++++++++++++++++++++++ 2 files changed, 40 insertions(+), 40 deletions(-) delete mode 100644 meta/recipes-devtools/python/python3-hypothesis_6.124.7.bb create mode 100644 meta/recipes-devtools/python/python3-hypothesis_6.125.3.bb (limited to 'meta') diff --git a/meta/recipes-devtools/python/python3-hypothesis_6.124.7.bb b/meta/recipes-devtools/python/python3-hypothesis_6.124.7.bb deleted file mode 100644 index 6b294ff68c..0000000000 --- a/meta/recipes-devtools/python/python3-hypothesis_6.124.7.bb +++ /dev/null @@ -1,40 +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] = "8ed6c6ae47e7d26d869c1dc3dee04e8fc50c95240715bb9915ded88d6d920f0e" - -RDEPENDS:${PN} += " \ - python3-attrs \ - python3-compression \ - python3-core \ - python3-json \ - python3-pytest \ - python3-sortedcontainers \ - python3-statistics \ - python3-unittest \ - python3-zoneinfo \ - " - -RDEPENDS:${PN}-ptest += " \ - python3-unittest-automake-output \ - " - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/examples - install -m 0755 ${UNPACKDIR}/test_binary_search.py ${D}${PTEST_PATH}/examples/ - install -m 0755 ${UNPACKDIR}/test_rle.py ${D}${PTEST_PATH}/examples/ -} - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta/recipes-devtools/python/python3-hypothesis_6.125.3.bb b/meta/recipes-devtools/python/python3-hypothesis_6.125.3.bb new file mode 100644 index 0000000000..e5c1dfc6b4 --- /dev/null +++ b/meta/recipes-devtools/python/python3-hypothesis_6.125.3.bb @@ -0,0 +1,40 @@ +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] = "6276d9d8f7f91ebd7ad95081f004bcf5699afb4d680a8321861cbf3a5de45d3b" + +RDEPENDS:${PN} += " \ + python3-attrs \ + python3-compression \ + python3-core \ + python3-json \ + python3-pytest \ + python3-sortedcontainers \ + python3-statistics \ + python3-unittest \ + python3-zoneinfo \ + " + +RDEPENDS:${PN}-ptest += " \ + python3-unittest-automake-output \ + " + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/examples + install -m 0755 ${UNPACKDIR}/test_binary_search.py ${D}${PTEST_PATH}/examples/ + install -m 0755 ${UNPACKDIR}/test_rle.py ${D}${PTEST_PATH}/examples/ +} + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf