From 6b27fa1d5c3fcd92ec6da5e4ce43164b55131baa Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Wed, 14 Sep 2022 14:58:31 +0300 Subject: 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 Signed-off-by: Khem Raj --- .../python/python3-pydantic_1.10.2.bb | 20 ++++++++++++++++++++ .../python/python3-pydantic_1.9.1.bb | 11 ----------- 2 files changed, 20 insertions(+), 11 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python3-pydantic_1.10.2.bb delete mode 100644 meta-python/recipes-devtools/python/python3-pydantic_1.9.1.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-pydantic_1.10.2.bb b/meta-python/recipes-devtools/python/python3-pydantic_1.10.2.bb new file mode 100644 index 0000000000..16bb1f6ae6 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pydantic_1.10.2.bb @@ -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 \ +" diff --git a/meta-python/recipes-devtools/python/python3-pydantic_1.9.1.bb b/meta-python/recipes-devtools/python/python3-pydantic_1.9.1.bb deleted file mode 100644 index 1d113c9c50..0000000000 --- a/meta-python/recipes-devtools/python/python3-pydantic_1.9.1.bb +++ /dev/null @@ -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" -- cgit v1.2.3-54-g00ecf