diff mbox series

[meta-python,1/5] python3-typeguard: Upgrade 4.4.4 -> 4.5.0

Message ID 20260216122955.2642743-1-leon.anavi@konsulko.com
State Under Review
Headers show
Series [meta-python,1/5] python3-typeguard: Upgrade 4.4.4 -> 4.5.0 | expand

Commit Message

Leon Anavi Feb. 16, 2026, 12:29 p.m. UTC
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 <leon.anavi@konsulko.com>
---
 .../{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 mbox series

Patch

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 += " \