summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-hypothesis_6.86.2.bb
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2023-09-26 16:28:00 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-09-28 12:37:46 +0100
commit97fab599426e9f1d7345b415275e387f2646cf5f (patch)
treebcf3488af1a4167ee8448dbc5a969c509c216251 /meta/recipes-devtools/python/python3-hypothesis_6.86.2.bb
parente22738d2c5829c7c35293da0a77b8dd90815ba67 (diff)
downloadpoky-97fab599426e9f1d7345b415275e387f2646cf5f.tar.gz
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 <wangmy@fujitsu.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.86.2.bb')
-rw-r--r--meta/recipes-devtools/python/python3-hypothesis_6.86.2.bb39
1 files changed, 39 insertions, 0 deletions
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 @@
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] = "e5d75d70f5a4fc372cddf03ec6141237a0a270ed106aeb2156a4984f06d37b0f"
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 "
28
29RDEPENDS:${PN}-ptest += " \
30 ${PYTHON_PN}-unittest-automake-output \
31 "
32
33do_install_ptest() {
34 install -d ${D}${PTEST_PATH}/examples
35 install -m 0755 ${WORKDIR}/test_binary_search.py ${D}${PTEST_PATH}/examples/
36 install -m 0755 ${WORKDIR}/test_rle.py ${D}${PTEST_PATH}/examples/
37}
38
39BBCLASSEXTEND = "native nativesdk"