From d871faa66bb6160bd749e6acb72694f7594f4512 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Mon, 3 Apr 2023 18:08:09 +0800 Subject: python3-typeguard: upgrade 3.0.1 -> 3.0.2 Changelog: =========== Improved warnings by ensuring that they target user code and not Typeguard internal code Fixed warn_on_error() not showing where the type violation actually occurred Fixed local assignment to *args or **kwargs being type checked incorrectly Fixed TypeError on check_type(..., None) Fixed unpacking assignment not working with a starred variable (x, *y = ...) in the target tuple Fixed variable multi-assignment (a = b = c = ...) being type checked incorrectly Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-typeguard_3.0.1.bb | 30 ---------------------- .../python/python3-typeguard_3.0.2.bb | 30 ++++++++++++++++++++++ 2 files changed, 30 insertions(+), 30 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-typeguard_3.0.1.bb create mode 100644 meta-python/recipes-devtools/python/python3-typeguard_3.0.2.bb (limited to 'meta-python') diff --git a/meta-python/recipes-devtools/python/python3-typeguard_3.0.1.bb b/meta-python/recipes-devtools/python/python3-typeguard_3.0.1.bb deleted file mode 100644 index 932b6f0c6..000000000 --- a/meta-python/recipes-devtools/python/python3-typeguard_3.0.1.bb +++ /dev/null @@ -1,30 +0,0 @@ -SUMMARY = "Run-time type checker for Python" -HOMEPAGE = "https://pypi.org/project/typeguard/" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=f0e423eea5c91e7aa21bdb70184b3e53" - -SRC_URI[sha256sum] = "beb0e67c5dc76eea4a6d00a6606d444d899589908362960769d0c4a1d32bca70" - -inherit pypi python_setuptools_build_meta ptest - -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ - ${PYTHON_PN}-typing-extensions \ - ${PYTHON_PN}-unixadmin \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - -DEPENDS += "\ - python3-distutils-extra-native \ - python3-setuptools-scm-native \ -" - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta-python/recipes-devtools/python/python3-typeguard_3.0.2.bb b/meta-python/recipes-devtools/python/python3-typeguard_3.0.2.bb new file mode 100644 index 000000000..1661e7123 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-typeguard_3.0.2.bb @@ -0,0 +1,30 @@ +SUMMARY = "Run-time type checker for Python" +HOMEPAGE = "https://pypi.org/project/typeguard/" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=f0e423eea5c91e7aa21bdb70184b3e53" + +SRC_URI[sha256sum] = "fee5297fdb28f8e9efcb8142b5ee219e02375509cd77ea9d270b5af826358d5a" + +inherit pypi python_setuptools_build_meta ptest + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS:${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ + ${PYTHON_PN}-typing-extensions \ + ${PYTHON_PN}-unixadmin \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} + +DEPENDS += "\ + python3-distutils-extra-native \ + python3-setuptools-scm-native \ +" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf