Browse Source

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 <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Leon Anavi 1 week ago
parent
commit
317da0fe97
1 changed files with 1 additions and 1 deletions
  1. 1 1
      meta-python/recipes-devtools/python/python3-pydantic_2.12.0.bb

+ 1 - 1
meta-python/recipes-devtools/python/python3-pydantic_2.11.7.bb → 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"