diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2023-10-13 17:05:34 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-10-19 13:38:57 +0100 |
| commit | 849eba582bf8bb31303409686ec8764e418b21cd (patch) | |
| tree | 46388c5565988f11dff128b30b671b147a06396c /meta/recipes-devtools/python/python3-hypothesis_6.86.2.bb | |
| parent | 8eb2dfb7959fb3394bb931571a8bc7a0f1015ad9 (diff) | |
| download | poky-849eba582bf8bb31303409686ec8764e418b21cd.tar.gz | |
python3-hypothesis: upgrade 6.86.2 -> 6.87.4
Changelog:
============
-When randoms() was called with use_true_randoms=False, calling sample on it
with an empty sequence and 0 elements would result in an error, when it
should have returned an empty sequence to agree with the normal behaviour of
random.Random. This fixes that discrepancy.
-This patch ensures that the hypothesis codemod CLI will print a warning
instead of stopping with an internal error if one of your files contains
invalid syntax (issue #3759).
-This patch makes some small changes to our NumPy integration to ensure forward
compatibility. Thanks to Mateusz Sokół for pull request #3761.
-Fixes issue #3755, where an internal condition turns out to be reachable after
all.
-This release deprecates use of assume() and reject() outside of property-based
tests, because these functions work by raising a special exceptioni.
It also fixes some type annotations (issue #3753).
(From OE-Core rev: 634f289c702e112964cc91eee02f9af7b6431bc5)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-hypothesis_6.86.2.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3-hypothesis_6.86.2.bb | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/meta/recipes-devtools/python/python3-hypothesis_6.86.2.bb b/meta/recipes-devtools/python/python3-hypothesis_6.86.2.bb deleted file mode 100644 index 6ec1457e46..0000000000 --- a/meta/recipes-devtools/python/python3-hypothesis_6.86.2.bb +++ /dev/null | |||
| @@ -1,39 +0,0 @@ | |||
| 1 | SUMMARY = "A library for property-based testing" | ||
| 2 | HOMEPAGE = "https://github.com/HypothesisWorks/hypothesis/tree/master/hypothesis-python" | ||
| 3 | LICENSE = "MPL-2.0" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4ee62c16ebd0f4f99d906f36b7de8c3c" | ||
| 5 | |||
| 6 | PYPI_PACKAGE = "hypothesis" | ||
| 7 | |||
| 8 | inherit pypi setuptools3 ptest | ||
| 9 | |||
| 10 | SRC_URI += " \ | ||
| 11 | file://run-ptest \ | ||
| 12 | file://test_binary_search.py \ | ||
| 13 | file://test_rle.py \ | ||
| 14 | " | ||
| 15 | |||
| 16 | SRC_URI[sha256sum] = "e5d75d70f5a4fc372cddf03ec6141237a0a270ed106aeb2156a4984f06d37b0f" | ||
| 17 | |||
| 18 | RDEPENDS:${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 | |||
| 29 | RDEPENDS:${PN}-ptest += " \ | ||
| 30 | ${PYTHON_PN}-unittest-automake-output \ | ||
| 31 | " | ||
| 32 | |||
| 33 | do_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 | |||
| 39 | BBCLASSEXTEND = "native nativesdk" | ||
