From 50e0ff3d8fd9e78b1f486920a103a642e102cb28 Mon Sep 17 00:00:00 2001 From: wangmy Date: Tue, 29 Mar 2022 08:39:40 +0800 Subject: python3-hypothesis: upgrade 6.39.2 -> 6.39.5 Changelog: ========= Improve error detection and message when Hypothesis is run on a Python implementation without support for "-0.0", which is required for the "floats()" strategy but can be disabled by unsafe compiler options (issue #3265). If the "shrink" phase is disabled, stop the "generate" phase as soon as an error is found regardless of the value of the "report_multiple_examples" setting, since that's probably what you wanted (issue #3244). (From OE-Core rev: 56702a6c8e066d3730dd336eeb98d10534226601) Signed-off-by: Wang Mingyu Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- .../python/python3-hypothesis_6.39.2.bb | 38 ---------------------- .../python/python3-hypothesis_6.39.5.bb | 38 ++++++++++++++++++++++ 2 files changed, 38 insertions(+), 38 deletions(-) delete mode 100644 meta/recipes-devtools/python/python3-hypothesis_6.39.2.bb create mode 100644 meta/recipes-devtools/python/python3-hypothesis_6.39.5.bb (limited to 'meta/recipes-devtools/python') diff --git a/meta/recipes-devtools/python/python3-hypothesis_6.39.2.bb b/meta/recipes-devtools/python/python3-hypothesis_6.39.2.bb deleted file mode 100644 index 01732d0087..0000000000 --- a/meta/recipes-devtools/python/python3-hypothesis_6.39.2.bb +++ /dev/null @@ -1,38 +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] = "7a16ba804baeebdcc5dc4638c32c5fc3fc552c1be30ae21a84c5d9c802b06e31" - -RDEPENDS:${PN} += " \ - python3-attrs \ - python3-compression \ - python3-core \ - python3-json \ - python3-sortedcontainers \ - python3-statistics \ - python3-unittest \ - " - -RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ - " - -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.39.5.bb b/meta/recipes-devtools/python/python3-hypothesis_6.39.5.bb new file mode 100644 index 0000000000..03ec94c1c1 --- /dev/null +++ b/meta/recipes-devtools/python/python3-hypothesis_6.39.5.bb @@ -0,0 +1,38 @@ +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] = "2972edc54c90c70049facfc31db19f1997f9c5e89d2a05f6eeea1107600350f0" + +RDEPENDS:${PN} += " \ + python3-attrs \ + python3-compression \ + python3-core \ + python3-json \ + python3-sortedcontainers \ + python3-statistics \ + python3-unittest \ + " + +RDEPENDS:${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ + " + +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