From 317da0fe970e7e6f7dad0f60c094a52ad0a33f55 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Mon, 13 Oct 2025 16:17:25 +0300 Subject: [PATCH] pydantic: Upgrade 2.11.7 -> 2.12.0 Upgrade to release 2.12.0: - Update V1 copy to v1.10.24 - Add extra parameter to the validate functions - Add exclude_computed_fields serialization option - Add preverse_empty_path URL options - Add union_format parameter to JSON Schema generation - Add __qualname__ parameter for create_model - Do not try to infer name from lambda definitions in pipelines API - Use proper namespace for functions in TypeAdapter - Use Any for context type annotation in TypeAdapter - Expose FieldInfo in pydantic.fields.__all__ - Respect validation_alias in @validate_call - Use Any as context annotation in plugin API - Use proper stacklevel in warnings when possible Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../{python3-pydantic_2.11.7.bb => python3-pydantic_2.12.0.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-pydantic_2.11.7.bb => python3-pydantic_2.12.0.bb} (97%) diff --git a/meta-python/recipes-devtools/python/python3-pydantic_2.11.7.bb b/meta-python/recipes-devtools/python/python3-pydantic_2.12.0.bb similarity index 97% rename from meta-python/recipes-devtools/python/python3-pydantic_2.11.7.bb rename to meta-python/recipes-devtools/python/python3-pydantic_2.12.0.bb index e603e7dccd..8016b55dfe 100644 --- a/meta-python/recipes-devtools/python/python3-pydantic_2.11.7.bb +++ b/meta-python/recipes-devtools/python/python3-pydantic_2.12.0.bb @@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=09280955509d1c4ca14bae02f21d49a6" inherit python_hatchling ptest-python-pytest -SRCREV = "9b52422377d974ffc3de4e8b0bf7faab1acf2ec4" +SRCREV = "a7928e692e5a7841c4379d1af1fd37966941dade" PV .= "+git" SRC_URI = "git://github.com/pydantic/pydantic;protocol=https;branch=main" DEPENDS += "python3-hatch-fancy-pypi-readme-native"