diff mbox series

[meta-python,4/4] pydantic: Upgrade 2.11.7 -> 2.12.0

Message ID 20251013131725.2583786-4-leon.anavi@konsulko.com
State Under Review
Headers show
Series [meta-python,1/4] python3-bitarray: Upgrade 3.7.1 -> 3.7.2 | expand

Commit Message

Leon Anavi Oct. 13, 2025, 1:17 p.m. UTC
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 <leon.anavi@konsulko.com>
---
 .../{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 mbox series

Patch

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"