From ea63c2de22dfecfde212eddc66d7407c3a5157fc Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Mon, 3 Apr 2023 18:06:52 +0800 Subject: python3-pydantic: upgrade 1.10.6 -> 1.10.7 Changelog: ========== Fix creating schema from model using ConstrainedStr with regex as dict key Address bug in mypy plugin caused by explicit_package_bases=True Add implicit defaults in the mypy plugin for Field with no default argument Fix schema generated for Enum values used as Literals in discriminated unions Fix mypy failures caused by the pydantic mypy plugin when users define from_orm in their own classes Fix InitVar usage with pydantic dataclasses, mypy version 1.1.1 and the custom mypy plugin Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-pydantic_1.10.6.bb | 20 -------------------- .../python/python3-pydantic_1.10.7.bb | 20 ++++++++++++++++++++ 2 files changed, 20 insertions(+), 20 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-pydantic_1.10.6.bb create mode 100644 meta-python/recipes-devtools/python/python3-pydantic_1.10.7.bb 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 deleted file mode 100644 index c888f4a5d7..0000000000 --- a/meta-python/recipes-devtools/python/python3-pydantic_1.10.6.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] = "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 \ -" diff --git a/meta-python/recipes-devtools/python/python3-pydantic_1.10.7.bb b/meta-python/recipes-devtools/python/python3-pydantic_1.10.7.bb new file mode 100644 index 0000000000..70f6834f5f --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pydantic_1.10.7.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] = "cfc83c0678b6ba51b0532bea66860617c4cd4251ecf76e9846fa5a9f3454e97e" + +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