Commit Graph

3 Commits

Author SHA1 Message Date
Bartosz Golaszewski
cd15edafa3 python3-pydantic: add missing run-time dependencies
Add missing RDEPENDS for this package.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-06 23:07:58 -07:00
Bartosz Golaszewski
4465806d9a python3-pydantic: don't use PYTHON_PN and improve coding style
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>
2023-06-06 23:07:58 -07:00
Wang Mingyu
ea63c2de22 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 <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-05 15:56:47 -07:00