From c86c9fa882ea0f49d11aa6424b4d99bd9390fd8f Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 1 Apr 2025 20:21:21 -0700 Subject: 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 --- meta-python/recipes-devtools/python/python3-pydantic_2.11.1.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'meta-python') 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} += "\ 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" -- cgit v1.2.3-54-g00ecf