Package: src:litestar
Version: 2.15.1-3
Severity: serious
Tags: ftbfs trixie sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
   dh_autoreconf_clean -O--buildsystem=pybuild
   debian/rules override_dh_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_clean
rm -rf .mypy_cache
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
 debian/rules binary
dh binary --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
   dh_auto_build -O--buildsystem=pybuild
I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build" 
module
I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_litestar  
* Building wheel...
Successfully built litestar-2.15.1-py3-none-any.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with 
"installer" module
   dh_auto_test -O--buildsystem=pybuild
I: pybuild pybuild:308: cp -a docs 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_litestar/build
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_litestar/build; 
python3.13 -m pytest --ignore=docs/examples/testing/test_subprocess_sse.py 
--ignore=tests/unit/test_channels/test_backends.py 
--ignore=tests/unit/test_channels/test_plugin.py 
--ignore=tests/unit/test_cli/test_schema_commands.py 
--ignore=tests/unit/test_contrib/test_opentelemetry.py 
--ignore=tests/unit/test_file_system.py 
--ignore=tests/unit/test_kwargs/test_validations.py 
--ignore=tests/unit/test_middleware/test_rate_limit_middleware.py 
--ignore=tests/unit/test_openapi --ignore=tests/unit/test_stores.py 
--ignore=tests/unit/test_testing/test_sub_client/test_subprocess_client.py 
--ignore=tests/unit/test_testing/test_test_client.py -k 'not test_backlog and 
not test_prometheus_exporter_metrics_with_http and not test_qsize and not 
test_request_body_logging_middleware and not test_sqlalchemy_declarative_models 
and not test_with_portal and not test_with_stores '
============================= test session starts ==============================
platform linux -- Python 3.13.2, pytest-8.3.5, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_litestar/build
configfile: pyproject.toml
testpaths: tests, docs/examples/testing
plugins: Faker-33.3.1, hypothesis-6.127.4, timeout-2.3.1, asyncio-0.25.1, 
time-machine-2.16.0, xdist-3.6.1, flaky-3.8.1, mock-3.14.0, anyio-4.8.0, 
lazy-fixtures-0.0.0
asyncio: mode=Mode.AUTO, asyncio_default_fixture_loop_scope=function
collected 4666 items / 23 deselected / 2 skipped / 4643 selected

tests/e2e/test_advanced_alchemy.py .                                     [  0%]
tests/e2e/test_cors/test_cors_allowed_headers.py ..                      [  0%]
tests/e2e/test_cors/test_cors_allowed_methods.py ..                      [  0%]
tests/e2e/test_cors/test_cors_credentials.py ..                          [  0%]
tests/e2e/test_cors/test_cors_for_middleware_exception.py .              [  0%]
tests/e2e/test_cors/test_cors_for_mount.py ...                           [  0%]
tests/e2e/test_cors/test_cors_for_routing_exception.py .                 [  0%]
tests/e2e/test_cors/test_cors_origins.py ..                              [  0%]
tests/e2e/test_cors/test_custom_options_handlers.py ..                   [  0%]
tests/e2e/test_cors/test_non_cors_options.py ..                          [  0%]
tests/e2e/test_dependency_injection/test_dependency_validation.py .      [  0%]
tests/e2e/test_dependency_injection/test_http_handler_dependency_injection.py . 
[  0%]
..                                                                       [  0%]
tests/e2e/test_dependency_injection/test_injection_of_classes.py ...     [  0%]
tests/e2e/test_dependency_injection/test_injection_of_generic_models.py . [  0%]
                                                                         [  0%]
tests/e2e/test_dependency_injection/test_inter_dependencies.py ..        [  0%]
tests/e2e/test_dependency_injection/test_request_local_caching.py .      [  0%]
tests/e2e/test_dependency_injection/test_websocket_handler_dependency_injection.py
 . [  0%]
..                                                                       [  0%]
tests/e2e/test_exception_handlers/test_exception_handler_registered_on_handler.py
 . [  0%]
                                                                         [  0%]
tests/e2e/test_exception_handlers/test_exception_handlers.py .....       [  0%]
tests/e2e/test_life_cycle_hooks/test_after_request.py .............      [  1%]
tests/e2e/test_life_cycle_hooks/test_after_response.py ........          [  1%]
tests/e2e/test_life_cycle_hooks/test_before_request.py ..............    [  1%]
tests/e2e/test_logging/test_structlog_to_file.py .                       [  1%]
tests/e2e/test_middleware/test_exception_handler_applied_to_middleware_exception.py
 . [  1%]
                                                                         [  1%]
tests/e2e/test_middleware/test_exception_handler_called_from_mounted_app.py . [ 
 1%]
                                                                         [  1%]
tests/e2e/test_middleware/test_exception_handler_called_if_no_middleware.py . [ 
 1%]
                                                                         [  1%]
tests/e2e/test_middleware/test_logging_middleware_with_multi_body_response.py . 
[  1%]
                                                                         [  1%]
tests/e2e/test_middleware/test_middleware_send_wrapper_called_on_error.py . [  
1%]
                                                                         [  1%]
tests/e2e/test_openapi/test_spec_headers.py .                            [  1%]
tests/e2e/test_option_requests.py .........................              [  2%]
tests/e2e/test_pydantic.py ..                                            [  2%]
tests/e2e/test_regular_handler_under_asgi_mount_path.py .                [  2%]
tests/e2e/test_response_caching.py ........................              [  2%]
tests/e2e/test_router_registration.py .........                          [  3%]
tests/e2e/test_routing/test_asset_url_path.py ...                        [  3%]
tests/e2e/test_routing/test_path_mounting.py ....                        [  3%]
tests/e2e/test_routing/test_path_resolution.py ......................... [  3%]
............                                                             [  3%]
tests/e2e/test_routing/test_route_indexing.py ................           [  4%]
tests/e2e/test_routing/test_route_reverse.py .........                   [  4%]
tests/e2e/test_routing/test_validations.py ....                          [  4%]
tests/e2e/test_starlette_responses.py .                                  [  4%]
tests/examples/test_application_hooks/test_application_after_exception_hook.py 
. [  4%]
                                                                         [  4%]
tests/examples/test_application_hooks/test_application_before_send.py .  [  4%]
tests/examples/test_application_hooks/test_lifespan_manager.py .         [  4%]
tests/examples/test_application_hooks/test_on_app_init.py .              [  4%]
tests/examples/test_application_state/test_passing_initial_state.py .    [  4%]
tests/examples/test_application_state/test_using_application_state.py .  [  4%]
tests/examples/test_application_state/test_using_custom_state.py .       [  4%]
tests/examples/test_application_state/test_using_immutable_state.py .    [  4%]
tests/examples/test_cache_control_headers.py .                           [  4%]
tests/examples/test_contrib/prometheus/test_prometheus_exporter_example.py . [  
4%]
......                                                                   [  4%]
tests/examples/test_contrib/prometheus/test_prometheus_exporter_example_with_extra_config.py
 . [  4%]
                                                                         [  4%]
tests/examples/test_contrib/test_sqlalchemy/plugins/test_example_apps.py . [  
5%]
............                                                             [  5%]
tests/examples/test_contrib/test_sqlalchemy/plugins/test_tutorial_example_apps.py
 . [  5%]
....                                                                     [  5%]
tests/examples/test_data_transfer_objects/test_defining_dtos_on_layers.py . [  
5%]
....                                                                     [  5%]
tests/examples/test_data_transfer_objects/test_factory/test_dto_data_problem_statement.py
 . [  5%]
                                                                         [  5%]
tests/examples/test_data_transfer_objects/test_factory/test_dto_data_usage.py . 
[  5%]
                                                                         [  5%]
tests/examples/test_data_transfer_objects/test_factory/test_leading_underscore_private.py
 . [  5%]
                                                                         [  5%]
tests/examples/test_data_transfer_objects/test_factory/test_leading_underscore_private_override.py
 . [  5%]
                                                                         [  5%]
tests/examples/test_data_transfer_objects/test_factory/test_type_checking.py . 
[  5%]
                                                                         [  5%]
tests/examples/test_data_transfer_objects/test_overriding_implicit_return_dto.py
 . [  5%]
                                                                         [  5%]
tests/examples/test_datastructures/test_secrets.py ..                    [  5%]
tests/examples/test_dependency_injection/test_dependency_default_value_no_dependency_fn.py
 . [  5%]
                                                                         [  5%]
tests/examples/test_dependency_injection/test_dependency_default_value_with_dependency_fn.py
 . [  5%]
                                                                         [  5%]
tests/examples/test_dependency_injection/test_dependency_skip_validation.py . [ 
 5%]
                                                                         [  5%]
tests/examples/test_dependency_injection/test_dependency_validation_error.py . 
[  5%]
                                                                         [  5%]
tests/examples/test_dto/test_example_apps.py ........                    [  5%]
tests/examples/test_dto/test_tutorial.py ..............                  [  6%]
tests/examples/test_encoding_decoding/test_custom_type_encoding_decoding.py . [ 
 6%]
                                                                         [  6%]
tests/examples/test_encoding_decoding/test_custom_type_pydantic.py .     [  6%]
tests/examples/test_exceptions.py ...                                    [  6%]
tests/examples/test_hello_world.py .                                     [  6%]
tests/examples/test_lifecycle_hooks.py ....                              [  6%]
tests/examples/test_middleware/test_abstract_middleware.py ....          [  6%]
tests/examples/test_middleware/test_call_order.py .                      [  6%]
tests/examples/test_middleware/test_logging_middleware.py .              [  6%]
tests/examples/test_middleware/test_rate_limit_middleware.py .           [  6%]
tests/examples/test_middleware/test_session_middleware.py .              [  6%]
tests/examples/test_openapi/test_openapi.py ..                           [  6%]
tests/examples/test_openapi/test_plugins.py ..........                   [  6%]
tests/examples/test_pagination/test_using_classic_pagination.py .        [  6%]
tests/examples/test_pagination/test_using_cursor_pagination.py .         [  6%]
tests/examples/test_pagination/test_using_offset_pagination.py .         [  6%]
tests/examples/test_parameters/test_header_and_cookies_parameters.py .   [  6%]
tests/examples/test_parameters/test_layered_parameters.py ....           [  7%]
tests/examples/test_parameters/test_path_parameters.py ...               [  7%]
tests/examples/test_parameters/test_query_parameters.py ......           [  7%]
tests/examples/test_plugins/test_di_plugin.py .                          [  7%]
tests/examples/test_plugins/test_example_apps.py .                       [  7%]
tests/examples/test_plugins/test_sqlalchemy_init_plugin.py ..            [  7%]
tests/examples/test_request_data.py ............                         [  7%]
tests/examples/test_responses/test_background_tasks.py ...               [  7%]
tests/examples/test_responses/test_custom_responses.py .                 [  7%]
tests/examples/test_responses/test_json_suffix_responses.py .            [  7%]
tests/examples/test_responses/test_response_cookies.py .....             [  7%]
tests/examples/test_responses/test_response_headers.py ....              [  7%]
tests/examples/test_responses/test_returning_responses.py .              [  7%]
tests/examples/test_responses/test_sse_responses.py .                    [  7%]
tests/examples/test_routing.py ..                                        [  7%]
tests/examples/test_security/test_jwt/test_using_jwt_auth.py .           [  7%]
tests/examples/test_security/test_jwt/test_using_jwt_cookie_auth.py .    [  8%]
tests/examples/test_security/test_jwt/test_using_oauth2_password_bearer.py . [  
8%]
                                                                         [  8%]
tests/examples/test_security/test_jwt/test_verify_issuer_audience.py .   [  8%]
tests/examples/test_signature_namespace.py .                             [  8%]
tests/examples/test_startup_and_shutdown.py .                            [  8%]
tests/examples/test_static_files.py .......                              [  8%]
tests/examples/test_stores.py .........                                  [  8%]
tests/examples/test_templating/test_engine_instance.py ...               [  8%]
tests/examples/test_templating/test_returning_templates.py ......        [  8%]
tests/examples/test_templating/test_template_functions.py ...            [  8%]
tests/examples/test_todo_app.py ..............                           [  9%]
tests/examples/test_using_session_auth.py ..                             [  9%]
tests/examples/test_websockets.py .                                      [  9%]
tests/unit/test_app.py ..........................................        [  9%]
tests/unit/test_asgi/test_asgi_router.py .............                   [ 10%]
tests/unit/test_asgi/test_routing_trie/test_mapping.py ...               [ 10%]
tests/unit/test_asgi/test_routing_trie/test_traversal.py ..              [ 10%]
tests/unit/test_background_tasks.py ..                                   [ 10%]
tests/unit/test_channels/test_subscriber.py .........                    [ 10%]
tests/unit/test_cli/test_cli.py ......                                   [ 10%]
tests/unit/test_cli/test_cli_plugin.py .                                 [ 10%]
tests/unit/test_cli/test_core_commands.py .............................. [ 11%]
........................................................................ [ 12%]
........................................................................ [ 14%]
........................................................................ [ 16%]
........................................................................ [ 17%]
........................................................................ [ 19%]
........................................................................ [ 20%]
........................................................................ [ 22%]
........................................................................ [ 23%]
........................................................................ [ 25%]
.................................................................        [ 26%]
tests/unit/test_cli/test_env_resolution.py ............................. [ 27%]
................................................                         [ 28%]
tests/unit/test_cli/test_session_commands.py .......                     [ 28%]
tests/unit/test_cli/test_ssl.py ......................                   [ 29%]
tests/unit/test_concurrency.py .........                                 [ 29%]
tests/unit/test_connection/test_base.py .                                [ 29%]
tests/unit/test_connection/test_connection_caching.py .................. [ 29%]
.............                                                            [ 29%]
tests/unit/test_connection/test_request.py ............................. [ 30%]
..................                                                       [ 30%]
tests/unit/test_connection/test_websocket.py ........................... [ 31%]
.........                                                                [ 31%]
tests/unit/test_contrib/test_attrs.py ...                                [ 31%]
tests/unit/test_contrib/test_htmx/test_htmx_deprecations.py ...          [ 31%]
tests/unit/test_contrib/test_htmx/test_htmx_request.py ................. [ 32%]
........                                                                 [ 32%]
tests/unit/test_contrib/test_htmx/test_htmx_response.py ................ [ 32%]
........                                                                 [ 32%]
tests/unit/test_contrib/test_minijinja.py .....                          [ 32%]
tests/unit/test_contrib/test_msgspec.py ....                             [ 33%]
tests/unit/test_contrib/test_prometheus.py ....                          [ 33%]
tests/unit/test_contrib/test_pydantic.py ......                          [ 33%]
tests/unit/test_contrib/test_repository.py .......                       [ 33%]
tests/unit/test_contrib/test_sqlalchemy.py ......................        [ 33%]
tests/unit/test_controller.py .........                                  [ 34%]
tests/unit/test_data_extractors.py ............                          [ 34%]
tests/unit/test_datastructures/test_cookie.py .....                      [ 34%]
tests/unit/test_datastructures/test_headers.py ......................... [ 35%]
...............................................                          [ 36%]
tests/unit/test_datastructures/test_multi_dicts.py .........             [ 36%]
tests/unit/test_datastructures/test_response_header.py .                 [ 36%]
tests/unit/test_datastructures/test_secret_values.py ................... [ 36%]
                                                                         [ 36%]
tests/unit/test_datastructures/test_state.py ................            [ 37%]
tests/unit/test_datastructures/test_upload_file.py ..                    [ 37%]
tests/unit/test_datastructures/test_url.py .......................       [ 37%]
tests/unit/test_deprecations.py ........................................ [ 38%]
                                                                         [ 38%]
tests/unit/test_di.py ......................................             [ 39%]
tests/unit/test_dto/test_config.py .                                     [ 39%]
tests/unit/test_dto/test_factory/test_backends/test_backends.py ........ [ 39%]
...........................                                              [ 39%]
tests/unit/test_dto/test_factory/test_backends/test_base_dto.py ........ [ 40%]
................................                                         [ 40%]
tests/unit/test_dto/test_factory/test_backends/test_utils.py ........... [ 41%]
                                                                         [ 41%]
tests/unit/test_dto/test_factory/test_base_dto.py .................      [ 41%]
tests/unit/test_dto/test_factory/test_dataclass_dto.py s....             [ 41%]
tests/unit/test_dto/test_factory/test_field.py .                         [ 41%]
tests/unit/test_dto/test_factory/test_integration.py ................... [ 41%]
........................................................................ [ 43%]
..........                                                               [ 43%]
tests/unit/test_dto/test_factory/test_utils.py .....                     [ 43%]
tests/unit/test_dto/test_integration.py ................                 [ 44%]
tests/unit/test_dto/test_interface.py ..                                 [ 44%]
tests/unit/test_events.py .............                                  [ 44%]
tests/unit/test_exceptions.py .........................                  [ 45%]
tests/unit/test_guards.py ....                                           [ 45%]
tests/unit/test_handlers/test_asgi_handlers/test_handle_asgi.py .....    [ 45%]
tests/unit/test_handlers/test_asgi_handlers/test_handle_asgi_with_future_annotations.py
 . [ 45%]
                                                                         [ 45%]
tests/unit/test_handlers/test_asgi_handlers/test_validations.py .        [ 45%]
tests/unit/test_handlers/test_base_handlers/test_opt.py ...........      [ 45%]
tests/unit/test_handlers/test_base_handlers/test_resolution.py ...       [ 45%]
tests/unit/test_handlers/test_base_handlers/test_validations.py ..       [ 45%]
tests/unit/test_handlers/test_http_handlers/test_defaults.py ........... [ 45%]
.............                                                            [ 46%]
tests/unit/test_handlers/test_http_handlers/test_delete.py .             [ 46%]
tests/unit/test_handlers/test_http_handlers/test_deprecation.py .......  [ 46%]
tests/unit/test_handlers/test_http_handlers/test_head.py ......          [ 46%]
tests/unit/test_handlers/test_http_handlers/test_kwarg_handling.py ..... [ 46%]
.                                                                        [ 46%]
tests/unit/test_handlers/test_http_handlers/test_media_type.py ........  [ 46%]
tests/unit/test_handlers/test_http_handlers/test_resolution.py ....      [ 46%]
tests/unit/test_handlers/test_http_handlers/test_signature_namespace.py . [ 46%]
....                                                                     [ 46%]
tests/unit/test_handlers/test_http_handlers/test_sync.py .....           [ 47%]
tests/unit/test_handlers/test_http_handlers/test_validations.py ........ [ 47%]
.....                                                                    [ 47%]
tests/unit/test_handlers/test_websocket_handlers/test_handle_websocket.py . [ 
47%]
.                                                                        [ 47%]
tests/unit/test_handlers/test_websocket_handlers/test_handle_websocket_with_future_annotations.py
 . [ 47%]
                                                                         [ 47%]
tests/unit/test_handlers/test_websocket_handlers/test_kwarg_handling.py . [ 47%]
                                                                         [ 47%]
tests/unit/test_handlers/test_websocket_handlers/test_listeners.py ..... [ 47%]
............................                                             [ 48%]
tests/unit/test_handlers/test_websocket_handlers/test_stream.py ........ [ 48%]
.                                                                        [ 48%]
tests/unit/test_handlers/test_websocket_handlers/test_validations.py ... [ 48%]
....                                                                     [ 48%]
tests/unit/test_kwargs/test_cleanup_group.py .....                       [ 48%]
tests/unit/test_kwargs/test_cookie_params.py ......                      [ 48%]
tests/unit/test_kwargs/test_defaults.py .                                [ 48%]
tests/unit/test_kwargs/test_dependency_batches.py .........              [ 48%]
tests/unit/test_kwargs/test_generator_dependencies.py ..............     [ 49%]
tests/unit/test_kwargs/test_header_params.py .........                   [ 49%]
tests/unit/test_kwargs/test_json_data.py ...                             [ 49%]
tests/unit/test_kwargs/test_layered_params.py .........                  [ 49%]
tests/unit/test_kwargs/test_msgpack_data.py ..                           [ 49%]
tests/unit/test_kwargs/test_multipart_data.py .............x............ [ 50%]
............                                                             [ 50%]
tests/unit/test_kwargs/test_path_params.py ............................. [ 51%]
...                                                                      [ 51%]
tests/unit/test_kwargs/test_query_params.py ..................           [ 51%]
tests/unit/test_kwargs/test_reserved_kwargs_injection.py ............... [ 51%]
.............................                                            [ 52%]
tests/unit/test_kwargs/test_url_encoded_data.py ..                       [ 52%]
tests/unit/test_logging/test_logging_config.py ......................... [ 53%]
.........                                                                [ 53%]
tests/unit/test_logging/test_structlog_config.py ..............          [ 53%]
tests/unit/test_middleware/test_allowed_hosts_middleware.py ........     [ 53%]
tests/unit/test_middleware/test_base_authentication_middleware.py ...... [ 53%]
.....                                                                    [ 54%]
tests/unit/test_middleware/test_base_middleware.py ..................... [ 54%]
                                                                         [ 54%]
tests/unit/test_middleware/test_compression_middleware.py .............. [ 54%]
....................                                                     [ 55%]
tests/unit/test_middleware/test_cors_middleware.py ..................... [ 55%]
........................................................................ [ 57%]
........................................................................ [ 58%]
........................................................................ [ 60%]
........................................................................ [ 61%]
........................................................................ [ 63%]
........................................................................ [ 65%]
....................................                                     [ 65%]
tests/unit/test_middleware/test_csrf_middleware.py ...............       [ 66%]
tests/unit/test_middleware/test_exception_handler_middleware.py ........ [ 66%]
.........................................                                [ 67%]
tests/unit/test_middleware/test_logging_middleware.py ..............     [ 67%]
tests/unit/test_middleware/test_middleware_handling.py ....              [ 67%]
tests/unit/test_middleware/test_session/test_client_side_backend.py .... [ 67%]
....................                                                     [ 68%]
tests/unit/test_middleware/test_session/test_integration.py .            [ 68%]
tests/unit/test_middleware/test_session/test_middleware.py ............. [ 68%]
                                                                         [ 68%]
tests/unit/test_middleware/test_session/test_server_side_backend.py .... [ 68%]
............                                                             [ 68%]
tests/unit/test_pagination.py ............                               [ 68%]
tests/unit/test_params.py .......................                        [ 69%]
tests/unit/test_parsers.py .................                             [ 69%]
tests/unit/test_plugins/test_attrs/test_inject_attrs_class.py .          [ 69%]
tests/unit/test_plugins/test_attrs/test_schema_plugin.py .               [ 69%]
tests/unit/test_plugins/test_attrs/test_schema_spec_generation.py .      [ 69%]
tests/unit/test_plugins/test_attrs/test_signature.py .                   [ 69%]
tests/unit/test_plugins/test_base.py ..............                      [ 70%]
tests/unit/test_plugins/test_flash.py ........                           [ 70%]
tests/unit/test_plugins/test_problem_details.py ........                 [ 70%]
tests/unit/test_plugins/test_prometheus.py .....                         [ 70%]
tests/unit/test_plugins/test_pydantic/test_beanie_integration.py .       [ 70%]
tests/unit/test_plugins/test_pydantic/test_dto.py ...................... [ 71%]
..........                                                               [ 71%]
tests/unit/test_plugins/test_pydantic/test_inject_pydantic.py ..         [ 71%]
tests/unit/test_plugins/test_pydantic/test_integration.py .............. [ 71%]
.........................                                                [ 72%]
tests/unit/test_plugins/test_pydantic/test_openapi.py .................. [ 72%]
........................................................................ [ 74%]
...............................................................          [ 75%]
tests/unit/test_plugins/test_pydantic/test_plugin_serialization.py ..... [ 75%]
...................................................                      [ 76%]
tests/unit/test_plugins/test_pydantic/test_pydantic_dto_factory.py ..... [ 76%]
...                                                                      [ 76%]
tests/unit/test_plugins/test_pydantic/test_schema_plugin.py ............ [ 77%]
..........                                                               [ 77%]
tests/unit/test_plugins/test_pydantic/test_utils.py ..                   [ 77%]
tests/unit/test_plugins/test_sqlalchemy.py .                             [ 77%]
tests/unit/test_repository/test_generic_mock_repository.py ............. [ 77%]
........................................................................ [ 79%]
.............................                                            [ 79%]
tests/unit/test_request_class_resolution.py ......                       [ 80%]
tests/unit/test_response/test_base_response.py ......................... [ 80%]
.............                                                            [ 80%]
tests/unit/test_response/test_file_response.py ......................... [ 81%]
.............................................                            [ 82%]
tests/unit/test_response/test_redirect_response.py ................      [ 82%]
tests/unit/test_response/test_response_cookies.py .......                [ 82%]
tests/unit/test_response/test_response_headers.py ..........             [ 83%]
tests/unit/test_response/test_response_to_asgi_response.py ............. [ 83%]
........................................................                 [ 84%]
tests/unit/test_response/test_serialization.py ....................      [ 85%]
tests/unit/test_response/test_sse.py ..........                          [ 85%]
tests/unit/test_response/test_streaming_response.py ...........          [ 85%]
tests/unit/test_response/test_type_decoders.py .....                     [ 85%]
tests/unit/test_response/test_type_encoders.py ..                        [ 85%]
tests/unit/test_response_class_resolution.py .....                       [ 85%]
tests/unit/test_security/test_jwt/test_auth.py ......................... [ 86%]
............................................................             [ 87%]
tests/unit/test_security/test_jwt/test_integration.py .                  [ 87%]
tests/unit/test_security/test_jwt/test_token.py ........................ [ 88%]
.........................................                                [ 88%]
tests/unit/test_security/test_security.py ..........                     [ 89%]
tests/unit/test_security/test_session_auth.py ..                         [ 89%]
tests/unit/test_signature/test_parsing.py ...............                [ 89%]
tests/unit/test_signature/test_validation.py .............               [ 89%]
tests/unit/test_static_files/test_create_static_router.py .....          [ 89%]
tests/unit/test_static_files/test_file_serving_resolution.py ........... [ 90%]
....................................                                     [ 90%]
tests/unit/test_static_files/test_html_mode.py ............              [ 91%]
tests/unit/test_static_files/test_static_files_validation.py ........... [ 91%]
.............                                                            [ 91%]
tests/unit/test_template/test_built_in.py ....................           [ 92%]
tests/unit/test_template/test_builtin_functions.py ...........           [ 92%]
tests/unit/test_template/test_config.py .                                [ 92%]
tests/unit/test_template/test_context.py ...                             [ 92%]
tests/unit/test_template/test_csrf_token.py ......                       [ 92%]
tests/unit/test_template/test_template.py .............................. [ 93%]
......                                                                   [ 93%]
tests/unit/test_testing/test_lifespan_handler.py ...                     [ 93%]
tests/unit/test_testing/test_request_factory.py ..................       [ 93%]
tests/unit/test_types/test_protocols.py .........                        [ 94%]
tests/unit/test_typing.py .......................................F       [ 94%]
tests/unit/test_utils/test_compat.py .                                   [ 94%]
tests/unit/test_utils/test_dataclass.py ............                     [ 95%]
tests/unit/test_utils/test_deprecation.py ...                            [ 95%]
tests/unit/test_utils/test_empty.py ..                                   [ 95%]
tests/unit/test_utils/test_helpers.py ........                           [ 95%]
tests/unit/test_utils/test_module_loader.py ....                         [ 95%]
tests/unit/test_utils/test_path.py .................                     [ 95%]
tests/unit/test_utils/test_predicates.py ............................... [ 96%]
...........................................................              [ 97%]
tests/unit/test_utils/test_scope.py .........                            [ 98%]
tests/unit/test_utils/test_sequence.py ..                                [ 98%]
tests/unit/test_utils/test_signature.py ...........................      [ 98%]
tests/unit/test_utils/test_sync.py ......                                [ 98%]
tests/unit/test_utils/test_typing.py .......................             [ 99%]
tests/unit/test_utils/test_version.py ................                   [ 99%]
tests/unit/test_websocket_class_resolution.py ...........                [ 99%]
docs/examples/testing/test_get_session_data_async.py .                   [ 99%]
docs/examples/testing/test_health_check_async.py .                       [ 99%]
docs/examples/testing/test_health_check_sync.py .                        [ 99%]
docs/examples/testing/test_set_session_data.py .                         [ 99%]
docs/examples/testing/test_set_session_data_async.py .                   [100%]

=================================== FAILURES ===================================
_____________________ test_unwrap_type_alias_type_keyword ______________________

    @pytest.mark.skipif(sys.version_info < (3, 12), reason="type keyword not 
available before 3.12")
    def test_unwrap_type_alias_type_keyword() -> None:
        ctx: dict[str, Any] = {}
        exec("type IntAlias = int", ctx, None)
        annotation = ctx["IntAlias"]
        field_definition = FieldDefinition.from_annotation(annotation)
>       assert field_definition.is_type_alias_type
E       AssertionError: assert False
E        +  where False = FieldDefinition(raw=IntAlias, annotation=IntAlias, 
type_wrappers=set(), origin=None, args=(), metadata=(), instantiabl...one, 
safe_generic_origin=None, inner_types=(), default=<_EmptyEnum.EMPTY: 0>, 
extra={}, kwarg_definition=None, name='').is_type_alias_type

tests/unit/test_typing.py:476: AssertionError
=============================== warnings summary ===============================
tests/unit/test_concurrency.py::test_set_asyncio_executor_from_running_loop_raises
  /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: 
PytestUnraisableExceptionWarning: Exception ignored in: <socket.socket fd=-1, 
family=1, type=1, proto=0>
  
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/_pytest/nodes.py", line 344, in 
<genexpr>
      return (x[1] for x in self.iter_markers_with_node(name=name))
      
  ResourceWarning: unclosed <socket.socket fd=22, family=1, type=1, proto=0>
  
    warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))

tests/unit/test_connection/test_base.py::test_connection_base_properties
  /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: 
PytestUnraisableExceptionWarning: Exception ignored in: <socket.socket fd=-1, 
family=1, type=1, proto=0>
  
  Traceback (most recent call last):
    File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_litestar/build/litestar/router.py", 
line 277, in route_handler_method_map
      route_map[route.path][method] = route_handler
      ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
  ResourceWarning: unclosed <socket.socket fd=16, family=1, type=1, proto=0>
  
    warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))

tests/unit/test_contrib/test_msgspec.py::test_tag_field_included_in_schema
  /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: 
PytestUnraisableExceptionWarning: Exception ignored in: <socket.socket fd=-1, 
family=1, type=1, proto=0>
  
  Traceback (most recent call last):
    File "/usr/lib/python3.13/typing.py", line 489, in <genexpr>
      ev_args = tuple(
      
  ResourceWarning: unclosed <socket.socket fd=13, family=1, type=1, proto=0>
  
    warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/unit/test_typing.py::test_unwrap_type_alias_type_keyword - Asser...
= 1 failed, 4640 passed, 3 skipped, 23 deselected, 1 xfailed, 3 warnings in 
65.54s (0:01:05) =
<sys>:0: ResourceWarning: unclosed database in <sqlite3.Connection object at 
0x7f4518fb93f0>
<sys>:0: ResourceWarning: unclosed database in <sqlite3.Connection object at 
0x7f4505b17d30>
<sys>:0: ResourceWarning: unclosed database in <sqlite3.Connection object at 
0x7f45018949a0>
<sys>:0: ResourceWarning: unclosed database in <sqlite3.Connection object at 
0x7f45018946d0>
<sys>:0: ResourceWarning: unclosed database in <sqlite3.Connection object at 
0x7f44e6f4b970>
<sys>:0: ResourceWarning: unclosed database in <sqlite3.Connection object at 
0x7f44e6f4aa70>
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_litestar/build; python3.13 -m pytest 
--ignore=docs/examples/testing/test_subprocess_sse.py 
--ignore=tests/unit/test_channels/test_backends.py 
--ignore=tests/unit/test_channels/test_plugin.py 
--ignore=tests/unit/test_cli/test_schema_commands.py 
--ignore=tests/unit/test_contrib/test_opentelemetry.py 
--ignore=tests/unit/test_file_system.py 
--ignore=tests/unit/test_kwargs/test_validations.py 
--ignore=tests/unit/test_middleware/test_rate_limit_middleware.py 
--ignore=tests/unit/test_openapi --ignore=tests/unit/test_stores.py 
--ignore=tests/unit/test_testing/test_sub_client/test_subprocess_client.py 
--ignore=tests/unit/test_testing/test_test_client.py -k 'not test_backlog and 
not test_prometheus_exporter_metrics_with_http and not test_qsize and not 
test_request_body_logging_middleware and not test_sqlalchemy_declarative_models 
and not test_with_portal and not test_with_stores 
 '
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 
returned exit code 13
make: *** [debian/rules:32: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202504/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:litestar, so that this is still
visible in the BTS web page for this package.

Thanks.

Reply via email to