From 018bfb123042fc1851f1ad9be28a39aaa9583ac4 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Wed, 9 Oct 2024 13:49:04 +0800 Subject: python3-hypothesis: upgrade 6.112.1 -> 6.112.4 Changelog: =========== - tweak the paths in @example(...) patches, so that both git apply and patch will work by default. - refactor internals of hypothesis.stateful.Bundle to have a more consistent representation internally. - fixe an internal error when the __context__ attribute of a raised exception leads to a cycle (From OE-Core rev: 87f033e8f86650a22c742c9c6f357469ebb29747) Signed-off-by: Wang Mingyu Signed-off-by: Richard Purdie --- .../python/python3-hypothesis_6.112.1.bb | 39 ---------------------- .../python/python3-hypothesis_6.112.4.bb | 39 ++++++++++++++++++++++ 2 files changed, 39 insertions(+), 39 deletions(-) delete mode 100644 meta/recipes-devtools/python/python3-hypothesis_6.112.1.bb create mode 100644 meta/recipes-devtools/python/python3-hypothesis_6.112.4.bb diff --git a/meta/recipes-devtools/python/python3-hypothesis_6.112.1.bb b/meta/recipes-devtools/python/python3-hypothesis_6.112.1.bb deleted file mode 100644 index e4b7b53579..0000000000 --- a/meta/recipes-devtools/python/python3-hypothesis_6.112.1.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] = "b070d7a1bb9bd84706c31885c9aeddc138e2b36a9c112a91984f49501c567856" - -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 ${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.112.4.bb b/meta/recipes-devtools/python/python3-hypothesis_6.112.4.bb new file mode 100644 index 0000000000..1010348e38 --- /dev/null +++ b/meta/recipes-devtools/python/python3-hypothesis_6.112.4.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] = "8fe64e4a6d0862e209e3c36b42037aee9665cb839d619d9281be45345ab7d856" + +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 ${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