summaryrefslogtreecommitdiffstats
path: root/meta-python
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2025-04-01 20:21:21 -0700
committerKhem Raj <raj.khem@gmail.com>2025-04-01 21:59:39 -0700
commitc86c9fa882ea0f49d11aa6424b4d99bd9390fd8f (patch)
tree2629338beca82d7281680dd340a7dfdc69dc2be8 /meta-python
parent2ce7725d8eb3481b111e00b8da308e3220c80c88 (diff)
downloadmeta-openembedded-c86c9fa882ea0f49d11aa6424b4d99bd9390fd8f.tar.gz
python3-pydantic: Add dependency on typing-inspection
Skip running test_readonly_qualifier_warning as it results in warnings but Werror means it is reported as fails. 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.11.1.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pydantic_2.11.1.bb b/meta-python/recipes-devtools/python/python3-pydantic_2.11.1.bb
index 2770b13831..4a566639e3 100644
--- a/meta-python/recipes-devtools/python/python3-pydantic_2.11.1.bb
+++ b/meta-python/recipes-devtools/python/python3-pydantic_2.11.1.bb
@@ -31,6 +31,7 @@ RDEPENDS:${PN} += "\
31 python3-profile \ 31 python3-profile \
32 python3-pydantic-core \ 32 python3-pydantic-core \
33 python3-typing-extensions \ 33 python3-typing-extensions \
34 python3-typing-inspection \
34 python3-tzdata \ 35 python3-tzdata \
35 python3-zoneinfo \ 36 python3-zoneinfo \
36" 37"
@@ -65,7 +66,7 @@ do_install_ptest:append() {
65 rm -f ${D}${PTEST_PATH}/tests/test_mypy.py 66 rm -f ${D}${PTEST_PATH}/tests/test_mypy.py
66 # We are not trying to run benchmarks 67 # We are not trying to run benchmarks
67 rm -rf ${D}${PTEST_PATH}/tests/benchmarks 68 rm -rf ${D}${PTEST_PATH}/tests/benchmarks
68 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'/" ${D}${PTEST_PATH}/run-ptest 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
69} 70}
70 71
71BBCLASSEXTEND = "native nativesdk" 72BBCLASSEXTEND = "native nativesdk"