From 93072bcb4ccee921a0626b3913f5f17748b7fde3 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Wed, 13 Mar 2024 15:08:18 +0800 Subject: 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: ce6efdf7b454f63bc8bc69552f6766fa42e70c16) Signed-off-by: Wang Mingyu Signed-off-by: Richard Purdie --- .../python/python3-hypothesis_6.98.15.bb | 39 ---------------------- .../python/python3-hypothesis_6.99.4.bb | 39 ++++++++++++++++++++++ 2 files changed, 39 insertions(+), 39 deletions(-) delete mode 100644 meta/recipes-devtools/python/python3-hypothesis_6.98.15.bb create mode 100644 meta/recipes-devtools/python/python3-hypothesis_6.99.4.bb diff --git a/meta/recipes-devtools/python/python3-hypothesis_6.98.15.bb b/meta/recipes-devtools/python/python3-hypothesis_6.98.15.bb deleted file mode 100644 index a17abe58c0..0000000000 --- a/meta/recipes-devtools/python/python3-hypothesis_6.98.15.bb +++ /dev/null @@ -1,39 +0,0 @@ -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] = "1e31210951511b24ce8b3b6e04d791c466385a30ac3af571bf2223954b025d77" - -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" 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 @@ +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] = "edc8f984dba5d1b69a6a4564246b7850fa7ec351d2b27c9e7a43c91deab8d45c" + +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" -- cgit v1.2.3-54-g00ecf