diff options
| author | Leon Anavi <leon.anavi@konsulko.com> | 2024-11-27 13:26:13 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-11-27 09:36:51 -0800 |
| commit | 7d22a7b191829ef524a0adc7b25d647b6b447885 (patch) | |
| tree | 40067628aa5ed888cd5eafb638d35fd6508aeb0d /meta-python/recipes-devtools/python | |
| parent | 2b4956b82c6fc3f5e119d2809c580c413add7609 (diff) | |
| download | meta-openembedded-7d22a7b191829ef524a0adc7b25d647b6b447885.tar.gz | |
python3-pydantic: Upgrade 2.9.2 -> 2.10.2
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>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pydantic_2.10.2.bb (renamed from meta-python/recipes-devtools/python/python3-pydantic_2.9.2.bb) | 2 |
1 files changed, 1 insertions, 1 deletions
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 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" | |||
| 11 | 11 | ||
| 12 | inherit pypi python_hatchling | 12 | inherit pypi python_hatchling |
| 13 | 13 | ||
| 14 | SRC_URI[sha256sum] = "d155cef71265d1e9807ed1c32b4c8deec042a44a50a4188b25ac67ecd81a9c0f" | 14 | SRC_URI[sha256sum] = "2bc2d7f17232e0841cbba4641e65ba1eb6fafb3a08de3a091ff3ce14a197c4fa" |
| 15 | 15 | ||
| 16 | DEPENDS += "python3-hatch-fancy-pypi-readme-native" | 16 | DEPENDS += "python3-hatch-fancy-pypi-readme-native" |
| 17 | 17 | ||
