Source: fastapi
Version: 0.101.0-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-20231027 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> debian/rules build
> dh build --with python3 --buildsystem=pybuild
> dh_update_autotools_config -O--buildsystem=pybuild
> dh_autoreconf -O--buildsystem=pybuild
> dh_auto_configure -O--buildsystem=pybuild
> pybuild --configure -i python{version} -p 3.11
> dh_auto_build -O--buildsystem=pybuild
> pybuild --build -i python{version} -p 3.11
> I: pybuild plugin_pyproject:110: Building wheel for python3.11 with "build"
> module
> I: pybuild base:310: python3.11 -m build --skip-dependency-check
> --no-isolation --wheel --outdir
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_fastapi
> * Building wheel...
> Successfully built fastapi-0.101.0-py3-none-any.whl
> I: pybuild plugin_pyproject:122: Unpacking wheel built for python3.11 with
> "installer" module
> dh_auto_test -O--buildsystem=pybuild
> pybuild --test --test-pytest -i python{version} -p 3.11
> I: pybuild base:310: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_fastapi/build; python3.11 -m pytest
> -W ignore::DeprecationWarning --ignore=docs_src/
> --ignore=tests/test_default_response_class.py
> --ignore-glob=tests/test_tutorial/test_security/test_tutorial005*
> --ignore=tests/test_tutorial/test_custom_response/test_tutorial009c.py
> --ignore=tests/test_response_by_alias.py -k " not test_get_custom_response
> and not test_root and not test_async_testing and not test_orjson_non_str_keys
> and not test_dependency_gets_exception and not test_path_operation_img"
> ============================= test session starts
> ==============================
> platform linux -- Python 3.11.6, pytest-7.4.3, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>
> configfile: pyproject.toml
> plugins: anyio-3.7.0
> collected 1872 items / 17 deselected / 1855 selected
>
> tests/test_additional_properties.py .. [
> 0%]
> tests/test_additional_properties_bool.py ... [
> 0%]
> tests/test_additional_response_extra.py .. [
> 0%]
> tests/test_additional_responses_bad.py . [
> 0%]
> tests/test_additional_responses_custom_model_in_callback.py . [
> 0%]
> tests/test_additional_responses_custom_validationerror.py . [
> 0%]
> tests/test_additional_responses_default_validationerror.py . [
> 0%]
> tests/test_additional_responses_response_class.py . [
> 0%]
> tests/test_additional_responses_router.py ..... [
> 0%]
> tests/test_ambiguous_params.py .. [
> 1%]
> tests/test_annotated.py ............. [
> 1%]
> tests/test_application.py ........ [
> 2%]
> tests/test_callable_endpoint.py . [
> 2%]
> tests/test_compat.py s..s... [
> 2%]
> tests/test_computed_fields.py ss [
> 2%]
> tests/test_custom_middleware_exception.py .. [
> 2%]
> tests/test_custom_route_class.py ..... [
> 3%]
> tests/test_custom_schema_fields.py .. [
> 3%]
> tests/test_custom_swagger_ui_redirect.py ... [
> 3%]
> tests/test_datastructures.py ..... [
> 3%]
> tests/test_datetime_custom_encoder.py s. [
> 3%]
> tests/test_default_response_class_router.py .............. [
> 4%]
> tests/test_dependency_cache.py .... [
> 4%]
> tests/test_dependency_class.py ........ [
> 5%]
> tests/test_dependency_contextmanager.py ...................... [
> 6%]
> tests/test_dependency_contextvars.py . [
> 6%]
> tests/test_dependency_duplicates.py ..... [
> 6%]
> tests/test_dependency_normal_exceptions.py . [
> 6%]
> tests/test_dependency_overrides.py ................................ [
> 8%]
> tests/test_dependency_security_overrides.py ... [
> 8%]
> tests/test_deprecated_openapi_prefix.py .. [
> 8%]
> tests/test_duplicate_models_openapi.py .. [
> 8%]
> tests/test_empty_router.py .. [
> 8%]
> tests/test_enforce_once_required_parameter.py ... [
> 9%]
> tests/test_exception_handlers.py .... [
> 9%]
> tests/test_extra_routes.py ........ [
> 9%]
> tests/test_filter_pydantic_sub_model_pv2.py sss [
> 9%]
> tests/test_forms_from_non_typing_sequences.py ... [
> 10%]
> tests/test_generate_unique_id_function.py .......F [
> 10%]
> tests/test_get_request_body.py .. [
> 10%]
> tests/test_http_connection_injection.py .. [
> 10%]
> tests/test_include_route.py . [
> 10%]
> tests/test_include_router_defaults_overrides.py ........................ [
> 12%]
> ................... [
> 13%]
> tests/test_infer_param_optionality.py ......... [
> 13%]
> tests/test_inherited_custom_class.py s. [
> 13%]
> tests/test_invalid_path_param.py ....... [
> 14%]
> tests/test_invalid_sequence_param.py .... [
> 14%]
> tests/test_jsonable_encoder.py .....s...........ss. [
> 15%]
> tests/test_local_docs.py ..... [
> 15%]
> tests/test_multi_body_errors.py .... [
> 15%]
> tests/test_multi_query_errors.py ... [
> 15%]
> tests/test_multipart_installation.py .......... [
> 16%]
> tests/test_no_swagger_ui_redirect.py ... [
> 16%]
> tests/test_openapi_query_parameter_extension.py .. [
> 16%]
> tests/test_openapi_route_extensions.py .. [
> 16%]
> tests/test_openapi_servers.py .. [
> 16%]
> tests/test_operations_signatures.py . [
> 17%]
> tests/test_param_class.py .. [
> 17%]
> tests/test_param_in_path_and_dependency.py .. [
> 17%]
> tests/test_param_include_in_schema.py ........ [
> 17%]
> tests/test_params_repr.py ........................... [
> 19%]
> tests/test_path.py ..................................................... [
> 21%]
> ...................... [
> 23%]
> tests/test_put_no_body.py ... [
> 23%]
> tests/test_query.py ......................... [
> 24%]
> tests/test_read_with_orm_mode.py s. [
> 24%]
> tests/test_regex_deprecated_body.py .... [
> 25%]
> tests/test_regex_deprecated_params.py .... [
> 25%]
> tests/test_repeated_cookie_headers.py . [
> 25%]
> tests/test_repeated_dependency_schema.py .. [
> 25%]
> tests/test_repeated_parameter_alias.py .. [
> 25%]
> tests/test_reponse_set_reponse_code_empty.py .. [
> 25%]
> tests/test_request_body_parameters_media_type.py . [
> 25%]
> tests/test_required_noneable.py ....... [
> 26%]
> tests/test_response_change_status_code.py . [
> 26%]
> tests/test_response_class_no_mediatype.py . [
> 26%]
> tests/test_response_code_no_body.py .. [
> 26%]
> tests/test_response_model_as_return_annotation.py ...................... [
> 27%]
> ................ [
> 28%]
> tests/test_response_model_data_filter.py ... [
> 28%]
> tests/test_response_model_data_filter_no_inheritance.py ... [
> 28%]
> tests/test_response_model_include_exclude.py ...... [
> 28%]
> tests/test_response_model_invalid.py .... [
> 29%]
> tests/test_response_model_sub_types.py .. [
> 29%]
> tests/test_route_scope.py ..... [
> 29%]
> tests/test_router_events.py .. [
> 29%]
> tests/test_router_prefix_with_template.py . [
> 29%]
> tests/test_router_redirect_slashes.py .. [
> 29%]
> tests/test_schema_extra_examples.py .. [
> 29%]
> tests/test_security_api_key_cookie.py ... [
> 30%]
> tests/test_security_api_key_cookie_description.py ... [
> 30%]
> tests/test_security_api_key_cookie_optional.py ... [
> 30%]
> tests/test_security_api_key_header.py ... [
> 30%]
> tests/test_security_api_key_header_description.py ... [
> 30%]
> tests/test_security_api_key_header_optional.py ... [
> 30%]
> tests/test_security_api_key_query.py ... [
> 31%]
> tests/test_security_api_key_query_description.py ... [
> 31%]
> tests/test_security_api_key_query_optional.py ... [
> 31%]
> tests/test_security_http_base.py ... [
> 31%]
> tests/test_security_http_base_description.py ... [
> 31%]
> tests/test_security_http_base_optional.py ... [
> 31%]
> tests/test_security_http_basic_optional.py ..... [
> 32%]
> tests/test_security_http_basic_realm.py ..... [
> 32%]
> tests/test_security_http_basic_realm_description.py ..... [
> 32%]
> tests/test_security_http_bearer.py .... [
> 32%]
> tests/test_security_http_bearer_description.py .... [
> 33%]
> tests/test_security_http_bearer_optional.py .... [
> 33%]
> tests/test_security_http_digest.py .... [
> 33%]
> tests/test_security_http_digest_description.py .... [
> 33%]
> tests/test_security_http_digest_optional.py .... [
> 33%]
> tests/test_security_oauth2.py ........ [
> 34%]
> tests/test_security_oauth2_authorization_code_bearer.py .... [
> 34%]
> tests/test_security_oauth2_authorization_code_bearer_description.py .... [
> 34%]
> [
> 34%]
> tests/test_security_oauth2_optional.py ........ [
> 35%]
> tests/test_security_oauth2_optional_description.py ........ [
> 35%]
> tests/test_security_oauth2_password_bearer_optional.py .... [
> 35%]
> tests/test_security_oauth2_password_bearer_optional_description.py .... [
> 36%]
> tests/test_security_openid_connect.py .... [
> 36%]
> tests/test_security_openid_connect_description.py .... [
> 36%]
> tests/test_security_openid_connect_optional.py .... [
> 36%]
> tests/test_serialize_response.py ... [
> 36%]
> tests/test_serialize_response_dataclass.py ....... [
> 37%]
> tests/test_serialize_response_model.py ........ [
> 37%]
> tests/test_skip_defaults.py ..... [
> 38%]
> tests/test_starlette_exception.py ....... [
> 38%]
> tests/test_starlette_urlconvertors.py ..... [
> 38%]
> tests/test_sub_callbacks.py .. [
> 38%]
> tests/test_swagger_ui_init_oauth.py .. [
> 38%]
> tests/test_tuples.py ....... [
> 39%]
> tests/test_typing_python39.py . [
> 39%]
> tests/test_union_body.py ... [
> 39%]
> tests/test_union_inherited_body.py ... [
> 39%]
> tests/test_validate_response.py ...... [
> 39%]
> tests/test_validate_response_dataclass.py ... [
> 40%]
> tests/test_webhooks_security.py .. [
> 40%]
> tests/test_ws_dependencies.py ... [
> 40%]
> tests/test_ws_router.py ............ [
> 41%]
> tests/test_filter_pydantic_sub_model/test_filter_pydantic_sub_model_pv1.py .
> [ 41%]
> .. [
> 41%]
> tests/test_modules_same_name_body/test_main.py ..... [
> 41%]
> tests/test_tutorial/test_additional_responses/test_tutorial001.py ... [
> 41%]
> tests/test_tutorial/test_additional_responses/test_tutorial002.py .. [
> 41%]
> tests/test_tutorial/test_additional_responses/test_tutorial003.py ... [
> 41%]
> tests/test_tutorial/test_additional_responses/test_tutorial004.py .. [
> 41%]
> tests/test_tutorial/test_additional_status_codes/test_tutorial001.py .. [
> 42%]
> tests/test_tutorial/test_additional_status_codes/test_tutorial001_an.py . [
> 42%]
> . [
> 42%]
> tests/test_tutorial/test_additional_status_codes/test_tutorial001_an_py310.py
> . [ 42%]
> . [
> 42%]
> tests/test_tutorial/test_additional_status_codes/test_tutorial001_an_py39.py
> . [ 42%]
> . [
> 42%]
> tests/test_tutorial/test_additional_status_codes/test_tutorial001_py310.py .
> [ 42%]
> . [
> 42%]
> tests/test_tutorial/test_advanced_middleware/test_tutorial001.py . [
> 42%]
> tests/test_tutorial/test_advanced_middleware/test_tutorial002.py . [
> 42%]
> tests/test_tutorial/test_advanced_middleware/test_tutorial003.py . [
> 42%]
> tests/test_tutorial/test_async_sql_databases/test_tutorial001.py .. [
> 42%]
> tests/test_tutorial/test_background_tasks/test_tutorial001.py . [
> 42%]
> tests/test_tutorial/test_background_tasks/test_tutorial002.py . [
> 42%]
> tests/test_tutorial/test_background_tasks/test_tutorial002_an.py . [
> 42%]
> tests/test_tutorial/test_background_tasks/test_tutorial002_an_py310.py . [
> 43%]
> [
> 43%]
> tests/test_tutorial/test_background_tasks/test_tutorial002_an_py39.py . [
> 43%]
> tests/test_tutorial/test_background_tasks/test_tutorial002_py310.py . [
> 43%]
> tests/test_tutorial/test_behind_a_proxy/test_tutorial001.py .. [
> 43%]
> tests/test_tutorial/test_behind_a_proxy/test_tutorial002.py .. [
> 43%]
> tests/test_tutorial/test_behind_a_proxy/test_tutorial003.py .. [
> 43%]
> tests/test_tutorial/test_behind_a_proxy/test_tutorial004.py .. [
> 43%]
> tests/test_tutorial/test_bigger_applications/test_main.py .............. [
> 44%]
> ......... [
> 44%]
> tests/test_tutorial/test_bigger_applications/test_main_an.py ........... [
> 45%]
> ............ [
> 46%]
> tests/test_tutorial/test_bigger_applications/test_main_an_py39.py ...... [
> 46%]
> ................. [
> 47%]
> tests/test_tutorial/test_body/test_tutorial001.py ................ [
> 48%]
> tests/test_tutorial/test_body/test_tutorial001_py310.py ................ [
> 49%]
> [
> 49%]
> tests/test_tutorial/test_body_fields/test_tutorial001.py .... [
> 49%]
> tests/test_tutorial/test_body_fields/test_tutorial001_an.py .... [
> 49%]
> tests/test_tutorial/test_body_fields/test_tutorial001_an_py310.py .... [
> 49%]
> tests/test_tutorial/test_body_fields/test_tutorial001_an_py39.py .... [
> 49%]
> tests/test_tutorial/test_body_fields/test_tutorial001_py310.py .... [
> 50%]
> tests/test_tutorial/test_body_multiple_params/test_tutorial001.py ..... [
> 50%]
> tests/test_tutorial/test_body_multiple_params/test_tutorial001_an.py ... [
> 50%]
> .. [
> 50%]
> tests/test_tutorial/test_body_multiple_params/test_tutorial001_an_py310.py .
> [ 50%]
> .... [
> 50%]
> tests/test_tutorial/test_body_multiple_params/test_tutorial001_an_py39.py . [
> 50%]
> .... [
> 51%]
> tests/test_tutorial/test_body_multiple_params/test_tutorial001_py310.py . [
> 51%]
> .... [
> 51%]
> tests/test_tutorial/test_body_multiple_params/test_tutorial003.py .... [
> 51%]
> tests/test_tutorial/test_body_multiple_params/test_tutorial003_an.py ... [
> 51%]
> . [
> 51%]
> tests/test_tutorial/test_body_multiple_params/test_tutorial003_an_py310.py .
> [ 51%]
> ... [
> 52%]
> tests/test_tutorial/test_body_multiple_params/test_tutorial003_an_py39.py . [
> 52%]
> ... [
> 52%]
> tests/test_tutorial/test_body_multiple_params/test_tutorial003_py310.py . [
> 52%]
> ... [
> 52%]
> tests/test_tutorial/test_body_nested_models/test_tutorial009.py ... [
> 52%]
> tests/test_tutorial/test_body_nested_models/test_tutorial009_py39.py ... [
> 52%]
> [
> 52%]
> tests/test_tutorial/test_body_updates/test_tutorial001.py ..s. [
> 53%]
> tests/test_tutorial/test_body_updates/test_tutorial001_py310.py ..s. [
> 53%]
> tests/test_tutorial/test_body_updates/test_tutorial001_py39.py ..s. [
> 53%]
> tests/test_tutorial/test_conditional_openapi/test_tutorial001.py ss [
> 53%]
> tests/test_tutorial/test_cookie_params/test_tutorial001.py ..... [
> 53%]
> tests/test_tutorial/test_cookie_params/test_tutorial001_an.py ..... [
> 54%]
> tests/test_tutorial/test_cookie_params/test_tutorial001_an_py310.py .... [
> 54%]
> . [
> 54%]
> tests/test_tutorial/test_cookie_params/test_tutorial001_an_py39.py ..... [
> 54%]
> [
> 54%]
> tests/test_tutorial/test_cookie_params/test_tutorial001_py310.py ..... [
> 54%]
> tests/test_tutorial/test_cors/test_tutorial001.py . [
> 54%]
> tests/test_tutorial/test_custom_request_and_route/test_tutorial001.py .. [
> 55%]
> . [
> 55%]
> tests/test_tutorial/test_custom_request_and_route/test_tutorial002.py .. [
> 55%]
> [
> 55%]
> tests/test_tutorial/test_custom_request_and_route/test_tutorial003.py .. [
> 55%]
> [
> 55%]
> tests/test_tutorial/test_custom_response/test_tutorial001.py . [
> 55%]
> tests/test_tutorial/test_custom_response/test_tutorial001b.py . [
> 55%]
> tests/test_tutorial/test_custom_response/test_tutorial004.py . [
> 55%]
> tests/test_tutorial/test_custom_response/test_tutorial005.py .. [
> 55%]
> tests/test_tutorial/test_custom_response/test_tutorial006.py .. [
> 55%]
> tests/test_tutorial/test_custom_response/test_tutorial006b.py .. [
> 55%]
> tests/test_tutorial/test_custom_response/test_tutorial006c.py .. [
> 55%]
> tests/test_tutorial/test_custom_response/test_tutorial007.py . [
> 56%]
> tests/test_tutorial/test_custom_response/test_tutorial008.py . [
> 56%]
> tests/test_tutorial/test_custom_response/test_tutorial009.py . [
> 56%]
> tests/test_tutorial/test_custom_response/test_tutorial009b.py . [
> 56%]
> tests/test_tutorial/test_dataclasses/test_tutorial001.py ... [
> 56%]
> tests/test_tutorial/test_dataclasses/test_tutorial002.py .. [
> 56%]
> tests/test_tutorial/test_dataclasses/test_tutorial003.py ..s. [
> 56%]
> tests/test_tutorial/test_dependencies/test_tutorial001.py ...... [
> 56%]
> tests/test_tutorial/test_dependencies/test_tutorial001_an.py ...... [
> 57%]
> tests/test_tutorial/test_dependencies/test_tutorial001_an_py310.py ..... [
> 57%]
> . [
> 57%]
> tests/test_tutorial/test_dependencies/test_tutorial001_an_py39.py ...... [
> 57%]
> [
> 57%]
> tests/test_tutorial/test_dependencies/test_tutorial001_py310.py ...... [
> 58%]
> tests/test_tutorial/test_dependencies/test_tutorial004.py ....... [
> 58%]
> tests/test_tutorial/test_dependencies/test_tutorial004_an.py ....... [
> 59%]
> tests/test_tutorial/test_dependencies/test_tutorial004_an_py310.py ..... [
> 59%]
> .. [
> 59%]
> tests/test_tutorial/test_dependencies/test_tutorial004_an_py39.py ...... [
> 59%]
> . [
> 59%]
> tests/test_tutorial/test_dependencies/test_tutorial004_py310.py ....... [
> 60%]
> tests/test_tutorial/test_dependencies/test_tutorial006.py ..... [
> 60%]
> tests/test_tutorial/test_dependencies/test_tutorial006_an.py ..... [
> 60%]
> tests/test_tutorial/test_dependencies/test_tutorial006_an_py39.py ..... [
> 60%]
> tests/test_tutorial/test_dependencies/test_tutorial012.py ......... [
> 61%]
> tests/test_tutorial/test_dependencies/test_tutorial012_an.py ......... [
> 61%]
> tests/test_tutorial/test_dependencies/test_tutorial012_an_py39.py ...... [
> 62%]
> ... [
> 62%]
> tests/test_tutorial/test_events/test_tutorial001.py .. [
> 62%]
> tests/test_tutorial/test_events/test_tutorial002.py .. [
> 62%]
> tests/test_tutorial/test_events/test_tutorial003.py .. [
> 62%]
> tests/test_tutorial/test_extending_openapi/test_tutorial001.py .. [
> 62%]
> tests/test_tutorial/test_extending_openapi/test_tutorial002.py .... [
> 63%]
> tests/test_tutorial/test_extending_openapi/test_tutorial003.py .. [
> 63%]
> tests/test_tutorial/test_extending_openapi/test_tutorial004.py .. [
> 63%]
> tests/test_tutorial/test_extending_openapi/test_tutorial005.py .. [
> 63%]
> tests/test_tutorial/test_extra_data_types/test_tutorial001.py .. [
> 63%]
> tests/test_tutorial/test_extra_data_types/test_tutorial001_an.py .. [
> 63%]
> tests/test_tutorial/test_extra_data_types/test_tutorial001_an_py310.py . [
> 63%]
> . [
> 63%]
> tests/test_tutorial/test_extra_data_types/test_tutorial001_an_py39.py .. [
> 63%]
> [
> 63%]
> tests/test_tutorial/test_extra_data_types/test_tutorial001_py310.py .. [
> 63%]
> tests/test_tutorial/test_extra_models/test_tutorial003.py ... [
> 64%]
> tests/test_tutorial/test_extra_models/test_tutorial003_py310.py ... [
> 64%]
> tests/test_tutorial/test_extra_models/test_tutorial004.py .. [
> 64%]
> tests/test_tutorial/test_extra_models/test_tutorial004_py39.py .. [
> 64%]
> tests/test_tutorial/test_extra_models/test_tutorial005.py .. [
> 64%]
> tests/test_tutorial/test_extra_models/test_tutorial005_py39.py .. [
> 64%]
> tests/test_tutorial/test_first_steps/test_tutorial001.py ... [
> 64%]
> tests/test_tutorial/test_generate_clients/test_tutorial003.py .... [
> 65%]
> tests/test_tutorial/test_handling_errors/test_tutorial001.py ... [
> 65%]
> tests/test_tutorial/test_handling_errors/test_tutorial002.py ... [
> 65%]
> tests/test_tutorial/test_handling_errors/test_tutorial003.py ... [
> 65%]
> tests/test_tutorial/test_handling_errors/test_tutorial004.py .... [
> 65%]
> tests/test_tutorial/test_handling_errors/test_tutorial005.py ... [
> 65%]
> tests/test_tutorial/test_handling_errors/test_tutorial006.py .... [
> 66%]
> tests/test_tutorial/test_header_params/test_tutorial001.py .... [
> 66%]
> tests/test_tutorial/test_header_params/test_tutorial001_an.py .... [
> 66%]
> tests/test_tutorial/test_header_params/test_tutorial001_an_py310.py .... [
> 66%]
> [
> 66%]
> tests/test_tutorial/test_header_params/test_tutorial001_py310.py .... [
> 67%]
> tests/test_tutorial/test_header_params/test_tutorial002.py ..... [
> 67%]
> tests/test_tutorial/test_header_params/test_tutorial002_an.py ..... [
> 67%]
> tests/test_tutorial/test_header_params/test_tutorial002_an_py310.py .... [
> 67%]
> . [
> 67%]
> tests/test_tutorial/test_header_params/test_tutorial002_an_py39.py ..... [
> 68%]
> [
> 68%]
> tests/test_tutorial/test_header_params/test_tutorial002_py310.py ..... [
> 68%]
> tests/test_tutorial/test_header_params/test_tutorial003.py ... [
> 68%]
> tests/test_tutorial/test_header_params/test_tutorial003_an.py ... [
> 68%]
> tests/test_tutorial/test_header_params/test_tutorial003_an_py310.py ... [
> 68%]
> tests/test_tutorial/test_header_params/test_tutorial003_an_py39.py ... [
> 69%]
> tests/test_tutorial/test_header_params/test_tutorial003_py310.py ... [
> 69%]
> tests/test_tutorial/test_metadata/test_tutorial001.py .. [
> 69%]
> tests/test_tutorial/test_metadata/test_tutorial001_1.py .. [
> 69%]
> tests/test_tutorial/test_metadata/test_tutorial004.py .. [
> 69%]
> tests/test_tutorial/test_openapi_callbacks/test_tutorial001.py ... [
> 69%]
> tests/test_tutorial/test_openapi_webhooks/test_tutorial001.py ... [
> 69%]
> tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial001.py
> . [ 69%]
> . [
> 69%]
> tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial002.py
> . [ 69%]
> . [
> 70%]
> tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial003.py
> . [ 70%]
> . [
> 70%]
> tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial004.py
> . [ 70%]
> s. [
> 70%]
> tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial005.py
> . [ 70%]
> . [
> 70%]
> tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial006.py
> . [ 70%]
> . [
> 70%]
> tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial007.py
> s [ 70%]
> sss [
> 70%]
> tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial007_pv1.py
> . [ 70%]
> ... [
> 70%]
> tests/test_tutorial/test_path_operation_configurations/test_tutorial002b.py .
> [ 70%]
> .. [
> 71%]
> tests/test_tutorial/test_path_operation_configurations/test_tutorial005.py .
> [ 71%]
> s. [
> 71%]
> tests/test_tutorial/test_path_operation_configurations/test_tutorial005_py310.py
> . [ 71%]
> s. [
> 71%]
> tests/test_tutorial/test_path_operation_configurations/test_tutorial005_py39.py
> . [ 71%]
> s. [
> 71%]
> tests/test_tutorial/test_path_operation_configurations/test_tutorial006.py .
> [ 71%]
> ... [
> 71%]
> tests/test_tutorial/test_path_params/test_tutorial004.py .. [
> 71%]
> tests/test_tutorial/test_path_params/test_tutorial005.py ..... [
> 72%]
> tests/test_tutorial/test_query_params/test_tutorial005.py ... [
> 72%]
> tests/test_tutorial/test_query_params/test_tutorial006.py ... [
> 72%]
> tests/test_tutorial/test_query_params/test_tutorial006_py310.py ... [
> 72%]
> tests/test_tutorial/test_query_params_str_validations/test_tutorial010.py . [
> 72%]
> .... [
> 72%]
> tests/test_tutorial/test_query_params_str_validations/test_tutorial010_an.py
> . [ 72%]
> .... [
> 73%]
> tests/test_tutorial/test_query_params_str_validations/test_tutorial010_an_py310.py
> . [ 73%]
> .... [
> 73%]
> tests/test_tutorial/test_query_params_str_validations/test_tutorial010_an_py39.py
> . [ 73%]
> .... [
> 73%]
> tests/test_tutorial/test_query_params_str_validations/test_tutorial010_py310.py
> . [ 73%]
> .... [
> 74%]
> tests/test_tutorial/test_query_params_str_validations/test_tutorial011.py . [
> 74%]
> .. [
> 74%]
> tests/test_tutorial/test_query_params_str_validations/test_tutorial011_an.py
> . [ 74%]
> .. [
> 74%]
> tests/test_tutorial/test_query_params_str_validations/test_tutorial011_an_py310.py
> . [ 74%]
> .. [
> 74%]
> tests/test_tutorial/test_query_params_str_validations/test_tutorial011_an_py39.py
> . [ 74%]
> .. [
> 74%]
> tests/test_tutorial/test_query_params_str_validations/test_tutorial011_py310.py
> . [ 74%]
> .. [
> 74%]
> tests/test_tutorial/test_query_params_str_validations/test_tutorial011_py39.py
> . [ 74%]
> .. [
> 74%]
> tests/test_tutorial/test_query_params_str_validations/test_tutorial012.py . [
> 75%]
> .. [
> 75%]
> tests/test_tutorial/test_query_params_str_validations/test_tutorial012_an.py
> . [ 75%]
> .. [
> 75%]
> tests/test_tutorial/test_query_params_str_validations/test_tutorial012_an_py39.py
> . [ 75%]
> .. [
> 75%]
> tests/test_tutorial/test_query_params_str_validations/test_tutorial012_py39.py
> . [ 75%]
> .. [
> 75%]
> tests/test_tutorial/test_query_params_str_validations/test_tutorial013.py . [
> 75%]
> .. [
> 75%]
> tests/test_tutorial/test_query_params_str_validations/test_tutorial013_an.py
> . [ 75%]
> .. [
> 75%]
> tests/test_tutorial/test_query_params_str_validations/test_tutorial013_an_py39.py
> . [ 76%]
> .. [
> 76%]
> tests/test_tutorial/test_query_params_str_validations/test_tutorial014.py . [
> 76%]
> .. [
> 76%]
> tests/test_tutorial/test_query_params_str_validations/test_tutorial014_an.py
> . [ 76%]
> .. [
> 76%]
> tests/test_tutorial/test_query_params_str_validations/test_tutorial014_an_py310.py
> . [ 76%]
> .. [
> 76%]
> tests/test_tutorial/test_query_params_str_validations/test_tutorial014_an_py39.py
> . [ 76%]
> .. [
> 76%]
> tests/test_tutorial/test_query_params_str_validations/test_tutorial014_py310.py
> . [ 76%]
> .. [
> 76%]
> tests/test_tutorial/test_request_files/test_tutorial001.py ...... [
> 77%]
> tests/test_tutorial/test_request_files/test_tutorial001_02.py ..... [
> 77%]
> tests/test_tutorial/test_request_files/test_tutorial001_02_an.py ..... [
> 77%]
> tests/test_tutorial/test_request_files/test_tutorial001_02_an_py310.py . [
> 77%]
> .... [
> 78%]
> tests/test_tutorial/test_request_files/test_tutorial001_02_an_py39.py .. [
> 78%]
> ... [
> 78%]
> tests/test_tutorial/test_request_files/test_tutorial001_02_py310.py .... [
> 78%]
> . [
> 78%]
> tests/test_tutorial/test_request_files/test_tutorial001_03.py ... [
> 78%]
> tests/test_tutorial/test_request_files/test_tutorial001_03_an.py ... [
> 78%]
> tests/test_tutorial/test_request_files/test_tutorial001_03_an_py39.py .. [
> 79%]
> . [
> 79%]
> tests/test_tutorial/test_request_files/test_tutorial001_an.py ...... [
> 79%]
> tests/test_tutorial/test_request_files/test_tutorial001_an_py39.py ..... [
> 79%]
> . [
> 79%]
> tests/test_tutorial/test_request_files/test_tutorial002.py ...... [
> 80%]
> tests/test_tutorial/test_request_files/test_tutorial002_an.py ...... [
> 80%]
> tests/test_tutorial/test_request_files/test_tutorial002_an_py39.py ..... [
> 80%]
> . [
> 80%]
> tests/test_tutorial/test_request_files/test_tutorial002_py39.py ...... [
> 81%]
> tests/test_tutorial/test_request_files/test_tutorial003.py .... [
> 81%]
> tests/test_tutorial/test_request_files/test_tutorial003_an.py .... [
> 81%]
> tests/test_tutorial/test_request_files/test_tutorial003_an_py39.py .... [
> 81%]
> tests/test_tutorial/test_request_files/test_tutorial003_py39.py .... [
> 81%]
> tests/test_tutorial/test_request_forms/test_tutorial001.py ...... [
> 82%]
> tests/test_tutorial/test_request_forms/test_tutorial001_an.py ...... [
> 82%]
> tests/test_tutorial/test_request_forms/test_tutorial001_an_py39.py ..... [
> 82%]
> . [
> 82%]
> tests/test_tutorial/test_request_forms_and_files/test_tutorial001.py ... [
> 83%]
> ... [
> 83%]
> tests/test_tutorial/test_request_forms_and_files/test_tutorial001_an.py . [
> 83%]
> ..... [
> 83%]
> tests/test_tutorial/test_request_forms_and_files/test_tutorial001_an_py39.py
> . [ 83%]
> ..... [
> 83%]
> tests/test_tutorial/test_response_change_status_code/test_tutorial001.py . [
> 83%]
> [
> 83%]
> tests/test_tutorial/test_response_cookies/test_tutorial001.py . [
> 83%]
> tests/test_tutorial/test_response_cookies/test_tutorial002.py . [
> 83%]
> tests/test_tutorial/test_response_headers/test_tutorial001.py . [
> 84%]
> tests/test_tutorial/test_response_headers/test_tutorial002.py . [
> 84%]
> tests/test_tutorial/test_response_model/test_tutorial003.py .. [
> 84%]
> tests/test_tutorial/test_response_model/test_tutorial003_01.py .. [
> 84%]
> tests/test_tutorial/test_response_model/test_tutorial003_01_py310.py .. [
> 84%]
> tests/test_tutorial/test_response_model/test_tutorial003_02.py ... [
> 84%]
> tests/test_tutorial/test_response_model/test_tutorial003_03.py .. [
> 84%]
> tests/test_tutorial/test_response_model/test_tutorial003_04.py . [
> 84%]
> tests/test_tutorial/test_response_model/test_tutorial003_04_py310.py . [
> 84%]
> tests/test_tutorial/test_response_model/test_tutorial003_05.py ... [
> 84%]
> tests/test_tutorial/test_response_model/test_tutorial003_05_py310.py ... [
> 85%]
> [
> 85%]
> tests/test_tutorial/test_response_model/test_tutorial003_py310.py .. [
> 85%]
> tests/test_tutorial/test_response_model/test_tutorial004.py .... [
> 85%]
> tests/test_tutorial/test_response_model/test_tutorial004_py310.py .... [
> 85%]
> tests/test_tutorial/test_response_model/test_tutorial004_py39.py .... [
> 85%]
> tests/test_tutorial/test_response_model/test_tutorial005.py ... [
> 86%]
> tests/test_tutorial/test_response_model/test_tutorial005_py310.py ... [
> 86%]
> tests/test_tutorial/test_response_model/test_tutorial006.py ... [
> 86%]
> tests/test_tutorial/test_response_model/test_tutorial006_py310.py ... [
> 86%]
> tests/test_tutorial/test_schema_extra_example/test_tutorial001.py ss [
> 86%]
> tests/test_tutorial/test_schema_extra_example/test_tutorial001_pv1.py .. [
> 86%]
> [
> 86%]
> tests/test_tutorial/test_schema_extra_example/test_tutorial001_py310.py s [
> 86%]
> s [
> 86%]
> tests/test_tutorial/test_schema_extra_example/test_tutorial001_py310_pv1.py .
> [ 86%]
> . [
> 86%]
> tests/test_tutorial/test_schema_extra_example/test_tutorial004.py .. [
> 87%]
> tests/test_tutorial/test_schema_extra_example/test_tutorial004_an.py .. [
> 87%]
> tests/test_tutorial/test_schema_extra_example/test_tutorial004_an_py310.py .
> [ 87%]
> . [
> 87%]
> tests/test_tutorial/test_schema_extra_example/test_tutorial004_an_py39.py . [
> 87%]
> . [
> 87%]
> tests/test_tutorial/test_schema_extra_example/test_tutorial004_py310.py . [
> 87%]
> . [
> 87%]
> tests/test_tutorial/test_security/test_tutorial001.py .... [
> 87%]
> tests/test_tutorial/test_security/test_tutorial001_an.py .... [
> 87%]
> tests/test_tutorial/test_security/test_tutorial001_an_py39.py .... [
> 88%]
> tests/test_tutorial/test_security/test_tutorial003.py ......... [
> 88%]
> tests/test_tutorial/test_security/test_tutorial003_an.py ......... [
> 89%]
> tests/test_tutorial/test_security/test_tutorial003_an_py310.py ......... [
> 89%]
> [
> 89%]
> tests/test_tutorial/test_security/test_tutorial003_an_py39.py ......... [
> 90%]
> tests/test_tutorial/test_security/test_tutorial003_py310.py ......... [
> 90%]
> tests/test_tutorial/test_security/test_tutorial006.py ..... [
> 90%]
> tests/test_tutorial/test_security/test_tutorial006_an.py ..... [
> 91%]
> tests/test_tutorial/test_security/test_tutorial006_an_py39.py ..... [
> 91%]
> tests/test_tutorial/test_settings/test_app02.py ss [
> 91%]
> tests/test_tutorial/test_settings/test_tutorial001.py s [
> 91%]
> tests/test_tutorial/test_settings/test_tutorial001_pv1.py . [
> 91%]
> tests/test_tutorial/test_sql_databases/test_sql_databases.py ....... [
> 91%]
> tests/test_tutorial/test_sql_databases/test_sql_databases_middleware.py . [
> 92%]
> ...... [
> 92%]
> tests/test_tutorial/test_sql_databases/test_sql_databases_middleware_py310.py
> . [ 92%]
> ...... [
> 92%]
> tests/test_tutorial/test_sql_databases/test_sql_databases_middleware_py39.py
> . [ 92%]
> ...... [
> 93%]
> tests/test_tutorial/test_sql_databases/test_sql_databases_py310.py ..... [
> 93%]
> .. [
> 93%]
> tests/test_tutorial/test_sql_databases/test_sql_databases_py39.py ...... [
> 93%]
> . [
> 93%]
> tests/test_tutorial/test_sql_databases/test_testing_databases.py . [
> 93%]
> tests/test_tutorial/test_sql_databases/test_testing_databases_py310.py . [
> 93%]
> [
> 93%]
> tests/test_tutorial/test_sql_databases/test_testing_databases_py39.py . [
> 94%]
> tests/test_tutorial/test_sql_databases_peewee/test_sql_databases_peewee.py .
> [ 94%]
> ....... [
> 94%]
> tests/test_tutorial/test_sub_applications/test_tutorial001.py .... [
> 94%]
> tests/test_tutorial/test_templates/test_tutorial001.py . [
> 94%]
> tests/test_tutorial/test_testing/test_main.py ... [
> 94%]
> tests/test_tutorial/test_testing/test_main_b.py . [
> 94%]
> tests/test_tutorial/test_testing/test_main_b_an.py . [
> 94%]
> tests/test_tutorial/test_testing/test_main_b_an_py310.py . [
> 95%]
> tests/test_tutorial/test_testing/test_main_b_an_py39.py . [
> 95%]
> tests/test_tutorial/test_testing/test_main_b_py310.py . [
> 95%]
> tests/test_tutorial/test_testing/test_tutorial001.py ... [
> 95%]
> tests/test_tutorial/test_testing/test_tutorial002.py .... [
> 95%]
> tests/test_tutorial/test_testing/test_tutorial003.py .. [
> 95%]
> tests/test_tutorial/test_testing_dependencies/test_tutorial001.py ...... [
> 95%]
> .... [
> 96%]
> tests/test_tutorial/test_testing_dependencies/test_tutorial001_an.py ... [
> 96%]
> ....... [
> 96%]
> tests/test_tutorial/test_testing_dependencies/test_tutorial001_an_py310.py .
> [ 96%]
> ...... [
> 97%]
> tests/test_tutorial/test_testing_dependencies/test_tutorial001_an_py39.py . [
> 97%]
> ...... [
> 97%]
> tests/test_tutorial/test_testing_dependencies/test_tutorial001_py310.py . [
> 97%]
> ...... [
> 97%]
> tests/test_tutorial/test_websockets/test_tutorial001.py .. [
> 97%]
> tests/test_tutorial/test_websockets/test_tutorial002.py ...... [
> 98%]
> tests/test_tutorial/test_websockets/test_tutorial002_an.py ...... [
> 98%]
> tests/test_tutorial/test_websockets/test_tutorial002_an_py310.py ...... [
> 98%]
> tests/test_tutorial/test_websockets/test_tutorial002_an_py39.py ...... [
> 99%]
> tests/test_tutorial/test_websockets/test_tutorial002_py310.py ...... [
> 99%]
> tests/test_tutorial/test_websockets/test_tutorial003.py .. [
> 99%]
> tests/test_tutorial/test_websockets/test_tutorial003_py39.py .. [
> 99%]
> tests/test_tutorial/test_wsgi/test_tutorial001.py .. [
> 99%]
> tests/test_validate_response_recursive/test_validate_response_recursive_pv1.py
> . [ 99%]
> [
> 99%]
> tests/test_validate_response_recursive/test_validate_response_recursive_pv2.py
> s [100%]
>
> =================================== FAILURES
> ===================================
> _______________________ test_warn_duplicate_operation_id
> _______________________
>
> def test_warn_duplicate_operation_id():
> def broken_operation_id(route: APIRoute):
> return "foo"
>
> app = FastAPI(generate_unique_id_function=broken_operation_id)
>
> @app.post("/")
> def post_root(item1: Item):
> return item1 # pragma: nocover
>
> @app.post("/second")
> def post_second(item1: Item):
> return item1 # pragma: nocover
>
> @app.post("/third")
> def post_third(item1: Item):
> return item1 # pragma: nocover
>
> client = TestClient(app)
> with warnings.catch_warnings(record=True) as w:
> warnings.simplefilter("always")
> client.get("/openapi.json")
> > assert len(w) == 2
> E assert 8 == 2
> E + where 8 = len([<warnings.WarningMessage object at
> 0x7fe1cd246d50>, <warnings.WarningMessage object at 0x7fe1cd247210>,
> <warnings.War...cd246fd0>, <warnings.WarningMessage object at
> 0x7fe1cd246f90>, <warnings.WarningMessage object at 0x7fe1cd247290>, ...])
>
> tests/test_generate_unique_id_function.py:1629: AssertionError
> =========================== short test summary info
> ============================
> FAILED
> tests/test_generate_unique_id_function.py::test_warn_duplicate_operation_id
> ========== 1 failed, 1819 passed, 35 skipped, 17 deselected in 23.29s
> ==========
> E: pybuild pybuild:395: test: plugin pyproject failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_fastapi/build; python3.11 -m pytest
> -W ignore::DeprecationWarning --ignore=docs_src/
> --ignore=tests/test_default_response_class.py
> --ignore-glob=tests/test_tutorial/test_security/test_tutorial005*
> --ignore=tests/test_tutorial/test_custom_response/test_tutorial009c.py
> --ignore=tests/test_response_by_alias.py -k " not test_get_custom_response
> and not test_root and not test_async_testing and not test_orjson_non_str_keys
> and not test_dependency_gets_exception and not test_path_operation_img"
> rm -fr -- /tmp/dh-xdg-rundir-9UEhapDb
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.11
> returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2023/10/27/fastapi_0.101.0-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231027;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231027&[email protected]&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.