diff mbox series

[meta-python,1/2] python3-typeguard: Upgrade 4.1.5 -> 4.2.1

Message ID 20240327080328.3910249-1-leon.anavi@konsulko.com
State Accepted
Headers show
Series [meta-python,1/2] python3-typeguard: Upgrade 4.1.5 -> 4.2.1 | expand

Commit Message

Leon Anavi March 27, 2024, 8:03 a.m. UTC
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>
---
 ...{python3-typeguard_4.1.5.bb => python3-typeguard_4.2.1.bb} | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-typeguard_4.1.5.bb => python3-typeguard_4.2.1.bb} (84%)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-typeguard_4.1.5.bb b/meta-python/recipes-devtools/python/python3-typeguard_4.2.1.bb
similarity index 84%
rename from meta-python/recipes-devtools/python/python3-typeguard_4.1.5.bb
rename to meta-python/recipes-devtools/python/python3-typeguard_4.2.1.bb
index 1e9f6685d..e0e84df28 100644
--- a/meta-python/recipes-devtools/python/python3-typeguard_4.1.5.bb
+++ b/meta-python/recipes-devtools/python/python3-typeguard_4.2.1.bb
@@ -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 += " \