From af09a399db4a3e8ca0d9d7e0877079c601977c27 Mon Sep 17 00:00:00 2001 From: Trevor Gamblin Date: Tue, 22 Oct 2024 12:58:05 -0400 Subject: python3-hypothesis: upgrade 6.112.4 -> 6.115.3 Changelog (https://hypothesis.readthedocs.io/en/latest/changes.html): 6.115.3 - 2024-10-16 - This patch fixes a regression from version 6.115.2 where generating values from integers() with certain values for min_value and max_value would error. 6.115.2 - 2024-10-14 - This release improves integer shrinking by folding the endpoint upweighting for integers() into the weights parameter of our IR (issue #3921). If you maintain an alternative backend as part of our (for now explicitly unstable) Alternative backends for Hypothesis, this release changes the type of the weights parameter to draw_integer and may be a breaking change for you. 6.115.1 - 2024-10-14 - This patch improves the performance of from_type() with pydantic.types.condate (issue #4000). 6.115.0 - 2024-10-12 - This improves the formatting of dataclasses and attrs classes when printing falsifying examples. 6.114.1 - 2024-10-10 - This patch upgrades remaining type annotations to Python 3.9 syntax. 6.114.0 - 2024-10-09 - This release drops support for Python 3.8, which reached end of life on 2024-10-07. 6.113.0 - 2024-10-09 - This release adds hypothesis.errors.BackendCannotProceed, an unstable API for use by Alternative backends for Hypothesis. 6.112.5 - 2024-10-08 - This release fixes a regression where hypothesis.stateful.Bundle did not work properly with flatmap functionality (issue #4128). (From OE-Core rev: 0ab451304025f7fdad06345c73233daa47e4f8b9) Signed-off-by: Trevor Gamblin Signed-off-by: Richard Purdie --- .../python/python3-hypothesis_6.115.3.bb | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-hypothesis_6.115.3.bb (limited to 'meta/recipes-devtools/python/python3-hypothesis_6.115.3.bb') diff --git a/meta/recipes-devtools/python/python3-hypothesis_6.115.3.bb b/meta/recipes-devtools/python/python3-hypothesis_6.115.3.bb new file mode 100644 index 0000000000..c8dc1b08eb --- /dev/null +++ b/meta/recipes-devtools/python/python3-hypothesis_6.115.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] = "d4efc8c7371bd4ec906d2777f1f18fee5539e47b3d7c7cdc93d1026ad35d9b33" + +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