diff options
| author | Leon Anavi <leon.anavi@konsulko.com> | 2026-01-23 11:42:04 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2026-01-27 11:58:27 -0800 |
| commit | fb974db2c49ad32efd38452f32f0c96b8a12835b (patch) | |
| tree | 4a874b2379cef4205261c8ba835a4a8601a82ffb /meta-python/recipes-devtools/python/python3-pydantic_2.12.5.bb | |
| parent | 5d40ca9cdf28a394bcb64fcbba33582729bc7281 (diff) | |
| download | meta-openembedded-fb974db2c49ad32efd38452f32f0c96b8a12835b.tar.gz | |
python3-pydantic: Upgrade 2.12.4 -> 2.12.5
Upgrade to release 2.12.5:
- Fix pickle error when using model_construct() on a model with
MISSING as a default value
- Several updates to the documentation
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pydantic_2.12.5.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pydantic_2.12.5.bb | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pydantic_2.12.5.bb b/meta-python/recipes-devtools/python/python3-pydantic_2.12.5.bb new file mode 100644 index 0000000000..e354e4b93d --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pydantic_2.12.5.bb | |||
| @@ -0,0 +1,75 @@ | |||
| 1 | SUMMARY = "Data validation using Python type hinting" | ||
| 2 | DESCRIPTION = "Data validation and settings management using Python \ | ||
| 3 | type hints.\ | ||
| 4 | \ | ||
| 5 | Fast and extensible, Pydantic plays nicely with your linters/IDE/brain. \ | ||
| 6 | Define how data should be in pure, canonical Python 3.7+; validate it with \ | ||
| 7 | Pydantic." | ||
| 8 | HOMEPAGE = "https://github.com/samuelcolvin/pydantic" | ||
| 9 | LICENSE = "MIT" | ||
| 10 | LIC_FILES_CHKSUM = "file://LICENSE;md5=09280955509d1c4ca14bae02f21d49a6" | ||
| 11 | |||
| 12 | inherit python_hatchling ptest-python-pytest | ||
| 13 | |||
| 14 | SRCREV = "bd2d0dd0137dfa1a8fdff2529b9dfb1547980150" | ||
| 15 | PV .= "+git" | ||
| 16 | SRC_URI = "git://github.com/pydantic/pydantic;protocol=https;branch=v2.12-fixes" | ||
| 17 | DEPENDS += "python3-hatch-fancy-pypi-readme-native" | ||
| 18 | |||
| 19 | CVE_PRODUCT = "pydantic:pydantic" | ||
| 20 | |||
| 21 | RECIPE_NO_UPDATE_REASON = "Must be updated in sync with python3-pydantic-core." | ||
| 22 | |||
| 23 | RDEPENDS:${PN} += "\ | ||
| 24 | python3-annotated-types \ | ||
| 25 | python3-core \ | ||
| 26 | python3-datetime \ | ||
| 27 | python3-image \ | ||
| 28 | python3-io \ | ||
| 29 | python3-json \ | ||
| 30 | python3-jsonschema \ | ||
| 31 | python3-logging \ | ||
| 32 | python3-netclient \ | ||
| 33 | python3-numbers \ | ||
| 34 | python3-profile \ | ||
| 35 | python3-pydantic-core \ | ||
| 36 | python3-typing-extensions \ | ||
| 37 | python3-typing-inspection \ | ||
| 38 | python3-tzdata \ | ||
| 39 | python3-zoneinfo \ | ||
| 40 | " | ||
| 41 | |||
| 42 | RDEPENDS:${PN}-ptest += "\ | ||
| 43 | python3-ansi2html \ | ||
| 44 | python3-coverage \ | ||
| 45 | python3-cloudpickle \ | ||
| 46 | python3-dirty-equals \ | ||
| 47 | python3-email-validator \ | ||
| 48 | python3-fastjsonschema \ | ||
| 49 | python3-greenlet \ | ||
| 50 | python3-html \ | ||
| 51 | python3-hypothesis \ | ||
| 52 | python3-mypy \ | ||
| 53 | python3-packaging \ | ||
| 54 | python3-pydoc \ | ||
| 55 | python3-pytest-codspeed \ | ||
| 56 | python3-pytest-mock \ | ||
| 57 | python3-pytz \ | ||
| 58 | python3-rich \ | ||
| 59 | python3-sqlalchemy \ | ||
| 60 | python3-unixadmin \ | ||
| 61 | " | ||
| 62 | |||
| 63 | do_install_ptest:append() { | ||
| 64 | cp -rf ${S}/tests/ ${D}${PTEST_PATH}/ | ||
| 65 | # Requires 'ruff' (python3-ruff) which we cannot build | ||
| 66 | # until we have Rust 1.71+ in oe-core | ||
| 67 | rm -f ${D}${PTEST_PATH}/tests/test_docs.py | ||
| 68 | # We are not trying to support mypy | ||
| 69 | rm -f ${D}${PTEST_PATH}/tests/test_mypy.py | ||
| 70 | # We are not trying to run benchmarks | ||
| 71 | rm -rf ${D}${PTEST_PATH}/tests/benchmarks | ||
| 72 | sed -i -e "/--automake/ s/$/ -k 'not test_config_validation_error_cause and not test_dataclass_config_validate_default and not test_annotated_validator_nested and not test_use_bare and not test_use_no_fields and not test_validator_bad_fields_throws_configerror and not test_assert_raises_validation_error and not test_model_config_validate_default and not test_readonly_qualifier_warning'/" ${D}${PTEST_PATH}/run-ptest | ||
| 73 | } | ||
| 74 | |||
| 75 | BBCLASSEXTEND = "native nativesdk" | ||
