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>
This commit is contained in:
Leon Anavi 2024-11-27 13:26:13 +02:00 committed by Khem Raj
parent 2b4956b82c
commit 7d22a7b191
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=09280955509d1c4ca14bae02f21d49a6"
inherit pypi python_hatchling
SRC_URI[sha256sum] = "d155cef71265d1e9807ed1c32b4c8deec042a44a50a4188b25ac67ecd81a9c0f"
SRC_URI[sha256sum] = "2bc2d7f17232e0841cbba4641e65ba1eb6fafb3a08de3a091ff3ce14a197c4fa"
DEPENDS += "python3-hatch-fancy-pypi-readme-native"