From d46d2caa25a0de13bec29f7393a98f6c557469d4 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Wed, 27 Mar 2024 10:03:27 +0200 Subject: [PATCH] python3-typeguard: Upgrade 4.1.5 -> 4.2.1 Upgrade to version 4.2.1: - Fixed missing typing_extensions dependency for Python 3.12 - Fixed deprecation warning in the test suite on Python 3.13 - Added support for specifying options for the pytest plugin via pytest config files - Avoid creating reference cycles when type checking unions - Fixed Optional[...] being removed from the AST if it was located within a subscript - Fixed TypedDict from typing_extensions not being recognized as one - Fixed typing types (dict[str, int], List[str], etc.) not passing checks against type or Type - Fixed detection of optional fields (NotRequired[...]) in TypedDict when using forward references - Fixed mapping checks against Django's MultiValueDict Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- ...{python3-typeguard_4.1.5.bb => python3-typeguard_4.2.1.bb} | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-typeguard_4.1.5.bb => python3-typeguard_4.2.1.bb} (84%) diff --git a/meta-python/recipes-devtools/python/python3-typeguard_4.1.5.bb b/meta-python/recipes-devtools/python/python3-typeguard_4.2.1.bb similarity index 84% rename from meta-python/recipes-devtools/python/python3-typeguard_4.1.5.bb rename to meta-python/recipes-devtools/python/python3-typeguard_4.2.1.bb index 1e9f6685db..e0e84df28a 100644 --- a/meta-python/recipes-devtools/python/python3-typeguard_4.1.5.bb +++ b/meta-python/recipes-devtools/python/python3-typeguard_4.2.1.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://pypi.org/project/typeguard/" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=f0e423eea5c91e7aa21bdb70184b3e53" -SRC_URI[sha256sum] = "ea0a113bbc111bcffc90789ebb215625c963411f7096a7e9062d4e4630c155fd" +SRC_URI[sha256sum] = "c556a1b95948230510070ca53fa0341fb0964611bd05d598d87fb52115d65fee" inherit pypi python_setuptools_build_meta ptest @@ -12,8 +12,10 @@ SRC_URI += " \ " RDEPENDS:${PN} += " \ + python3-core \ python3-compression \ python3-unittest \ + python3-typing-extensions \ " RDEPENDS:${PN}-ptest += " \