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>
This commit is contained in:
Khem Raj
2025-04-01 20:21:21 -07:00
parent 2ce7725d8e
commit c86c9fa882

View File

@@ -31,6 +31,7 @@ RDEPENDS:${PN} += "\
python3-profile \
python3-pydantic-core \
python3-typing-extensions \
python3-typing-inspection \
python3-tzdata \
python3-zoneinfo \
"
@@ -65,7 +66,7 @@ do_install_ptest:append() {
rm -f ${D}${PTEST_PATH}/tests/test_mypy.py
# We are not trying to run benchmarks
rm -rf ${D}${PTEST_PATH}/tests/benchmarks
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
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
}
BBCLASSEXTEND = "native nativesdk"