From 97fab599426e9f1d7345b415275e387f2646cf5f Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 26 Sep 2023 16:28:00 +0800 Subject: python3-hypothesis: upgrade 6.84.3 -> 6.86.2 Changelog: =========== -Hotfix for issue #3747, a bug in explain mode which is so rare that we missed it in six months of dogfooding. -This patch improves the documentation of @example(...).xfail() by adding a note about PEP 614, similar to @example(...).via(), and adds a warning when a strategy generates a test case which seems identical to one provided by an xfailed example. -This release enables the explain phase by default. -This patch switches some of our type annotations to use typing.Literal when only a few specific values are allowed, such as UUID or IP address versions. -This release deprecates the old whitelist/blacklist arguments to characters(), in favor of include/exclude arguments which more clearly describe their effects on the set of characters which can be generated. -You can use Hypothesis; codemods to automatically upgrade to the new argument names. (From OE-Core rev: e7302ee78e0b7f24740a665ba1a3d16987b08036) Signed-off-by: Wang Mingyu Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- .../python/python3-hypothesis_6.84.3.bb | 39 ---------------------- .../python/python3-hypothesis_6.86.2.bb | 39 ++++++++++++++++++++++ 2 files changed, 39 insertions(+), 39 deletions(-) delete mode 100644 meta/recipes-devtools/python/python3-hypothesis_6.84.3.bb create mode 100644 meta/recipes-devtools/python/python3-hypothesis_6.86.2.bb diff --git a/meta/recipes-devtools/python/python3-hypothesis_6.84.3.bb b/meta/recipes-devtools/python/python3-hypothesis_6.84.3.bb deleted file mode 100644 index 21b0f65a8e..0000000000 --- a/meta/recipes-devtools/python/python3-hypothesis_6.84.3.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] = "b4117f4138e81986cf62ad4e1410a021adeaa52e4b0326419da626cd7d3b6250" - -RDEPENDS:${PN} += " \ - python3-attrs \ - python3-compression \ - python3-core \ - python3-json \ - python3-pytest \ - python3-sortedcontainers \ - python3-statistics \ - python3-unittest \ - " - -RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-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.86.2.bb b/meta/recipes-devtools/python/python3-hypothesis_6.86.2.bb new file mode 100644 index 0000000000..6ec1457e46 --- /dev/null +++ b/meta/recipes-devtools/python/python3-hypothesis_6.86.2.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] = "e5d75d70f5a4fc372cddf03ec6141237a0a270ed106aeb2156a4984f06d37b0f" + +RDEPENDS:${PN} += " \ + python3-attrs \ + python3-compression \ + python3-core \ + python3-json \ + python3-pytest \ + python3-sortedcontainers \ + python3-statistics \ + python3-unittest \ + " + +RDEPENDS:${PN}-ptest += " \ + ${PYTHON_PN}-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