mirror of
https://git.yoctoproject.org/poky
synced 2026-02-11 03:03:02 +01:00
python3-hypothesis: upgrade 6.111.2 -> 6.112.1
Changelog (https://hypothesis.readthedocs.io/en/latest/changes.html): 6.112.1 - 2024-09-13 This patch removes a now-incorrect internal assertion about numpy’s typing after recent numpy changes (currently only in numpy’s nightly release). 6.112.0 - 2024-09-05 This release adds support for variable-width bytes in our IR layer (issue #3921), which should mean improved performance anywhere you use binary(). If you maintain an alternative backend as part of our (for now explicitly unstable) Alternative backends for Hypothesis, this release changes the draw_* interface and may be a breaking change for you. ptest output: |root@qemux86-64:~# ptest-runner python3-hypothesis |START: ptest-runner |2024-09-24T13:22 |BEGIN: /usr/lib/python3-hypothesis/ptest |PASS: examples/test_binary_search.py:test_insert_is_sorted |PASS: examples/test_binary_search.py:test_is_minimal |PASS: examples/test_binary_search.py:test_inserts_into_same_place_twice |PASS: examples/test_rle.py:test_decodes_to_starting_sequence |PASS: examples/test_rle.py:test_duplicating_an_element_does_not_increase_length |============================================================================ |Testsuite summary |# TOTAL: 5 |# PASS: 5 |# SKIP: 0 |# XFAIL: 0 |# FAIL: 0 |# XPASS: 0 |# ERROR: 0 |DURATION: 1 |END: /usr/lib/python3-hypothesis/ptest |2024-09-24T13:22 |STOP: ptest-runner |TOTAL: 1 FAIL: 0 (From OE-Core rev: ffb54d761759f02ac4f5eaf374c04e6cdffdb43a) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
e4b30c0de5
commit
0650c1194e
39
meta/recipes-devtools/python/python3-hypothesis_6.112.1.bb
Normal file
39
meta/recipes-devtools/python/python3-hypothesis_6.112.1.bb
Normal file
@@ -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] = "b070d7a1bb9bd84706c31885c9aeddc138e2b36a9c112a91984f49501c567856"
|
||||
|
||||
RDEPENDS:${PN} += " \
|
||||
python3-attrs \
|
||||
python3-compression \
|
||||
python3-core \
|
||||
python3-json \
|
||||
python3-pytest \
|
||||
python3-sortedcontainers \
|
||||
python3-statistics \
|
||||
python3-unittest \
|
||||
"
|
||||
|
||||
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"
|
||||
Reference in New Issue
Block a user