summaryrefslogtreecommitdiffstats
path: root/meta-python
diff options
context:
space:
mode:
authorDerek Straka <derek@asterius.io>2023-09-26 22:04:23 +0000
committerKhem Raj <raj.khem@gmail.com>2023-09-26 20:41:08 -0700
commit4570e4aa474e1f1517eb6d298b723bbcc57598e1 (patch)
treedb961c61bbec86a8649c4cf42a4187a40b01c7de /meta-python
parent8a79a7519c289e9d33c63ce2c4d4c57ff43ff687 (diff)
downloadmeta-openembedded-4570e4aa474e1f1517eb6d298b723bbcc57598e1.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>
Diffstat (limited to 'meta-python')
-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 \