Package: src:litestar
Version: 2.18.0-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

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

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 cannot 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.

--------------------------------------------------------------------------------
[...]
 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

[... snipped ...]

ERROR docs/examples/testing/test_health_check_sync.py - AttributeError: modul...
ERROR docs/examples/testing/test_set_session_data.py - AttributeError: module...
ERROR docs/examples/testing/test_set_session_data_async.py - AttributeError: ...
!!!!!!!!!!!!!!!!!!! Interrupted: 68 errors during collection !!!!!!!!!!!!!!!!!!!
================= 2 skipped, 18 deselected, 68 errors in 3.30s =================
E: pybuild pybuild:389: test: plugin pyproject failed with:  
[too-long-redacted] rete_builtin_collection_types '
I: pybuild pybuild:308: cp -a docs 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_litestar/build
I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3 
[too-long-redacted] rete_builtin_collection_types '
============================= test session starts ==============================
platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_litestar/build
configfile: pyproject.toml
testpaths: tests, docs/examples/testing
plugins: lazy-fixtures-0.0.0, time-machine-2.19.0, flaky-3.8.1, Faker-33.3.1, 
timeout-2.4.0, asyncio-1.2.0, hypothesis-6.148.2, mock-3.15.1, anyio-4.11.0, 
xdist-3.8.0
asyncio: mode=Mode.AUTO, debug=False, 
asyncio_default_fixture_loop_scope=function, 
asyncio_default_test_loop_scope=function
collected 2172 items / 18 deselected / 2 skipped / 2154 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%]
..                                                                       [  1%]
tests/e2e/test_dependency_injection/test_injection_of_classes.py ...     [  1%]
tests/e2e/test_dependency_injection/test_injection_of_generic_models.py . [  1%]
                                                                         [  1%]
tests/e2e/test_dependency_injection/test_inter_dependencies.py ..        [  1%]
tests/e2e/test_dependency_injection/test_request_local_caching.py .      [  1%]
tests/e2e/test_dependency_injection/test_websocket_handler_dependency_injection.py
 . [  1%]
..                                                                       [  1%]
tests/e2e/test_exception_handlers/test_exception_handler_registered_on_handler.py
 . [  1%]
                                                                         [  1%]
tests/e2e/test_exception_handlers/test_exception_handlers.py ......      [  1%]
tests/e2e/test_life_cycle_hooks/test_after_request.py .............      [  2%]
tests/e2e/test_life_cycle_hooks/test_after_response.py ........          [  2%]
tests/e2e/test_life_cycle_hooks/test_before_request.py ..............    [  3%]
tests/e2e/test_logging/test_structlog_to_file.py .                       [  3%]
tests/e2e/test_middleware/test_exception_handler_applied_to_middleware_exception.py
 . [  3%]
                                                                         [  3%]
tests/e2e/test_middleware/test_exception_handler_called_from_mounted_app.py . [ 
 3%]
                                                                         [  3%]
tests/e2e/test_middleware/test_exception_handler_called_if_no_middleware.py . [ 
 3%]
                                                                         [  3%]
tests/e2e/test_middleware/test_logging_middleware_with_multi_body_response.py . 
[  3%]
                                                                         [  3%]
tests/e2e/test_middleware/test_middleware_send_wrapper_called_on_error.py . [  
3%]
                                                                         [  3%]
tests/e2e/test_openapi/test_spec_headers.py .                            [  3%]
tests/e2e/test_option_requests.py .........................              [  4%]
tests/e2e/test_pydantic.py ..                                            [  5%]
tests/e2e/test_regular_handler_under_asgi_mount_path.py .                [  5%]
tests/e2e/test_router_registration.py .........                          [  5%]
tests/e2e/test_routing/test_asset_url_path.py ...                        [  5%]
tests/e2e/test_routing/test_path_mounting.py ....                        [  5%]
tests/e2e/test_routing/test_path_resolution.py ......................... [  6%]
............                                                             [  7%]
tests/e2e/test_routing/test_route_indexing.py ................           [  8%]
tests/e2e/test_routing/test_route_reverse.py .........                   [  8%]
tests/e2e/test_routing/test_validations.py ....                          [  8%]
tests/e2e/test_starlette_responses.py .                                  [  8%]
tests/examples/test_application_hooks/test_application_after_exception_hook.py 
. [  8%]
                                                                         [  8%]
tests/examples/test_application_hooks/test_application_before_send.py .  [  9%]
tests/examples/test_application_hooks/test_lifespan_manager.py .         [  9%]
tests/examples/test_application_hooks/test_on_app_init.py .              [  9%]
tests/examples/test_application_state/test_passing_initial_state.py .    [  9%]
tests/examples/test_application_state/test_using_application_state.py .  [  9%]
tests/examples/test_application_state/test_using_custom_state.py .       [  9%]
tests/examples/test_application_state/test_using_immutable_state.py .    [  9%]
tests/examples/test_cache_control_headers.py .                           [  9%]
tests/examples/test_contrib/prometheus/test_prometheus_exporter_example.py . [  
9%]
......                                                                   [  9%]
tests/examples/test_contrib/prometheus/test_prometheus_exporter_example_with_extra_config.py
 . [  9%]
                                                                         [  9%]
tests/examples/test_contrib/test_sqlalchemy/plugins/test_example_apps.py . [  
9%]
............                                                             [ 10%]
tests/examples/test_contrib/test_sqlalchemy/plugins/test_tutorial_example_apps.py
 . [ 10%]
....                                                                     [ 10%]
tests/examples/test_data_transfer_objects/test_defining_dtos_on_layers.py . [ 
10%]
....                                                                     [ 10%]
tests/examples/test_data_transfer_objects/test_factory/test_dto_data_problem_statement.py
 . [ 10%]
                                                                         [ 10%]
tests/examples/test_data_transfer_objects/test_factory/test_dto_data_usage.py . 
[ 10%]
                                                                         [ 10%]
tests/examples/test_data_transfer_objects/test_factory/test_leading_underscore_private.py
 . [ 10%]
                                                                         [ 10%]
tests/examples/test_data_transfer_objects/test_factory/test_leading_underscore_private_override.py
 . [ 10%]
                                                                         [ 10%]
tests/examples/test_data_transfer_objects/test_factory/test_type_checking.py . 
[ 11%]
                                                                         [ 11%]
tests/examples/test_data_transfer_objects/test_overriding_implicit_return_dto.py
 . [ 11%]
                                                                         [ 11%]
tests/examples/test_datastructures/test_secrets.py ..                    [ 11%]
tests/examples/test_dependency_injection/test_dependency_default_value_no_dependency_fn.py
 . [ 11%]
                                                                         [ 11%]
tests/examples/test_dependency_injection/test_dependency_default_value_with_dependency_fn.py
 . [ 11%]
                                                                         [ 11%]
tests/examples/test_dependency_injection/test_dependency_skip_validation.py . [ 
11%]
                                                                         [ 11%]
tests/examples/test_dependency_injection/test_dependency_validation_error.py . 
[ 11%]
                                                                         [ 11%]
tests/examples/test_dto/test_example_apps.py ........                    [ 11%]
tests/examples/test_dto/test_tutorial.py ..............                  [ 12%]
tests/examples/test_encoding_decoding/test_custom_type_encoding_decoding.py . [ 
12%]
                                                                         [ 12%]
tests/examples/test_encoding_decoding/test_custom_type_pydantic.py .     [ 12%]
tests/examples/test_exceptions.py ...                                    [ 12%]
tests/examples/test_hello_world.py .                                     [ 12%]
tests/examples/test_lifecycle_hooks.py ....                              [ 12%]
tests/examples/test_middleware/test_abstract_middleware.py ....          [ 12%]
tests/examples/test_middleware/test_call_order.py .                      [ 13%]
tests/examples/test_middleware/test_logging_middleware.py .              [ 13%]
tests/examples/test_middleware/test_rate_limit_middleware.py .           [ 13%]
tests/examples/test_middleware/test_session_middleware.py .              [ 13%]
tests/examples/test_openapi/test_openapi.py ...                          [ 13%]
tests/examples/test_openapi/test_plugins.py ..........                   [ 13%]
tests/examples/test_pagination/test_using_classic_pagination.py .        [ 13%]
tests/examples/test_pagination/test_using_cursor_pagination.py .         [ 13%]
tests/examples/test_pagination/test_using_offset_pagination.py .         [ 13%]
tests/examples/test_parameters/test_header_and_cookies_parameters.py .   [ 13%]
tests/examples/test_parameters/test_layered_parameters.py ....           [ 14%]
tests/examples/test_parameters/test_path_parameters.py ...               [ 14%]
tests/examples/test_parameters/test_query_parameters.py ......           [ 14%]
tests/examples/test_plugins/test_di_plugin.py .                          [ 14%]
tests/examples/test_plugins/test_example_apps.py .                       [ 14%]
tests/examples/test_plugins/test_sqlalchemy_init_plugin.py ..            [ 14%]
tests/examples/test_request_data.py ............                         [ 15%]
tests/examples/test_responses/test_background_tasks.py ...               [ 15%]
tests/examples/test_responses/test_custom_responses.py .                 [ 15%]
tests/examples/test_responses/test_json_suffix_responses.py .            [ 15%]
tests/examples/test_responses/test_response_cookies.py .....             [ 15%]
tests/examples/test_responses/test_response_headers.py ....              [ 15%]
tests/examples/test_responses/test_returning_responses.py .              [ 16%]
tests/examples/test_responses/test_sse_responses.py .                    [ 16%]
tests/examples/test_routing.py ..                                        [ 16%]
tests/examples/test_security/test_jwt/test_using_jwt_auth.py .           [ 16%]
tests/examples/test_security/test_jwt/test_using_jwt_cookie_auth.py .    [ 16%]
tests/examples/test_security/test_jwt/test_using_oauth2_password_bearer.py . [ 
16%]
                                                                         [ 16%]
tests/examples/test_security/test_jwt/test_verify_issuer_audience.py .   [ 16%]
tests/examples/test_signature_namespace.py .                             [ 16%]
tests/examples/test_startup_and_shutdown.py .                            [ 16%]
tests/examples/test_static_files.py .......                              [ 16%]
tests/examples/test_stores.py .........                                  [ 17%]
tests/examples/test_templating/test_engine_instance.py ...               [ 17%]
tests/examples/test_templating/test_returning_templates.py ......        [ 17%]
tests/examples/test_templating/test_template_functions.py ...            [ 17%]
tests/examples/test_todo_app.py ..............                           [ 18%]
tests/examples/test_using_session_auth.py ..                             [ 18%]
tests/examples/test_websockets.py ...                                    [ 18%]
tests/unit/test_app.py ..........................................        [ 20%]
tests/unit/test_asgi/test_asgi_router.py .............                   [ 21%]
tests/unit/test_asgi/test_routing_trie/test_mapping.py ...               [ 21%]
tests/unit/test_asgi/test_routing_trie/test_traversal.py ..              [ 21%]
tests/unit/test_background_tasks.py ..                                   [ 21%]
tests/unit/test_channels/test_subscriber.py .........                    [ 21%]
tests/unit/test_cli/test_cli.py .......                                  [ 22%]
tests/unit/test_cli/test_cli_plugin.py ...                               [ 22%]
tests/unit/test_cli/test_core_commands.py .............................. [ 23%]
........................................................................ [ 27%]
........................................................................ [ 30%]
........................................................................ [ 33%]
........................................................................ [ 37%]
........................................................................ [ 40%]
........................................................................ [ 43%]
........................................................................ [ 47%]
........................................................................ [ 50%]
........................................................................ [ 53%]
.................................................................        [ 56%]
tests/unit/test_cli/test_env_resolution.py ............................. [ 58%]
................................................                         [ 60%]
tests/unit/test_cli/test_session_commands.py .......                     [ 60%]
tests/unit/test_cli/test_ssl.py ......................                   [ 61%]
tests/unit/test_connection/test_connection_caching.py .................. [ 62%]
.............                                                            [ 63%]
tests/unit/test_connection/test_request.py ............................. [ 64%]
..................                                                       [ 65%]
tests/unit/test_contrib/test_attrs.py ...                                [ 65%]
tests/unit/test_contrib/test_htmx/test_htmx_deprecations.py ...          [ 65%]
tests/unit/test_contrib/test_minijinja.py .....                          [ 65%]
tests/unit/test_contrib/test_msgspec.py ....                             [ 66%]
tests/unit/test_contrib/test_prometheus.py ....                          [ 66%]
tests/unit/test_contrib/test_pydantic.py ......                          [ 66%]
tests/unit/test_contrib/test_repository.py .......                       [ 66%]
tests/unit/test_contrib/test_sqlalchemy.py ......................        [ 67%]
tests/unit/test_data_extractors.py ............                          [ 68%]
tests/unit/test_datastructures/test_cookie.py .....                      [ 68%]
tests/unit/test_datastructures/test_headers.py ......................... [ 69%]
..............................................                           [ 72%]
tests/unit/test_datastructures/test_multi_dicts.py .........             [ 72%]
tests/unit/test_datastructures/test_response_header.py .                 [ 72%]
tests/unit/test_datastructures/test_state.py ................            [ 73%]
tests/unit/test_datastructures/test_url.py .......................       [ 74%]
tests/unit/test_deprecations.py ........................................ [ 76%]
.                                                                        [ 76%]
tests/unit/test_di.py ......................................             [ 77%]
tests/unit/test_dto/test_config.py .                                     [ 77%]
tests/unit/test_dto/test_factory/test_backends/test_utils.py ........... [ 78%]
                                                                         [ 78%]
tests/unit/test_dto/test_factory/test_base_dto.py .................      [ 79%]
tests/unit/test_dto/test_factory/test_dataclass_dto.py s....             [ 79%]
tests/unit/test_dto/test_factory/test_field.py .                         [ 79%]
tests/unit/test_dto/test_factory/test_utils.py .....                     [ 79%]
tests/unit/test_dto/test_interface.py ..                                 [ 79%]
tests/unit/test_handlers/test_asgi_handlers/test_handle_asgi.py .....    [ 80%]
tests/unit/test_handlers/test_asgi_handlers/test_handle_asgi_with_future_annotations.py
 . [ 80%]
                                                                         [ 80%]
tests/unit/test_handlers/test_asgi_handlers/test_validations.py .        [ 80%]
tests/unit/test_handlers/test_base_handlers/test_opt.py ...........      [ 80%]
tests/unit/test_handlers/test_base_handlers/test_resolution.py ...       [ 80%]
tests/unit/test_handlers/test_base_handlers/test_validations.py ..       [ 80%]
tests/unit/test_handlers/test_http_handlers/test_defaults.py ........... [ 81%]
.............                                                            [ 82%]
tests/unit/test_handlers/test_http_handlers/test_delete.py .             [ 82%]
tests/unit/test_handlers/test_http_handlers/test_deprecation.py .......  [ 82%]
tests/unit/test_handlers/test_http_handlers/test_head.py ......          [ 82%]
tests/unit/test_handlers/test_http_handlers/test_resolution.py ....      [ 82%]
tests/unit/test_handlers/test_http_handlers/test_signature_namespace.py . [ 82%]
....                                                                     [ 83%]
tests/unit/test_handlers/test_http_handlers/test_sync.py .....           [ 83%]
tests/unit/test_handlers/test_http_handlers/test_validations.py ........ [ 83%]
.....                                                                    [ 83%]
tests/unit/test_handlers/test_websocket_handlers/test_handle_websocket.py . [ 
84%]
.                                                                        [ 84%]
tests/unit/test_handlers/test_websocket_handlers/test_handle_websocket_with_future_annotations.py
 . [ 84%]
                                                                         [ 84%]
tests/unit/test_handlers/test_websocket_handlers/test_kwarg_handling.py . [ 84%]
                                                                         [ 84%]
tests/unit/test_kwargs/test_cleanup_group.py ........                    [ 84%]
tests/unit/test_middleware/test_allowed_hosts_middleware.py ........     [ 84%]
tests/unit/test_middleware/test_session/test_integration.py .            [ 84%]
tests/unit/test_plugins/test_attrs/test_schema_plugin.py .               [ 85%]
tests/unit/test_plugins/test_pydantic/test_beanie_integration.py .       [ 85%]
tests/unit/test_plugins/test_pydantic/test_utils.py ..                   [ 85%]
tests/unit/test_plugins/test_sqlalchemy.py .                             [ 85%]
tests/unit/test_response/test_serialization.py ....................      [ 86%]
tests/unit/test_response/test_type_decoders.py .....                     [ 86%]
tests/unit/test_static_files/test_create_static_router.py .....          [ 86%]
tests/unit/test_template/test_config.py .                                [ 86%]
tests/unit/test_template/test_context.py ...                             [ 86%]
tests/unit/test_template/test_csrf_token.py ......                       [ 87%]
tests/unit/test_testing/test_lifespan_handler.py ...                     [ 87%]
tests/unit/test_types/test_protocols.py .........                        [ 87%]
tests/unit/test_typing.py .........................................      [ 89%]
tests/unit/test_utils/test_compat.py .                                   [ 89%]
tests/unit/test_utils/test_dataclass.py ............                     [ 90%]
tests/unit/test_utils/test_deprecation.py ...                            [ 90%]
tests/unit/test_utils/test_empty.py ..                                   [ 90%]
tests/unit/test_utils/test_helpers.py ........                           [ 90%]
tests/unit/test_utils/test_module_loader.py ....                         [ 90%]
tests/unit/test_utils/test_path.py .................                     [ 91%]
tests/unit/test_utils/test_predicates.py ............................... [ 93%]
...........................................................              [ 95%]
tests/unit/test_utils/test_scope.py .........                            [ 96%]
tests/unit/test_utils/test_sequence.py ..                                [ 96%]
tests/unit/test_utils/test_signature.py ...........................      [ 97%]
tests/unit/test_utils/test_sync.py ......                                [ 97%]
tests/unit/test_utils/test_typing.py .......................             [ 98%]
tests/unit/test_utils/test_version.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 .                   [ 99%]
docs/examples/testing/test_websocket.py .                                [100%]

=============== 2153 passed, 3 skipped, 18 deselected in 22.87s ================
I: pybuild pybuild:334: rm -rf 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_litestar/build/docs
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 
3.13" returned exit code 13
make: *** [debian/rules:140: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to