summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pydantic_2.11.2.bb
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2025-04-15 15:42:58 +0300
committerKhem Raj <raj.khem@gmail.com>2025-04-16 08:04:41 -0700
commit42ef8220af41ec7c6a4e22aeb36c6f16d2b0a4b9 (patch)
treeb9f9e7476972d9e2c2624ae2a101c4f6b3bc7b62 /meta-python/recipes-devtools/python/python3-pydantic_2.11.2.bb
parent440f0e400b20fc20899a35bf53b3d3cbdc7b0ef9 (diff)
downloadmeta-openembedded-42ef8220af41ec7c6a4e22aeb36c6f16d2b0a4b9.tar.gz
python3-pydantic: Upgrade 2.11.2 -> 2.11.3
Upgrade to release 2.11.3: - Update V1 copy to v1.10.21 - Preserve field description when rebuilding model fields 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.11.2.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-pydantic_2.11.2.bb75
1 files changed, 0 insertions, 75 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pydantic_2.11.2.bb b/meta-python/recipes-devtools/python/python3-pydantic_2.11.2.bb
deleted file mode 100644
index 896a8d6471..0000000000
--- a/meta-python/recipes-devtools/python/python3-pydantic_2.11.2.bb
+++ /dev/null
@@ -1,75 +0,0 @@
1SUMMARY = "Data validation using Python type hinting"
2DESCRIPTION = "Data validation and settings management using Python \
3type hints.\
4\
5Fast and extensible, Pydantic plays nicely with your linters/IDE/brain. \
6Define how data should be in pure, canonical Python 3.7+; validate it with \
7Pydantic."
8HOMEPAGE = "https://github.com/samuelcolvin/pydantic"
9LICENSE = "MIT"
10LIC_FILES_CHKSUM = "file://LICENSE;md5=09280955509d1c4ca14bae02f21d49a6"
11
12inherit pypi python_hatchling ptest-python-pytest
13
14SRC_URI[sha256sum] = "2138628e050bd7a1e70b91d4bf4a91167f4ad76fdb83209b107c8d84b854917e"
15
16DEPENDS += "python3-hatch-fancy-pypi-readme-native"
17
18RECIPE_NO_UPDATE_REASON = "Must be updated in sync with python3-pydantic-core."
19
20RDEPENDS:${PN} += "\
21 python3-annotated-types \
22 python3-core \
23 python3-datetime \
24 python3-image \
25 python3-io \
26 python3-json \
27 python3-jsonschema \
28 python3-logging \
29 python3-netclient \
30 python3-numbers \
31 python3-profile \
32 python3-pydantic-core \
33 python3-typing-extensions \
34 python3-typing-inspection \
35 python3-tzdata \
36 python3-zoneinfo \
37"
38
39RDEPENDS:${PN}-ptest += "\
40 python3-ansi2html \
41 python3-coverage \
42 python3-cloudpickle \
43 python3-dirty-equals \
44 python3-email-validator \
45 python3-fastjsonschema \
46 python3-greenlet \
47 python3-html \
48 python3-hypothesis \
49 python3-mypy \
50 python3-packaging \
51 python3-pydoc \
52 python3-pytest-codspeed \
53 python3-pytest-mock \
54 python3-pytz \
55 python3-rich \
56 python3-sqlalchemy \
57 python3-unixadmin \
58"
59
60do_install_ptest:append() {
61 cp -rf ${S}/tests/ ${D}${PTEST_PATH}/
62 # Requires 'ruff' (python3-ruff) which we cannot build
63 # until we have Rust 1.71+ in oe-core
64 rm -f ${D}${PTEST_PATH}/tests/test_docs.py
65 # We are not trying to support mypy
66 rm -f ${D}${PTEST_PATH}/tests/test_mypy.py
67 # We are not trying to run benchmarks
68 rm -rf ${D}${PTEST_PATH}/tests/benchmarks
69 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
70}
71
72BBCLASSEXTEND = "native nativesdk"
73
74# Needs pydantic-core to be buildable
75COMPATIBLE_HOST:riscv32 = "null"