summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pydantic_1.10.7.bb
Commit message (Collapse)AuthorAgeFilesLines
* python3-pydantic: Update version 1.10.7 -> 2.4.1Derek Straka2023-10-041-21/+0
| | | | | | | | | | | | | | | | | 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>
* python3-pydantic: add missing run-time dependenciesBartosz Golaszewski2023-06-061-0/+1
| | | | | | | Add missing RDEPENDS for this package. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pydantic: don't use PYTHON_PN and improve coding styleBartosz Golaszewski2023-06-061-9/+9
| | | | | | | | We no longer support python2. Drop PYTHON_PN and use python3 explicitly. While at it: order dependencies alphabetically. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pydantic: upgrade 1.10.6 -> 1.10.7Wang Mingyu2023-04-051-0/+20
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 <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>