Skip to content

Commit

Permalink
python3-typeguard: upgrade 4.1.3 -> 4.1.5
Browse files Browse the repository at this point in the history
Changelog:
=========
-Fixed Callable erroneously rejecting a callable that has the requested amount
 of positional arguments but they have defaults
-Fixed a regression introduced in v4.1.4 where the elements of Literal got
 quotes removed from them by the AST transformer
-Fixed AttributeError where the transformer removed elements from a PEP 604 union
-Fixed AttributeError: 'Subscript' object has no attribute 'slice' when
 encountering an annotation with a subscript containing an ignored type
 (imported within an if TYPE_CHECKING: block)
-Fixed type checking not being skipped when the target is a union (PEP 604 or
 typing.Union) where one of the elements is an ignored type (shadowed by an
 argument, variable assignment or an if TYPE_CHECKING import) (openembedded#394, openembedded#395)
-Fixed type checking of class instances created in __new__() in cases such as
 enums where this method is already invoked before the class has finished initializing

Signed-off-by: Wang Mingyu <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
  • Loading branch information
wangmingyu84 authored and kraj committed Sep 20, 2023
1 parent 26119f7 commit 4498f13
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ HOMEPAGE = "https://pypi.org/project/typeguard/"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=f0e423eea5c91e7aa21bdb70184b3e53"

SRC_URI[sha256sum] = "7d4264cd631ac1157c5bb5ec992281b4f1e2ba7a35db91bc15f442235e244803"
SRC_URI[sha256sum] = "ea0a113bbc111bcffc90789ebb215625c963411f7096a7e9062d4e4630c155fd"

inherit pypi python_setuptools_build_meta ptest

Expand Down

0 comments on commit 4498f13

Please sign in to comment.