#1143752 fastapi: FTBFS: E ModuleNotFoundError: No module named 'httpx2'

Package:
src:fastapi
Source:
src:fastapi
Submitter:
Santiago Vila
Date:
2026-09-14 06:53:02 UTC
Severity:
normal
Tags:
#1143752#5
Date:
2026-08-06 00:10:19 UTC
From:
To:
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/202608/

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:fastapi, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with python3 --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
	pybuild --clean -i python{version} -p "3.13 3.14" --parallel=2
	rm -rf .pybuild/
	find . -name \*.pyc -exec rm {} \;
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
	rm -f debian/debhelper-build-stamp
	rm -rf debian/.debhelper/
	rm -f -- debian/python3-fastapi.substvars debian/files
	rm -fr -- debian/python3-fastapi/ debian/tmp/
	find .  \( \( \
		\( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o -type f -a \
	        \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \

[... snipped ...]

ERROR tests/test_security_oauth2_authorization_code_bearer_scopes_openapi.py
ERROR tests/test_security_oauth2_authorization_code_bearer_scopes_openapi_simple.py
ERROR tests/test_security_oauth2_optional.py - starlette.exceptions.Starlette...
ERROR tests/test_security_oauth2_optional_description.py - starlette.exceptio...
ERROR tests/test_security_oauth2_password_bearer_optional.py - starlette.exce...
ERROR tests/test_security_oauth2_password_bearer_optional_description.py - st...
ERROR tests/test_security_openid_connect.py - starlette.exceptions.StarletteD...
ERROR tests/test_security_openid_connect_description.py - starlette.exception...
ERROR tests/test_security_openid_connect_optional.py - starlette.exceptions.S...
ERROR tests/test_security_scopes.py - starlette.exceptions.StarletteDeprecati...
ERROR tests/test_security_scopes_dont_propagate.py - starlette.exceptions.Sta...
ERROR tests/test_security_scopes_sub_dependency.py - starlette.exceptions.Sta...
ERROR tests/test_serialize_response.py - starlette.exceptions.StarletteDeprec...
ERROR tests/test_serialize_response_dataclass.py - starlette.exceptions.Starl...
ERROR tests/test_serialize_response_model.py - starlette.exceptions.Starlette...
ERROR tests/test_skip_defaults.py - starlette.exceptions.StarletteDeprecation...
ERROR tests/test_sse.py - starlette.exceptions.StarletteDeprecationWarning: U...
ERROR tests/test_starlette_exception.py - starlette.exceptions.StarletteDepre...
ERROR tests/test_starlette_urlconvertors.py - starlette.exceptions.StarletteD...
ERROR tests/test_stream_bare_type.py - starlette.exceptions.StarletteDeprecat...
ERROR tests/test_stream_json_validation_error.py - starlette.exceptions.Starl...
ERROR tests/test_strict_content_type_app_level.py - starlette.exceptions.Star...
ERROR tests/test_strict_content_type_nested.py - starlette.exceptions.Starlet...
ERROR tests/test_strict_content_type_router_level.py - starlette.exceptions.S...
ERROR tests/test_stringified_annotation_dependency.py - starlette.exceptions....
ERROR tests/test_stringified_annotation_dependency_py314.py - starlette.excep...
ERROR tests/test_stringified_annotations_simple.py - starlette.exceptions.Sta...
ERROR tests/test_sub_callbacks.py - starlette.exceptions.StarletteDeprecation...
ERROR tests/test_swagger_ui_init_oauth.py - starlette.exceptions.StarletteDep...
ERROR tests/test_top_level_security_scheme_in_openapi.py - starlette.exceptio...
ERROR tests/test_tuples.py - starlette.exceptions.StarletteDeprecationWarning...
ERROR tests/test_tutorial/test_additional_responses/test_tutorial001.py - sta...
ERROR tests/test_tutorial/test_additional_responses/test_tutorial002.py - sta...
ERROR tests/test_tutorial/test_additional_responses/test_tutorial003.py - sta...
ERROR tests/test_tutorial/test_additional_responses/test_tutorial004.py - sta...
ERROR tests/test_tutorial/test_additional_status_codes/test_tutorial001.py - ...
ERROR tests/test_tutorial/test_advanced_middleware/test_tutorial001.py - star...
ERROR tests/test_tutorial/test_advanced_middleware/test_tutorial002.py - star...
ERROR tests/test_tutorial/test_advanced_middleware/test_tutorial003.py - star...
ERROR tests/test_tutorial/test_authentication_error_status_code/test_tutorial001.py
ERROR tests/test_tutorial/test_background_tasks/test_tutorial001.py - starlet...
ERROR tests/test_tutorial/test_background_tasks/test_tutorial002.py - starlet...
ERROR tests/test_tutorial/test_behind_a_proxy/test_tutorial001.py - starlette...
ERROR tests/test_tutorial/test_behind_a_proxy/test_tutorial001_01.py - starle...
ERROR tests/test_tutorial/test_behind_a_proxy/test_tutorial002.py - starlette...
ERROR tests/test_tutorial/test_behind_a_proxy/test_tutorial003.py - starlette...
ERROR tests/test_tutorial/test_behind_a_proxy/test_tutorial004.py - starlette...
ERROR tests/test_tutorial/test_bigger_applications/test_main.py - starlette.e...
ERROR tests/test_tutorial/test_body/test_tutorial001.py - starlette.exception...
ERROR tests/test_tutorial/test_body/test_tutorial002.py - starlette.exception...
ERROR tests/test_tutorial/test_body/test_tutorial003.py - starlette.exception...
ERROR tests/test_tutorial/test_body/test_tutorial004.py - starlette.exception...
ERROR tests/test_tutorial/test_body_fields/test_tutorial001.py - starlette.ex...
ERROR tests/test_tutorial/test_body_multiple_params/test_tutorial001.py - sta...
ERROR tests/test_tutorial/test_body_multiple_params/test_tutorial002.py - sta...
ERROR tests/test_tutorial/test_body_multiple_params/test_tutorial003.py - sta...
ERROR tests/test_tutorial/test_body_multiple_params/test_tutorial004.py - sta...
ERROR tests/test_tutorial/test_body_multiple_params/test_tutorial005.py - sta...
ERROR tests/test_tutorial/test_body_nested_models/test_tutorial001_tutorial002_tutorial003.py
ERROR tests/test_tutorial/test_body_nested_models/test_tutorial004.py - starl...
ERROR tests/test_tutorial/test_body_nested_models/test_tutorial005.py - starl...
ERROR tests/test_tutorial/test_body_nested_models/test_tutorial006.py - starl...
ERROR tests/test_tutorial/test_body_nested_models/test_tutorial007.py - starl...
ERROR tests/test_tutorial/test_body_nested_models/test_tutorial008.py - starl...
ERROR tests/test_tutorial/test_body_nested_models/test_tutorial009.py - starl...
ERROR tests/test_tutorial/test_body_updates/test_tutorial001.py - starlette.e...
ERROR tests/test_tutorial/test_body_updates/test_tutorial002.py - starlette.e...
ERROR tests/test_tutorial/test_conditional_openapi/test_tutorial001.py - star...
ERROR tests/test_tutorial/test_configure_swagger_ui/test_tutorial001.py - sta...
ERROR tests/test_tutorial/test_configure_swagger_ui/test_tutorial002.py - sta...
ERROR tests/test_tutorial/test_configure_swagger_ui/test_tutorial003.py - sta...
ERROR tests/test_tutorial/test_cookie_param_models/test_tutorial001.py - star...
ERROR tests/test_tutorial/test_cookie_param_models/test_tutorial002.py - star...
ERROR tests/test_tutorial/test_cookie_params/test_tutorial001.py - starlette....
ERROR tests/test_tutorial/test_cors/test_tutorial001.py - starlette.exception...
ERROR tests/test_tutorial/test_custom_docs_ui/test_tutorial001.py - starlette...
ERROR tests/test_tutorial/test_custom_docs_ui/test_tutorial002.py - starlette...
ERROR tests/test_tutorial/test_custom_request_and_route/test_tutorial001.py
ERROR tests/test_tutorial/test_custom_request_and_route/test_tutorial002.py
ERROR tests/test_tutorial/test_custom_request_and_route/test_tutorial003.py
ERROR tests/test_tutorial/test_custom_response/test_tutorial001.py - starlett...
ERROR tests/test_tutorial/test_custom_response/test_tutorial001b.py - starlet...
ERROR tests/test_tutorial/test_custom_response/test_tutorial002_tutorial003_tutorial004.py
ERROR tests/test_tutorial/test_custom_response/test_tutorial005.py - starlett...
ERROR tests/test_tutorial/test_custom_response/test_tutorial006.py - starlett...
ERROR tests/test_tutorial/test_custom_response/test_tutorial006b.py - starlet...
ERROR tests/test_tutorial/test_custom_response/test_tutorial006c.py - starlet...
ERROR tests/test_tutorial/test_custom_response/test_tutorial007.py - starlett...
ERROR tests/test_tutorial/test_custom_response/test_tutorial008.py - starlett...
ERROR tests/test_tutorial/test_custom_response/test_tutorial009.py - starlett...
ERROR tests/test_tutorial/test_custom_response/test_tutorial009b.py - starlet...
ERROR tests/test_tutorial/test_custom_response/test_tutorial009c.py - starlet...
ERROR tests/test_tutorial/test_custom_response/test_tutorial010.py - starlett...
ERROR tests/test_tutorial/test_dataclasses/test_tutorial001.py - starlette.ex...
ERROR tests/test_tutorial/test_dataclasses/test_tutorial002.py - starlette.ex...
ERROR tests/test_tutorial/test_dataclasses/test_tutorial003.py - starlette.ex...
ERROR tests/test_tutorial/test_debugging/test_tutorial001.py - starlette.exce...
ERROR tests/test_tutorial/test_dependencies/test_tutorial001_tutorial001_02.py
ERROR tests/test_tutorial/test_dependencies/test_tutorial002_tutorial003_tutorial004.py
ERROR tests/test_tutorial/test_dependencies/test_tutorial005.py - starlette.e...
ERROR tests/test_tutorial/test_dependencies/test_tutorial006.py - starlette.e...
ERROR tests/test_tutorial/test_dependencies/test_tutorial008.py - starlette.e...
ERROR tests/test_tutorial/test_dependencies/test_tutorial008b.py - starlette....
ERROR tests/test_tutorial/test_dependencies/test_tutorial008c.py - starlette....
ERROR tests/test_tutorial/test_dependencies/test_tutorial008d.py - starlette....
ERROR tests/test_tutorial/test_dependencies/test_tutorial008e.py - starlette....
ERROR tests/test_tutorial/test_dependencies/test_tutorial010.py - starlette.e...
ERROR tests/test_tutorial/test_dependencies/test_tutorial011.py - starlette.e...
ERROR tests/test_tutorial/test_dependencies/test_tutorial012.py - starlette.e...
ERROR tests/test_tutorial/test_encoder/test_tutorial001.py - starlette.except...
ERROR tests/test_tutorial/test_events/test_tutorial001.py - starlette.excepti...
ERROR tests/test_tutorial/test_events/test_tutorial002.py - starlette.excepti...
ERROR tests/test_tutorial/test_events/test_tutorial003.py - starlette.excepti...
ERROR tests/test_tutorial/test_extending_openapi/test_tutorial001.py - starle...
ERROR tests/test_tutorial/test_extra_data_types/test_tutorial001.py - starlet...
ERROR tests/test_tutorial/test_extra_models/test_tutorial001_tutorial002.py
ERROR tests/test_tutorial/test_extra_models/test_tutorial003.py - starlette.e...
ERROR tests/test_tutorial/test_extra_models/test_tutorial004.py - starlette.e...
ERROR tests/test_tutorial/test_extra_models/test_tutorial005.py - starlette.e...
ERROR tests/test_tutorial/test_first_steps/test_tutorial001_tutorial002_tutorial003.py
ERROR tests/test_tutorial/test_generate_clients/test_tutorial001.py - starlet...
ERROR tests/test_tutorial/test_generate_clients/test_tutorial002.py - starlet...
ERROR tests/test_tutorial/test_generate_clients/test_tutorial003.py - starlet...
ERROR tests/test_tutorial/test_handling_errors/test_tutorial001.py - starlett...
ERROR tests/test_tutorial/test_handling_errors/test_tutorial002.py - starlett...
ERROR tests/test_tutorial/test_handling_errors/test_tutorial003.py - starlett...
ERROR tests/test_tutorial/test_handling_errors/test_tutorial004.py - starlett...
ERROR tests/test_tutorial/test_handling_errors/test_tutorial005.py - starlett...
ERROR tests/test_tutorial/test_handling_errors/test_tutorial006.py - starlett...
ERROR tests/test_tutorial/test_header_param_models/test_tutorial001.py - star...
ERROR tests/test_tutorial/test_header_param_models/test_tutorial002.py - star...
ERROR tests/test_tutorial/test_header_param_models/test_tutorial003.py - star...
ERROR tests/test_tutorial/test_header_params/test_tutorial001.py - starlette....
ERROR tests/test_tutorial/test_header_params/test_tutorial002.py - starlette....
ERROR tests/test_tutorial/test_header_params/test_tutorial003.py - starlette....
ERROR tests/test_tutorial/test_json_base64_bytes/test_tutorial001.py - starle...
ERROR tests/test_tutorial/test_metadata/test_tutorial001.py - starlette.excep...
ERROR tests/test_tutorial/test_metadata/test_tutorial001_1.py - starlette.exc...
ERROR tests/test_tutorial/test_metadata/test_tutorial002.py - starlette.excep...
ERROR tests/test_tutorial/test_metadata/test_tutorial003.py - starlette.excep...
ERROR tests/test_tutorial/test_metadata/test_tutorial004.py - starlette.excep...
ERROR tests/test_tutorial/test_middleware/test_tutorial001.py - starlette.exc...
ERROR tests/test_tutorial/test_openapi_callbacks/test_tutorial001.py - starle...
ERROR tests/test_tutorial/test_openapi_webhooks/test_tutorial001.py - starlet...
ERROR tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial001.py
ERROR tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial002.py
ERROR tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial003.py
ERROR tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial004.py
ERROR tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial005.py
ERROR tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial006.py
ERROR tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial007.py
ERROR tests/test_tutorial/test_path_operation_configurations/test_tutorial001.py
ERROR tests/test_tutorial/test_path_operation_configurations/test_tutorial002.py
ERROR tests/test_tutorial/test_path_operation_configurations/test_tutorial002b.py
ERROR tests/test_tutorial/test_path_operation_configurations/test_tutorial003_tutorial004.py
ERROR tests/test_tutorial/test_path_operation_configurations/test_tutorial005.py
ERROR tests/test_tutorial/test_path_operation_configurations/test_tutorial006.py
ERROR tests/test_tutorial/test_path_params/test_tutorial001.py - starlette.ex...
ERROR tests/test_tutorial/test_path_params/test_tutorial002.py - starlette.ex...
ERROR tests/test_tutorial/test_path_params/test_tutorial003.py - starlette.ex...
ERROR tests/test_tutorial/test_path_params/test_tutorial003b.py - starlette.e...
ERROR tests/test_tutorial/test_path_params/test_tutorial004.py - starlette.ex...
ERROR tests/test_tutorial/test_path_params/test_tutorial005.py - starlette.ex...
ERROR tests/test_tutorial/test_path_params_numeric_validations/test_tutorial001.py
ERROR tests/test_tutorial/test_path_params_numeric_validations/test_tutorial002_tutorial003.py
ERROR tests/test_tutorial/test_path_params_numeric_validations/test_tutorial004.py
ERROR tests/test_tutorial/test_path_params_numeric_validations/test_tutorial005.py
ERROR tests/test_tutorial/test_path_params_numeric_validations/test_tutorial006.py
ERROR tests/test_tutorial/test_query_param_models/test_tutorial001.py - starl...
ERROR tests/test_tutorial/test_query_param_models/test_tutorial002.py - starl...
ERROR tests/test_tutorial/test_query_params/test_tutorial001.py - starlette.e...
ERROR tests/test_tutorial/test_query_params/test_tutorial002.py - starlette.e...
ERROR tests/test_tutorial/test_query_params/test_tutorial003.py - starlette.e...
ERROR tests/test_tutorial/test_query_params/test_tutorial004.py - starlette.e...
ERROR tests/test_tutorial/test_query_params/test_tutorial005.py - starlette.e...
ERROR tests/test_tutorial/test_query_params/test_tutorial006.py - starlette.e...
ERROR tests/test_tutorial/test_query_params_str_validations/test_tutorial001.py
ERROR tests/test_tutorial/test_query_params_str_validations/test_tutorial002.py
ERROR tests/test_tutorial/test_query_params_str_validations/test_tutorial003.py
ERROR tests/test_tutorial/test_query_params_str_validations/test_tutorial004.py
ERROR tests/test_tutorial/test_query_params_str_validations/test_tutorial005.py
ERROR tests/test_tutorial/test_query_params_str_validations/test_tutorial006.py
ERROR tests/test_tutorial/test_query_params_str_validations/test_tutorial006c.py
ERROR tests/test_tutorial/test_query_params_str_validations/test_tutorial007.py
ERROR tests/test_tutorial/test_query_params_str_validations/test_tutorial008.py
ERROR tests/test_tutorial/test_query_params_str_validations/test_tutorial009.py
ERROR tests/test_tutorial/test_query_params_str_validations/test_tutorial010.py
ERROR tests/test_tutorial/test_query_params_str_validations/test_tutorial011.py
ERROR tests/test_tutorial/test_query_params_str_validations/test_tutorial012.py
ERROR tests/test_tutorial/test_query_params_str_validations/test_tutorial013.py
ERROR tests/test_tutorial/test_query_params_str_validations/test_tutorial014.py
ERROR tests/test_tutorial/test_query_params_str_validations/test_tutorial015.py
ERROR tests/test_tutorial/test_request_files/test_tutorial001.py - starlette....
ERROR tests/test_tutorial/test_request_files/test_tutorial001_02.py - starlet...
ERROR tests/test_tutorial/test_request_files/test_tutorial001_03.py - starlet...
ERROR tests/test_tutorial/test_request_files/test_tutorial002.py - starlette....
ERROR tests/test_tutorial/test_request_files/test_tutorial003.py - starlette....
ERROR tests/test_tutorial/test_request_form_models/test_tutorial001.py - star...
ERROR tests/test_tutorial/test_request_form_models/test_tutorial002.py - star...
ERROR tests/test_tutorial/test_request_forms/test_tutorial001.py - starlette....
ERROR tests/test_tutorial/test_request_forms_and_files/test_tutorial001.py - ...
ERROR tests/test_tutorial/test_response_change_status_code/test_tutorial001.py
ERROR tests/test_tutorial/test_response_cookies/test_tutorial001.py - starlet...
ERROR tests/test_tutorial/test_response_cookies/test_tutorial002.py - starlet...
ERROR tests/test_tutorial/test_response_directly/test_tutorial001.py - starle...
ERROR tests/test_tutorial/test_response_directly/test_tutorial002.py - starle...
ERROR tests/test_tutorial/test_response_headers/test_tutorial001.py - starlet...
ERROR tests/test_tutorial/test_response_headers/test_tutorial002.py - starlet...
ERROR tests/test_tutorial/test_response_model/test_tutorial001_tutorial001_01.py
ERROR tests/test_tutorial/test_response_model/test_tutorial002.py - starlette...
ERROR tests/test_tutorial/test_response_model/test_tutorial003.py - starlette...
ERROR tests/test_tutorial/test_response_model/test_tutorial003_01.py - starle...
ERROR tests/test_tutorial/test_response_model/test_tutorial003_02.py - starle...
ERROR tests/test_tutorial/test_response_model/test_tutorial003_03.py - starle...
ERROR tests/test_tutorial/test_response_model/test_tutorial003_05.py - starle...
ERROR tests/test_tutorial/test_response_model/test_tutorial004.py - starlette...
ERROR tests/test_tutorial/test_response_model/test_tutorial005.py - starlette...
ERROR tests/test_tutorial/test_response_model/test_tutorial006.py - starlette...
ERROR tests/test_tutorial/test_response_status_code/test_tutorial001_tutorial002.py
ERROR tests/test_tutorial/test_schema_extra_example/test_tutorial001.py - sta...
ERROR tests/test_tutorial/test_schema_extra_example/test_tutorial002.py - sta...
ERROR tests/test_tutorial/test_schema_extra_example/test_tutorial003.py - sta...
ERROR tests/test_tutorial/test_schema_extra_example/test_tutorial004.py - sta...
ERROR tests/test_tutorial/test_schema_extra_example/test_tutorial005.py - sta...
ERROR tests/test_tutorial/test_security/test_tutorial001.py - starlette.excep...
ERROR tests/test_tutorial/test_security/test_tutorial002.py - starlette.excep...
ERROR tests/test_tutorial/test_security/test_tutorial003.py - starlette.excep...
ERROR tests/test_tutorial/test_security/test_tutorial004.py - starlette.excep...
ERROR tests/test_tutorial/test_security/test_tutorial005.py - starlette.excep...
ERROR tests/test_tutorial/test_security/test_tutorial006.py - starlette.excep...
ERROR tests/test_tutorial/test_security/test_tutorial007.py - starlette.excep...
ERROR tests/test_tutorial/test_separate_openapi_schemas/test_tutorial001.py
ERROR tests/test_tutorial/test_separate_openapi_schemas/test_tutorial002.py
ERROR tests/test_tutorial/test_server_sent_events/test_tutorial001.py - starl...
ERROR tests/test_tutorial/test_server_sent_events/test_tutorial002.py - starl...
ERROR tests/test_tutorial/test_server_sent_events/test_tutorial003.py - starl...
ERROR tests/test_tutorial/test_server_sent_events/test_tutorial004.py - starl...
ERROR tests/test_tutorial/test_server_sent_events/test_tutorial005.py - starl...
ERROR tests/test_tutorial/test_settings/test_app01.py - starlette.exceptions....
ERROR tests/test_tutorial/test_settings/test_app03.py - starlette.exceptions....
ERROR tests/test_tutorial/test_settings/test_tutorial001.py - starlette.excep...
ERROR tests/test_tutorial/test_static_files/test_tutorial001.py - starlette.e...
ERROR tests/test_tutorial/test_stream_data/test_tutorial001.py - starlette.ex...
ERROR tests/test_tutorial/test_stream_data/test_tutorial002.py - starlette.ex...
ERROR tests/test_tutorial/test_stream_json_lines/test_tutorial001.py - starle...
ERROR tests/test_tutorial/test_strict_content_type/test_tutorial001.py - star...
ERROR tests/test_tutorial/test_sub_applications/test_tutorial001.py - starlet...
ERROR tests/test_tutorial/test_templates/test_tutorial001.py - starlette.exce...
ERROR tests/test_tutorial/test_testing/test_main_a.py - starlette.exceptions....
ERROR tests/test_tutorial/test_testing/test_tutorial001.py - starlette.except...
ERROR tests/test_tutorial/test_testing/test_tutorial002.py - starlette.except...
ERROR tests/test_tutorial/test_testing/test_tutorial004.py - starlette.except...
ERROR tests/test_tutorial/test_using_request_directly/test_tutorial001.py - s...
ERROR tests/test_tutorial/test_websockets/test_tutorial001.py - starlette.exc...
ERROR tests/test_tutorial/test_websockets/test_tutorial002.py - starlette.exc...
ERROR tests/test_tutorial/test_websockets/test_tutorial003.py - starlette.exc...
ERROR tests/test_tutorial/test_wsgi/test_tutorial001.py - starlette.exception...
ERROR tests/test_typing_python39.py - starlette.exceptions.StarletteDeprecati...
ERROR tests/test_union_body.py - starlette.exceptions.StarletteDeprecationWar...
ERROR tests/test_union_body_discriminator.py - starlette.exceptions.Starlette...
ERROR tests/test_union_body_discriminator_annotated.py - starlette.exceptions...
ERROR tests/test_union_forms.py - starlette.exceptions.StarletteDeprecationWa...
ERROR tests/test_union_inherited_body.py - starlette.exceptions.StarletteDepr...
ERROR tests/test_validate_response.py - starlette.exceptions.StarletteDepreca...
ERROR tests/test_validate_response_dataclass.py - starlette.exceptions.Starle...
ERROR tests/test_validate_response_recursive/test_validate_response_recursive.py
ERROR tests/test_validation_error_context.py - starlette.exceptions.Starlette...
ERROR tests/test_webhooks_security.py - starlette.exceptions.StarletteDepreca...
ERROR tests/test_wrapped_method_forward_reference.py - starlette.exceptions.S...
ERROR tests/test_ws_dependencies.py - starlette.exceptions.StarletteDeprecati...
ERROR tests/test_ws_router.py - starlette.exceptions.StarletteDeprecationWarn...
!!!!!!!!!!!!!!!!!! Interrupted: 437 errors during collection !!!!!!!!!!!!!!!!!!!
================= 1 skipped, 6 deselected, 437 errors in 8.64s =================
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=2: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_fastapi/build; python3.14 -m pytest -W ignore::DeprecationWarning -W ignore::ResourceWarning --ignore=docs_src/ --ignore-glob=tests/test_tutorial/test_sql_databases/test_tutorial* --ignore=tests/test_response_by_alias.py --ignore=tests/test_multipart_installation.py --ignore=tests/test_tutorial/test_graphql -k " not test_root and not test_async_testing and not test_dependency_gets_exception and not test_path_operation_img and not test_fastapi_cli "
	rm -fr -- /tmp/dh-xdg-rundir-scflz2bc
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.13 3.14" --parallel=2 returned exit code 13
make: *** [debian/rules:30: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1143752#10
Date:
2026-09-02 19:43:53 UTC
From:
To:
user debian-python@lists.debian.org
usertags 1143752 + python3.15
tags 1143752 + patch
thanks

Hi!

While rebuilding the python related packages against the Python 3.15rc1
version we found that fastapi fails to build from source [1].

To fix the error, I had to apply the upstream patch that adds httpx2
test dependency [2] and then add httpx2 as a build-dependency.

I applied the upstream fix in the sandbox [3] to be able to build the
packages that depend on fastapi, please consider applying the patch to
support the upcoming 3.15 version.

Happy hacking,

[1]: https://debusine.debian.net/debian/r-python-python3.15/artifact/4545140/
[2]: https://github.com/fastapi/fastapi/commit/59d4a80fcf8a7b3a46b2560f75dc0d171e7ea8ff
[3]: https://debusine.debian.net/debian/r-python-python3.15/

#1143752#17
Date:
2026-09-10 20:57:59 UTC
From:
To:
Dear maintainer,

I've prepared an NMU for fastapi (versioned as 0.135.3-1.1) and
uploaded it to DELAYED/5. Diff is attached.

Please feel free to tell me if I should cancel it.

Best regards,

Sven

#1143752#24
Date:
2026-09-14 06:51:26 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
fastapi, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1143752@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sandro Tosi <morph@debian.org> (supplier of updated fastapi package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 14 Sep 2026 02:24:41 -0400
Source: fastapi
Architecture: source
Version: 0.141.1-1
Distribution: unstable
Urgency: medium
Maintainer: Sandro Tosi <morph@debian.org>
Changed-By: Sandro Tosi <morph@debian.org>
Closes: 1093474 1143752
Changes:
 fastapi (0.141.1-1) unstable; urgency=medium
 .
   * New upstream release
   * debian/control
     - add httpx2 to b-d, needed by tests; Closes: #1143752
     - add typer to b-d, needed by tests
     - update b-d on multipart to simply python3-python-multipart; Closes: #1093474
   * debian/pybuild.testfiles
     - install scripts/ when running tests
Checksums-Sha1:
 781ffd2139e90db08ed15cb0ebd3da07084444aa 2878 fastapi_0.141.1-1.dsc
 cf21894a2890fd05e2af72ed04908b4651481b0f 13113660 fastapi_0.141.1.orig.tar.xz
 eb234aaf88c26a4b2f80c52b0f76081bf7c6529c 5240 fastapi_0.141.1-1.debian.tar.xz
 21b09cb300b441b0329f45b6f3d24c8a871c9257 10910 fastapi_0.141.1-1_source.buildinfo
Checksums-Sha256:
 2823b5eb187d1e3a3f50015952f79c8d7f5c07b0ffe627c3859ae11ebbc32c3e 2878 fastapi_0.141.1-1.dsc
 c7c7a5ad338cf16f2c3bccb6f22c65fde4f5e0e6f961c0c16e101bd3d73c6bbd 13113660 fastapi_0.141.1.orig.tar.xz
 14d86c60375bbbdc7b0b36cd4bba98dbee87546a72c007bb7c85a025d9b9d43f 5240 fastapi_0.141.1-1.debian.tar.xz
 b3ee8d26fd31e545e58b1d8f62fd8a549c9571e1e77c7fe171221fb0c8798ace 10910 fastapi_0.141.1-1_source.buildinfo
Files:
 870f4de01e77deb0b434025df49d65a9 2878 python optional fastapi_0.141.1-1.dsc
 f65b69c58a35f466ae020851e1f978af 13113660 python optional fastapi_0.141.1.orig.tar.xz
 4b0f453ad3c94843af3a1c4b51087a84 5240 python optional fastapi_0.141.1-1.debian.tar.xz
 e78996d1a44e968c1ce711bb00157889 10910 python optional fastapi_0.141.1-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEufrTGSrz5KUwnZ05h588mTgBqU8FAmqnk5sACgkQh588mTgB
qU82BA/+NanRUdWdbccuLdgGLwJuJijWfVGvCmUfHv1Ae5VxbiK4tgNNLGXpN5Qu
Ld3xhgBnTDYjEElPDDVzsdfs3P/zk31aHrJD+b+bZuqYqr0wdmg7wWxLoXht713V
OUgnAlaa4CyNO1lXK9EEt/+CVYzaepfw2yCfzpg2gfGIpENSJ9agaYjCaE/Ns5lU
5vl3J8x3hDv8+SJnHjsb4TKsPQxoez5St/baA6UFHslRlnmZkP0lFgaFHg9nZR1W
ane/L/McXlxlqKrVGL3QdA6MfEa4r6ihUQCKyO3sGuW2WAe03YCSlgLMHWGnBXaR
Kup9Mh496TIS+a3BmVD3rZdM16bmIp4bChPno9SbyScWJxUxGXk/0YI8Jq19cnv9
+mABC/UGiFIcokKGLYzu8aR+dlXt1lZQbsBhomPmPWR3KVpLRv2kKhietwGeuvjd
e+P/pXR8zzhlLEA5q9sfYnGfHC62XAg6Y+nh5inO46Dsf3CvbZEzcFwi3q4/Pg6k
exTv1dqu0z3AsujQrL91p7R9SPOxXAoP8lTY/F8Qna8JM/spCtqzk9S0Sg+LQwu2
qEPkMnHcyJkwjcGRUgHy3/PJ/I2yI4+fM7/g1Cz1mDn0L+cJJLYXqUmjVSz+5Cgn
+wej/3YwgAnSMmTVpIRgNckwvo8ZMShNucbOoqUYB0FNVJ6QSPg=
=CwVi
-----END PGP SIGNATURE-----