Files
poky/meta/recipes-devtools/python/python3-hypothesis_6.100.1.bb
Wang Mingyu 3f48009b71 python3-hypothesis: upgrade 6.99.4 -> 6.100.1
Changelog:
=========
-improve a rare error message for flaky tests
-The from_dtype() function no longer generates NaT ("not-a-time") values for
 the datetime64 or timedelta64 dtypes if passed allow_nan=False
-includes the backend setting in the how_generated field of our observability output.
-If you were running Python 3.13 (currently in alpha) with pytest-xdist and
 then attempted to pretty-print a lambda functions which was created using
 the eval() builtin, it would have raised an AssertionError.
-improves an internal invariant.
-fixes Hypothesis sometimes raising a Flaky error when generating collections
 of unique floats containing nan.
-continues our work on refactoring the shrinker
-continues our work on refactoring shrinker internals
-resolves PermissionError that come from creating databases on inaccessible paths.
-starts work on refactoring our shrinker internals. There is no user-visible change.
-fixes a longstanding performance problem in stateful testing

(From OE-Core rev: 0652a662f01fef3364c375817809fbffc452cfaf)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:06:03 +01:00

40 lines
1.0 KiB
BlitzBasic

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] = "ebff09d7fa4f1fb6a855a812baf17e578b4481b7b70ec6d96496210d1a4c6c35"
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 ${WORKDIR}/test_binary_search.py ${D}${PTEST_PATH}/examples/
install -m 0755 ${WORKDIR}/test_rle.py ${D}${PTEST_PATH}/examples/
}
BBCLASSEXTEND = "native nativesdk"