Files
poky/meta/recipes-devtools/python/python3-hypothesis_6.103.0.bb
Trevor Gamblin ee7921c574 python3-hypothesis: upgrade 6.102.4 -> 6.103.0
There are three releases since 6.102.4.

Changelog (https://hypothesis.readthedocs.io/en/latest/changes.html):

6.103.0 - 2024-05-29

- This release migrates the shrinker to our new internal representation,
  called the IR layer (pull request #3962). This improves the shrinker’s
  performance in the majority of cases. For example, on the Hypothesis
  test suite, shrinking is a median of 1.38x faster.
- It is possible this release regresses performance while shrinking
  certain strategies. If you encounter strategies which reliably shrink
  more slowly than they used to (or shrink slowly at all), please open
  an issue!
- You can read more about the IR layer at issue #3921.

6.102.6 - 2024-05-23

- This patch fixes one of our shrinking passes getting into a rare O(n)
  case instead of O(log(n)).

6.102.5 - 2024-05-22

- This patch fixes some introspection errors new in Python 3.11.9 and
  3.13.0b1, for the Ghostwriter and from_type().

(From OE-Core rev: fc78eccf808014e60bc56bd7966ab00e5a7f9a80)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-06 11:56: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] = "7fe91917b99fc98ac150ec295775a687448c7c42c2276ab6e4a6969a4b285bb5"
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"