diff mbox series

[meta-python,2/3] python3-pydantic: Upgrade 2.12.0 -> 2.12.4

Message ID 20251120165854.2763894-2-leon.anavi@konsulko.com
State Under Review
Headers show
Series [meta-python,1/3] python3-pydantic-core: Upgrade 2.41.1 -> 2.41.5 | expand

Commit Message

Leon Anavi Nov. 20, 2025, 4:58 p.m. UTC
Upgrade to release python3-pydantic:

- Fix issue with forward references in parent TypedDict classes
- Exclude fields with exclude_if from JSON Schema required fields
- Revert URL percent-encoding of credentials in the build() method
  of the AnyUrl and Dsn types
- Add type inference for IP address types
- Avoid getting default values from defaultdict
- Fix issue with field serializers on nested typed dictionaries
- Add more pydantic-core builds for the three-threaded version of
  Python 3.14

This work was sponsored by GOVCERT.LU

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 ...{python3-pydantic_2.12.0.bb => python3-pydantic_2.12.4.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-pydantic_2.12.0.bb => python3-pydantic_2.12.4.bb} (97%)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-pydantic_2.12.0.bb b/meta-python/recipes-devtools/python/python3-pydantic_2.12.4.bb
similarity index 97%
rename from meta-python/recipes-devtools/python/python3-pydantic_2.12.0.bb
rename to meta-python/recipes-devtools/python/python3-pydantic_2.12.4.bb
index 8016b55dfe..13035f4808 100644
--- a/meta-python/recipes-devtools/python/python3-pydantic_2.12.0.bb
+++ b/meta-python/recipes-devtools/python/python3-pydantic_2.12.4.bb
@@ -11,9 +11,9 @@  LIC_FILES_CHKSUM = "file://LICENSE;md5=09280955509d1c4ca14bae02f21d49a6"
 
 inherit python_hatchling ptest-python-pytest
 
-SRCREV = "a7928e692e5a7841c4379d1af1fd37966941dade"
+SRCREV = "5c842dfc9c245fb37aa1f5ec5b55c1aed10bd7e6"
 PV .= "+git"
-SRC_URI = "git://github.com/pydantic/pydantic;protocol=https;branch=main"
+SRC_URI = "git://github.com/pydantic/pydantic;protocol=https;branch=v2.12-fixes"
 DEPENDS += "python3-hatch-fancy-pypi-readme-native"
 
 RECIPE_NO_UPDATE_REASON = "Must be updated in sync with python3-pydantic-core."