summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-hypothesis_6.99.4.bb
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2024-03-13 15:08:18 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-04-16 08:07:01 +0100
commit7c7826f787ffa8fe035978bc39304dc44ebbbebb (patch)
tree5347f1ec1f0b03d9eb0cd55f76deabef3e694566 /meta/recipes-devtools/python/python3-hypothesis_6.99.4.bb
parent934ad490201c5434a9d4cf60727d4f5eec421c89 (diff)
downloadpoky-7c7826f787ffa8fe035978bc39304dc44ebbbebb.tar.gz
python3-hypothesis: upgrade 6.98.15 -> 6.99.4
Changelog: ========== -Fix regression caused by using PEP 696 default in TypeVar with Python 3.13.0a3. -improves the type annotations in hypothesis.extra.numpy. -Simplify the type annotation of column() and columns() by using PEP 696 to avoid overloading. -implement type annotations for column(). -add the experimental and unstable backend setting. -fixe issue #3900, a performance regression for arrays() due to the interaction of 6.98.12 -improve the type annotations in hypothesis.extra.numpy, which makes inferred types more precise for both mypy and pyright, and fixes some strict-mode errors on the latter. -pave the way for future shrinker improvements. There is no user-visible change. (From OE-Core rev: 71cf65e4a1137c20ece34a6ad5a65f037295daf2) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-hypothesis_6.99.4.bb')
-rw-r--r--meta/recipes-devtools/python/python3-hypothesis_6.99.4.bb39
1 files changed, 39 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-hypothesis_6.99.4.bb b/meta/recipes-devtools/python/python3-hypothesis_6.99.4.bb
new file mode 100644
index 0000000000..64b8cf2c31
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-hypothesis_6.99.4.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] = "edc8f984dba5d1b69a6a4564246b7850fa7ec351d2b27c9e7a43c91deab8d45c"
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 python3-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"