python3-pydantic: Upgrade 1.9.1 -> 1.10.2

Upgrade to release 1.10.2:

- Revert Change: Revert percent encoding of URL parts
- Prevent long (length > 4_300) strings/bytes as input to int
  fields, see python/cpython#95778 and CVE-2020-10735
- fix: dataclass wrapper was not always called
- Use tomllib on Python 3.11 when parsing mypy configuration
- Basic fix of GenericModel cache to detect order of arguments in
  Union models
- Fix mypy plugin when using bare types like list and dict as
  default_factory

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 2022-09-14 14:58:31 +03:00 committed by Khem Raj
parent 782fbe54d4
commit 6b27fa1d5c
2 changed files with 20 additions and 11 deletions

View File

@ -0,0 +1,20 @@
SUMMARY = "Data validation and settings management using Python type hinting"
HOMEPAGE = "https://github.com/samuelcolvin/pydantic"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=2c02ea30650b91528657db64baea1757"
inherit pypi setuptools3
SRC_URI[sha256sum] = "91b8e218852ef6007c2b98cd861601c6a09f1aa32bbbb74fab5b1c33d4a1e410"
RDEPENDS:${PN} += "\
${PYTHON_PN}-typing-extensions \
${PYTHON_PN}-core \
${PYTHON_PN}-numbers \
${PYTHON_PN}-json \
${PYTHON_PN}-datetime \
${PYTHON_PN}-io \
${PYTHON_PN}-netclient \
${PYTHON_PN}-image \
${PYTHON_PN}-logging \
"

View File

@ -1,11 +0,0 @@
SUMMARY = "Data validation and settings management using Python type hinting"
HOMEPAGE = "https://github.com/samuelcolvin/pydantic"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=2c02ea30650b91528657db64baea1757"
RDEPENDS:${PN} += "\
python3-typing-extensions \
"
inherit pypi setuptools3
SRC_URI[sha256sum] = "1ed987c3ff29fff7fd8c3ea3a3ea877ad310aae2ef9889a119e22d3f2db0691a"