From 7fc1fa199f8db180f62a4e0fc6ead852b6c7d03d Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Wed, 15 Mar 2023 22:07:17 +0800 Subject: python3-pydantic: upgrade 1.10.5 -> 1.10.6 Changelog: ========== - Implement logic to support creating validators from non standard callables by using defaults to identify them and unwrapping functools.partial and functools.partialmethod when checking the signature - Fix mypy plugin for v1.1.1, and fix dataclass_transform decorator for pydantic dataclasses - Raise ValidationError, not ConfigError, when a discriminator value is unhashable Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-pydantic_1.10.5.bb | 20 -------------------- .../python/python3-pydantic_1.10.6.bb | 20 ++++++++++++++++++++ 2 files changed, 20 insertions(+), 20 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-pydantic_1.10.5.bb create mode 100644 meta-python/recipes-devtools/python/python3-pydantic_1.10.6.bb diff --git a/meta-python/recipes-devtools/python/python3-pydantic_1.10.5.bb b/meta-python/recipes-devtools/python/python3-pydantic_1.10.5.bb deleted file mode 100644 index 77e94a9bb0..0000000000 --- a/meta-python/recipes-devtools/python/python3-pydantic_1.10.5.bb +++ /dev/null @@ -1,20 +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" - -inherit pypi setuptools3 - -SRC_URI[sha256sum] = "9e337ac83686645a46db0e825acceea8e02fca4062483f40e9ae178e8bd1103a" - -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.10.6.bb b/meta-python/recipes-devtools/python/python3-pydantic_1.10.6.bb new file mode 100644 index 0000000000..c888f4a5d7 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pydantic_1.10.6.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] = "cf95adb0d1671fc38d8c43dd921ad5814a735e7d9b4d9e437c088002863854fd" + +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 \ +" -- cgit v1.2.3-54-g00ecf