mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-02-17 15:20:32 +00:00
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 <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -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 += " \
|
||||
Reference in New Issue
Block a user