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 <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Leon Anavi
2024-03-27 10:03:27 +02:00
committed by Khem Raj
parent 063cde6040
commit d46d2caa25
@@ -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 += " \