diff mbox series

[meta-python,1/5] python3-pydantic: Upgrade 2.9.2 -> 2.10.2

Message ID 20241127112617.789120-1-leon.anavi@konsulko.com
State New
Headers show
Series [meta-python,1/5] python3-pydantic: Upgrade 2.9.2 -> 2.10.2 | expand

Commit Message

Leon Anavi Nov. 27, 2024, 11:26 a.m. UTC
Upgrade to version 2.10.2:

- Only evaluate FieldInfo annotations if required during schema
  building
- Do not evaluate annotations for private fields
- Support serialization as any for Secret types and Url types
- Fix type hint of Field.default to be compatible with Python 3.8
  and 3.9
- Add hashing support for URL types
- Hide BaseModel.__replace__ definition from type checkers

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 .../{python3-pydantic_2.9.2.bb => python3-pydantic_2.10.2.bb}   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-pydantic_2.9.2.bb => python3-pydantic_2.10.2.bb} (96%)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-pydantic_2.9.2.bb b/meta-python/recipes-devtools/python/python3-pydantic_2.10.2.bb
similarity index 96%
rename from meta-python/recipes-devtools/python/python3-pydantic_2.9.2.bb
rename to meta-python/recipes-devtools/python/python3-pydantic_2.10.2.bb
index 9f1c964e49..bfc658e38a 100644
--- a/meta-python/recipes-devtools/python/python3-pydantic_2.9.2.bb
+++ b/meta-python/recipes-devtools/python/python3-pydantic_2.10.2.bb
@@ -11,7 +11,7 @@  LIC_FILES_CHKSUM = "file://LICENSE;md5=09280955509d1c4ca14bae02f21d49a6"
 
 inherit pypi python_hatchling
 
-SRC_URI[sha256sum] = "d155cef71265d1e9807ed1c32b4c8deec042a44a50a4188b25ac67ecd81a9c0f" 
+SRC_URI[sha256sum] = "2bc2d7f17232e0841cbba4641e65ba1eb6fafb3a08de3a091ff3ce14a197c4fa" 
 
 DEPENDS += "python3-hatch-fancy-pypi-readme-native"