diff options
author | Derek Straka <derek@asterius.io> | 2023-09-26 22:04:23 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-09-26 20:41:08 -0700 |
commit | 4570e4aa474e1f1517eb6d298b723bbcc57598e1 (patch) | |
tree | db961c61bbec86a8649c4cf42a4187a40b01c7de /meta-python | |
parent | 8a79a7519c289e9d33c63ce2c4d4c57ff43ff687 (diff) | |
download | meta-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 @@ | |||
1 | SUMMARY = "Data validation and settings management using Python type hinting" | 1 | SUMMARY = "Data validation and settings management using Python type hinting" |
2 | HOMEPAGE = "https://github.com/samuelcolvin/pydantic" | 2 | HOMEPAGE = "https://github.com/samuelcolvin/pydantic" |
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=2c02ea30650b91528657db64baea1757" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=09280955509d1c4ca14bae02f21d49a6" |
5 | 5 | ||
6 | inherit pypi setuptools3 | 6 | inherit pypi python_hatchling |
7 | 7 | ||
8 | SRC_URI[sha256sum] = "cfc83c0678b6ba51b0532bea66860617c4cd4251ecf76e9846fa5a9f3454e97e" | 8 | SRC_URI[sha256sum] = "b172505886028e4356868d617d2d1a776d7af1625d1313450fd51bdd19d9d61f" |
9 | |||
10 | DEPENDS += "python3-hatch-fancy-pypi-readme-native" | ||
9 | 11 | ||
10 | RDEPENDS:${PN} += "\ | 12 | RDEPENDS:${PN} += "\ |
11 | python3-core \ | 13 | python3-core \ |