python3-pydantic: upgrade 2.4.1 -> 2.4.2

Changelog:
=============
Fix bug with JSON schema for sequence of discriminated union
Fix schema references in discriminated unions
Fix json schema generation for recursive models
Fix models_json_schema for generic models
Fix xfailed test for generic model signatures

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 51df8080ca)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Wang Mingyu
2023-10-23 16:57:37 +08:00
committed by Armin Kuster
parent 0da5f5448a
commit 6941b48ecc

View File

@@ -0,0 +1,23 @@
SUMMARY = "Data validation and settings management using Python type hinting"
HOMEPAGE = "https://github.com/samuelcolvin/pydantic"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=09280955509d1c4ca14bae02f21d49a6"
inherit pypi python_hatchling
SRC_URI[sha256sum] = "94f336138093a5d7f426aac732dcfe7ab4eb4da243c88f891d65deb4a2556ee7"
DEPENDS += "python3-hatch-fancy-pypi-readme-native"
RDEPENDS:${PN} += "\
python3-core \
python3-datetime \
python3-image \
python3-io \
python3-json \
python3-logging \
python3-netclient \
python3-numbers \
python3-profile \
python3-typing-extensions \
"