summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-hypothesis_6.115.3.bb
diff options
context:
space:
mode:
authorTrevor Gamblin <tgamblin@baylibre.com>2024-10-22 12:58:05 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-10-24 15:18:54 +0100
commitaf09a399db4a3e8ca0d9d7e0877079c601977c27 (patch)
treecd1e22350dd829219fc84e260ff6bd7002cbf29e /meta/recipes-devtools/python/python3-hypothesis_6.115.3.bb
parentfb377b1d1ca3511198910cd88bd973917ddadb66 (diff)
downloadpoky-af09a399db4a3e8ca0d9d7e0877079c601977c27.tar.gz
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 <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-hypothesis_6.115.3.bb')
-rw-r--r--meta/recipes-devtools/python/python3-hypothesis_6.115.3.bb40
1 files changed, 40 insertions, 0 deletions
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 @@
1SUMMARY = "A library for property-based testing"
2HOMEPAGE = "https://github.com/HypothesisWorks/hypothesis/tree/master/hypothesis-python"
3LICENSE = "MPL-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4ee62c16ebd0f4f99d906f36b7de8c3c"
5
6PYPI_PACKAGE = "hypothesis"
7
8inherit pypi setuptools3 ptest
9
10SRC_URI += " \
11 file://run-ptest \
12 file://test_binary_search.py \
13 file://test_rle.py \
14 "
15
16SRC_URI[sha256sum] = "d4efc8c7371bd4ec906d2777f1f18fee5539e47b3d7c7cdc93d1026ad35d9b33"
17
18RDEPENDS:${PN} += " \
19 python3-attrs \
20 python3-compression \
21 python3-core \
22 python3-json \
23 python3-pytest \
24 python3-sortedcontainers \
25 python3-statistics \
26 python3-unittest \
27 python3-zoneinfo \
28 "
29
30RDEPENDS:${PN}-ptest += " \
31 python3-unittest-automake-output \
32 "
33
34do_install_ptest() {
35 install -d ${D}${PTEST_PATH}/examples
36 install -m 0755 ${UNPACKDIR}/test_binary_search.py ${D}${PTEST_PATH}/examples/
37 install -m 0755 ${UNPACKDIR}/test_rle.py ${D}${PTEST_PATH}/examples/
38}
39
40BBCLASSEXTEND = "native nativesdk"