summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-hypothesis_6.57.1.bb
diff options
context:
space:
mode:
authorTim Orling <ticotimo@gmail.com>2022-11-15 08:51:34 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-11-20 08:29:07 +0000
commitce3f034fc5b1d32c0cb3e4347de170b274630dbe (patch)
treee0275330e19003d0beec98f60945495e98519600 /meta/recipes-devtools/python/python3-hypothesis_6.57.1.bb
parentaa3cb188b853c3ecec1a3c9a141da1e71f7604e5 (diff)
downloadpoky-ce3f034fc5b1d32c0cb3e4347de170b274630dbe.tar.gz
python3-hypothesis: upgrade 6.56.4 -> 6.57.1
6.57.1 - 2022-11-14 This patch updates some internal type annotations and fixes a formatting bug in the explain phase reporting. 6.57.0 - 2022-11-14 Hypothesis now raises an error if you passed a strategy as the alphabet= argument to text(), and it generated something which was not a length-one string. This has never been supported, we’re just adding explicit validation to catch cases like this StackOverflow question. https://hypothesis.readthedocs.io/en/latest/changes.html#v6-57-1 (From OE-Core rev: 8a4a1fbc7c882a5768d9d5c48edcd92867f7fab4) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-hypothesis_6.57.1.bb')
-rw-r--r--meta/recipes-devtools/python/python3-hypothesis_6.57.1.bb38
1 files changed, 38 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-hypothesis_6.57.1.bb b/meta/recipes-devtools/python/python3-hypothesis_6.57.1.bb
new file mode 100644
index 0000000000..064d7014d5
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-hypothesis_6.57.1.bb
@@ -0,0 +1,38 @@
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] = "1d8ed5136f368e343f39172b06f68aa7fd1312cf643c332ab18a75d56789fa90"
17
18RDEPENDS:${PN} += " \
19 python3-attrs \
20 python3-compression \
21 python3-core \
22 python3-json \
23 python3-sortedcontainers \
24 python3-statistics \
25 python3-unittest \
26 "
27
28RDEPENDS:${PN}-ptest += " \
29 ${PYTHON_PN}-pytest \
30 "
31
32do_install_ptest() {
33 install -d ${D}${PTEST_PATH}/examples
34 install -m 0755 ${WORKDIR}/test_binary_search.py ${D}${PTEST_PATH}/examples/
35 install -m 0755 ${WORKDIR}/test_rle.py ${D}${PTEST_PATH}/examples/
36}
37
38BBCLASSEXTEND = "native nativesdk"