Skip to contentSkip to conversation

python3-typeguard: Upgrade 4.1.5 -> 4.2.1

PATCH New Leon Anavi 1 participant 2 messages Mar 27, 2024

lore
Share & tools
lore

Leon Anavi

author
#0 lore raw

PATCH 1/2 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

---
 ...{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%)
meta-python/recipes-devtools/python/python3-typeguard_4.2.1.bb renamed from meta-python/recipes-devtools/python/python3-typeguard_4.1.5.bb +3 -1
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
@@ -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 += " \
Signature · 1 line
2.39.2
author
#1 lore raw

PATCH 2/2 python3-cachetools: Upgrade 5.3.2 -> 5.3.3

Upgrade to version 5.3.3:

- Documentation improvements
- Update CI environment

License-Update: Update copyright years to 2024

---
 ...ython3-cachetools_5.3.2.bb => python3-cachetools_5.3.3.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-cachetools_5.3.2.bb => python3-cachetools_5.3.3.bb} (80%)
meta-python/recipes-devtools/python/python3-cachetools_5.3.3.bb renamed from meta-python/recipes-devtools/python/python3-cachetools_5.3.2.bb +2 -2
similarity index 80%
rename from meta-python/recipes-devtools/python/python3-cachetools_5.3.2.bb
rename to meta-python/recipes-devtools/python/python3-cachetools_5.3.3.bb
index 22060ef04..3ef75d470 100644
@@ -6,7 +6,7 @@ Python 3 Standard Library @lru_cache function decorator."
 SECTION = "devel/python"
 
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=1ec55353c80c662e4255f8889a0ca558"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=539275e657c6b7af026bb908356f7541"
 
 inherit pypi python_setuptools_build_meta ptest
 
@@ -28,6 +28,6 @@ do_install_ptest() {
 	cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
 }
 
-SRC_URI[sha256sum] = "086ee420196f7b2ab9ca2db2520aca326318b68fe5ba8bc4d49cca91add450f2"
+SRC_URI[sha256sum] = "ba29e2dfa0b8b556606f097407ed1aa62080ee108ab0dc5ec9d6a723a007d105"
 
 BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.39.2