mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 16:27:27 +00:00
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:
@@ -31,6 +31,7 @@ RDEPENDS:${PN} += "\
|
|||||||
python3-profile \
|
python3-profile \
|
||||||
python3-pydantic-core \
|
python3-pydantic-core \
|
||||||
python3-typing-extensions \
|
python3-typing-extensions \
|
||||||
|
python3-typing-inspection \
|
||||||
python3-tzdata \
|
python3-tzdata \
|
||||||
python3-zoneinfo \
|
python3-zoneinfo \
|
||||||
"
|
"
|
||||||
@@ -65,7 +66,7 @@ do_install_ptest:append() {
|
|||||||
rm -f ${D}${PTEST_PATH}/tests/test_mypy.py
|
rm -f ${D}${PTEST_PATH}/tests/test_mypy.py
|
||||||
# We are not trying to run benchmarks
|
# We are not trying to run benchmarks
|
||||||
rm -rf ${D}${PTEST_PATH}/tests/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"
|
BBCLASSEXTEND = "native nativesdk"
|
||||||
|
|||||||
Reference in New Issue
Block a user