mirror of
https://git.yoctoproject.org/poky
synced 2026-04-07 23:02:22 +02:00
python3-hypothesis: upgrade 6.124.7 -> 6.125.3
Changelog: ============ - Improves sharing of some internal cache behavior. - Optimize performance (improves speed by ~5%) and clarify the wording in an error message. - Fixes a bug since around version 6.124.4 where we might have generated -0.0 for st.floats(min_value=0.0), which is unsound. - Add 2024.12 to the list of recognized Array API versions in hypothesis.extra.array_api. - Registration of experimental Alternative backends for Hypothesis is now done via hypothesis.internal.conjecture.providers.AVAILABLE_PROVIDERS instead of hypothesis.internal.conjecture.data.AVAILABLE_PROVIDERS. - Refactor some internals for better type hinting. (From OE-Core rev: d5400f3df7167d6b66a03e90fafff8a483e865ed) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
7239109f20
commit
3ecaa6717f
40
meta/recipes-devtools/python/python3-hypothesis_6.125.3.bb
Normal file
40
meta/recipes-devtools/python/python3-hypothesis_6.125.3.bb
Normal file
@@ -0,0 +1,40 @@
|
||||
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] = "6276d9d8f7f91ebd7ad95081f004bcf5699afb4d680a8321861cbf3a5de45d3b"
|
||||
|
||||
RDEPENDS:${PN} += " \
|
||||
python3-attrs \
|
||||
python3-compression \
|
||||
python3-core \
|
||||
python3-json \
|
||||
python3-pytest \
|
||||
python3-sortedcontainers \
|
||||
python3-statistics \
|
||||
python3-unittest \
|
||||
python3-zoneinfo \
|
||||
"
|
||||
|
||||
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