summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools
diff options
context:
space:
mode:
authorDerek Straka <derek@asterius.io>2023-09-26 22:04:23 +0000
committerArmin Kuster <akuster808@gmail.com>2023-10-04 07:52:48 -0700
commit103c054b7094baf2ba01af372f95bde22c42915d (patch)
treed0462840bdac8a0ca6b47b3b17fd42088033f1f4 /meta-python/recipes-devtools
parent8dfe8276fc93673369275acb9cc350e1cdeadb14 (diff)
downloadmeta-openembedded-103c054b7094baf2ba01af372f95bde22c42915d.tar.gz
python3-pydantic: Update version 1.10.7 -> 2.4.1
Update build to use hatchling Add dependency for README generation Verify the license terms and update the checksum Note from upstream ======= Pydantic V2 is a ground-up rewrite that offers many new features, performance improvements, and some breaking changes compared to Pydantic V1. If you're using Pydantic V1 you may want to look at the pydantic V1.10 Documentation or, 1.10.X-fixes git branch. Pydantic V2 also ships with the latest version of Pydantic V1 built in so that you can incrementally upgrade your code base and projects: from pydantic import v1 as pydantic_v1. Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 4570e4aa474e1f1517eb6d298b723bbcc57598e1) Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools')
-rw-r--r--meta-python/recipes-devtools/python/python3-pydantic_2.4.1.bb (renamed from meta-python/recipes-devtools/python/python3-pydantic_1.10.7.bb)8
1 files changed, 5 insertions, 3 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pydantic_1.10.7.bb b/meta-python/recipes-devtools/python/python3-pydantic_2.4.1.bb
index 9d59cf8598..6d06650eb0 100644
--- a/meta-python/recipes-devtools/python/python3-pydantic_1.10.7.bb
+++ b/meta-python/recipes-devtools/python/python3-pydantic_2.4.1.bb
@@ -1,11 +1,13 @@
1SUMMARY = "Data validation and settings management using Python type hinting" 1SUMMARY = "Data validation and settings management using Python type hinting"
2HOMEPAGE = "https://github.com/samuelcolvin/pydantic" 2HOMEPAGE = "https://github.com/samuelcolvin/pydantic"
3LICENSE = "MIT" 3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=2c02ea30650b91528657db64baea1757" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=09280955509d1c4ca14bae02f21d49a6"
5 5
6inherit pypi setuptools3 6inherit pypi python_hatchling
7 7
8SRC_URI[sha256sum] = "cfc83c0678b6ba51b0532bea66860617c4cd4251ecf76e9846fa5a9f3454e97e" 8SRC_URI[sha256sum] = "b172505886028e4356868d617d2d1a776d7af1625d1313450fd51bdd19d9d61f"
9
10DEPENDS += "python3-hatch-fancy-pypi-readme-native"
9 11
10RDEPENDS:${PN} += "\ 12RDEPENDS:${PN} += "\
11 python3-core \ 13 python3-core \