From 450dd90aab07a1186132a08c4a451d4110820b8c Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Mon, 16 Feb 2026 14:29:51 +0200 Subject: [PATCH] python3-typeguard: Upgrade 4.4.4 -> 4.5.0 Upgrade to release 4.5.0: - Restored the check_argument_types() and check_return_type() functions that were dropped in v3.0.0, for users who want more fine-grained control over run-time type checking - Added support for extra_items in TypedDict, allowing users to specify the types for the values of "leftover" keys in a typed dict (keys that weren't explicitly defined in the TypedDict subclass) - Fixed NameError when evaluating forward references on Python 3.14 - Fixed protocol check incorrectly rejecting inherited classmethods and staticmethods - Fixed missing TypeCheckError when checking TypedDict with Required[...] annotations - Fixed type aliases (e.g. type Foo = list[int]) not being resolved during type checking - Fixed type-checked assignments to a single tuple target (e.g. x, = ("foo",)) falsely raising TypeCheckedError Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../{python3-typeguard_4.4.4.bb => python3-typeguard_4.5.0.bb} | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-typeguard_4.4.4.bb => python3-typeguard_4.5.0.bb} (85%) diff --git a/meta-python/recipes-devtools/python/python3-typeguard_4.4.4.bb b/meta-python/recipes-devtools/python/python3-typeguard_4.5.0.bb similarity index 85% rename from meta-python/recipes-devtools/python/python3-typeguard_4.4.4.bb rename to meta-python/recipes-devtools/python/python3-typeguard_4.5.0.bb index 812288881d..e294e3e701 100644 --- a/meta-python/recipes-devtools/python/python3-typeguard_4.4.4.bb +++ b/meta-python/recipes-devtools/python/python3-typeguard_4.5.0.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://pypi.org/project/typeguard/" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=f0e423eea5c91e7aa21bdb70184b3e53" -SRC_URI[sha256sum] = "3a7fd2dffb705d4d0efaed4306a704c89b9dee850b688f060a8b1615a79e5f74" +SRC_URI[sha256sum] = "749bea21cdb2553e12831bc29f1eae980b22c7de8331ab67ae7db9e85470b5a7" inherit pypi python_setuptools_build_meta ptest-python-pytest @@ -12,6 +12,7 @@ RDEPENDS:${PN} += " \ python3-compression \ python3-unittest \ python3-typing-extensions \ + python3-json \ " RDEPENDS:${PN}-ptest += " \