>>> py3-fastapi: Building community/py3-fastapi 0.117.1-r0 (using abuild 3.16.0_rc4-r0) started Sun, 09 Nov 2025 13:20:03 +0000 >>> py3-fastapi: Validating /home/buildozer/aports/community/py3-fastapi/APKBUILD... >>> py3-fastapi: Analyzing dependencies... >>> py3-fastapi: Installing for build: build-base py3-pydantic py3-starlette py3-gpep517 py3-installer py3-pdm-backend py3-aiosqlite py3-anyio py3-databases py3-dirty-equals py3-email-validator py3-flask py3-httpx py3-inline-snapshot py3-jwt py3-orjson py3-passlib py3-pytest py3-pydantic-settings py3-python-jose py3-python-multipart py3-sqlalchemy py3-trio py3-ujson py3-yaml ( 1/189) Installing gdbm (1.26-r0) ( 2/189) Installing xz-libs (5.8.1-r0) ( 3/189) Installing mpdecimal (4.0.1-r0) ( 4/189) Installing libpanelw (6.5_p20251010-r0) ( 5/189) Installing python3 (3.12.12-r0) ( 6/189) Installing python3-pycache-pyc0 (3.12.12-r0) ( 7/189) Installing pyc (3.12.12-r0) ( 8/189) Installing py3-pydantic-pyc (2.12.3-r0) ( 9/189) Installing py3-annotated-types-pyc (0.7.0-r0) ( 10/189) Installing python3-pyc (3.12.12-r0) ( 11/189) Installing py3-annotated-types (0.7.0-r0) ( 12/189) Installing py3-typing-extensions (4.15.0-r0) ( 13/189) Installing py3-typing-extensions-pyc (4.15.0-r0) ( 14/189) Installing py3-pydantic-core (2.41.4-r0) ( 15/189) Installing py3-pydantic-core-pyc (2.41.4-r0) ( 16/189) Installing py3-typing-inspection (0.4.2-r0) ( 17/189) Installing py3-typing-inspection-pyc (0.4.2-r0) ( 18/189) Installing py3-pydantic (2.12.3-r0) ( 19/189) Installing py3-idna (3.10-r0) ( 20/189) Installing py3-idna-pyc (3.10-r0) ( 21/189) Installing py3-curio (1.6-r2) ( 22/189) Installing py3-curio-pyc (1.6-r2) ( 23/189) Installing py3-sniffio (1.3.1-r1) ( 24/189) Installing py3-sniffio-pyc (1.3.1-r1) ( 25/189) Installing py3-anyio (4.11.0-r0) ( 26/189) Installing py3-anyio-pyc (4.11.0-r0) ( 27/189) Installing py3-starlette (0.47.2-r0) ( 28/189) Installing py3-starlette-pyc (0.47.2-r0) ( 29/189) Installing py3-installer (0.7.0-r2) ( 30/189) Installing py3-installer-pyc (0.7.0-r2) ( 31/189) Installing py3-gpep517 (19-r1) ( 32/189) Installing py3-gpep517-pyc (19-r1) ( 33/189) Installing py3-parsing (3.2.3-r0) ( 34/189) Installing py3-parsing-pyc (3.2.3-r0) ( 35/189) Installing py3-packaging (25.0-r0) ( 36/189) Installing py3-packaging-pyc (25.0-r0) ( 37/189) Installing py3-setuptools (80.9.0-r2) ( 38/189) Installing py3-setuptools-pyc (80.9.0-r2) ( 39/189) Installing py3-cerberus (1.3.7-r0) ( 40/189) Installing py3-cerberus-pyc (1.3.7-r0) ( 41/189) Installing py3-editables (0.5-r2) ( 42/189) Installing py3-editables-pyc (0.5-r2) ( 43/189) Installing py3-boolean.py (5.0-r0) ( 44/189) Installing py3-boolean.py-pyc (5.0-r0) ( 45/189) Installing py3-license-expression (30.4.4-r0) ( 46/189) Installing py3-license-expression-pyc (30.4.4-r0) ( 47/189) Installing py3-pyproject-metadata (0.9.1-r0) ( 48/189) Installing py3-pyproject-metadata-pyc (0.9.1-r0) ( 49/189) Installing py3-tomli (2.2.1-r0) ( 50/189) Installing py3-tomli-pyc (2.2.1-r0) ( 51/189) Installing py3-tomli-w (1.2.0-r0) ( 52/189) Installing py3-tomli-w-pyc (1.2.0-r0) ( 53/189) Installing py3-fastjsonschema (2.21.2-r0) ( 54/189) Installing py3-fastjsonschema-pyc (2.21.2-r0) ( 55/189) Installing py3-validate-pyproject (0.24.1-r0) ( 56/189) Installing py3-validate-pyproject-pyc (0.24.1-r0) ( 57/189) Installing py3-pdm-backend (2.4.4-r0) ( 58/189) Installing py3-pdm-backend-pyc (2.4.4-r0) ( 59/189) Installing py3-aiosqlite (0.21.0-r0) ( 60/189) Installing py3-aiosqlite-pyc (0.21.0-r0) ( 61/189) Installing py3-databases (0.8.0-r2) ( 62/189) Installing py3-databases-pyc (0.8.0-r2) ( 63/189) Installing py3-tz (2025.2-r0) ( 64/189) Installing py3-tz-pyc (2025.2-r0) ( 65/189) Installing py3-dirty-equals (0.8.0-r0) ( 66/189) Installing py3-dirty-equals-pyc (0.8.0-r0) ( 67/189) Installing py3-email-validator (2.2.0-r0) ( 68/189) Installing py3-email-validator-pyc (2.2.0-r0) ( 69/189) Installing py3-asgiref (3.9.1-r0) ( 70/189) Installing py3-asgiref-pyc (3.9.1-r0) ( 71/189) Installing py3-blinker (1.9.0-r0) ( 72/189) Installing py3-blinker-pyc (1.9.0-r0) ( 73/189) Installing py3-click (8.1.8-r1) ( 74/189) Installing py3-click-pyc (8.1.8-r1) ( 75/189) Installing py3-dotenv (1.0.1-r1) ( 76/189) Installing py3-dotenv-pyc (1.0.1-r1) ( 77/189) Installing py3-itsdangerous (2.2.0-r0) ( 78/189) Installing py3-itsdangerous-pyc (2.2.0-r0) ( 79/189) Installing py3-markupsafe (3.0.2-r0) ( 80/189) Installing py3-markupsafe-pyc (3.0.2-r0) ( 81/189) Installing py3-jinja2 (3.1.6-r0) ( 82/189) Installing py3-jinja2-pyc (3.1.6-r0) ( 83/189) Installing py3-werkzeug (3.1.3-r0) ( 84/189) Installing py3-werkzeug-pyc (3.1.3-r0) ( 85/189) Installing py3-flask (3.1.2-r0) ( 86/189) Installing py3-flask-pyc (3.1.2-r0) ( 87/189) Installing py3-certifi (2025.10.5-r0) ( 88/189) Installing py3-certifi-pyc (2025.10.5-r0) ( 89/189) Installing py3-h11 (0.16.0-r0) ( 90/189) Installing py3-h11-pyc (0.16.0-r0) ( 91/189) Installing py3-httpcore (1.0.9-r0) ( 92/189) Installing py3-httpcore-pyc (1.0.9-r0) ( 93/189) Installing py3-httpx (0.28.1-r0) ( 94/189) Installing py3-httpx-pyc (0.28.1-r0) ( 95/189) Installing py3-aiohappyeyeballs (2.6.1-r0) ( 96/189) Installing py3-aiohappyeyeballs-pyc (2.6.1-r0) ( 97/189) Installing py3-frozenlist (1.6.2-r0) ( 98/189) Installing py3-frozenlist-pyc (1.6.2-r0) ( 99/189) Installing py3-aiosignal (1.4.0-r0) (100/189) Installing py3-aiosignal-pyc (1.4.0-r0) (101/189) Installing py3-async-timeout (4.0.3-r2) (102/189) Installing py3-async-timeout-pyc (4.0.3-r2) (103/189) Installing py3-attrs (25.3.0-r0) (104/189) Installing py3-attrs-pyc (25.3.0-r0) (105/189) Installing py3-brotli (1.1.0-r2) (106/189) Installing py3-brotli-pyc (1.1.0-r2) (107/189) Installing py3-charset-normalizer (3.4.4-r0) (108/189) Installing py3-charset-normalizer-pyc (3.4.4-r0) (109/189) Installing py3-idna-ssl (1.1.0-r9) (110/189) Installing py3-idna-ssl-pyc (1.1.0-r9) (111/189) Installing py3-multidict (6.7.0-r0) (112/189) Installing py3-multidict-pyc (6.7.0-r0) (113/189) Installing py3-expandvars (1.1.2-r0) (114/189) Installing py3-expandvars-pyc (1.1.2-r0) (115/189) Installing py3-propcache (0.4.0-r0) (116/189) Installing py3-propcache-pyc (0.4.0-r0) (117/189) Installing py3-yarl (1.20.0-r1) (118/189) Installing py3-yarl-pyc (1.20.0-r1) (119/189) Installing py3-aiohttp (3.12.15-r0) (120/189) Installing py3-aiohttp-pyc (3.12.15-r0) (121/189) Installing py3-mypy-extensions (1.1.0-r0) (122/189) Installing py3-mypy-extensions-pyc (1.1.0-r0) (123/189) Installing py3-pathspec (0.12.1-r2) (124/189) Installing py3-pathspec-pyc (0.12.1-r2) (125/189) Installing py3-platformdirs (4.5.0-r0) (126/189) Installing py3-platformdirs-pyc (4.5.0-r0) (127/189) Installing py3-pytokens (0.2.0-r0) (128/189) Installing py3-pytokens-pyc (0.2.0-r0) (129/189) Installing black (25.9.0-r0) (130/189) Installing black-pyc (25.9.0-r0) (131/189) Installing py3-asttokens (3.0.0-r0) (132/189) Installing py3-asttokens-pyc (3.0.0-r0) (133/189) Installing py3-executing (2.2.1-r0) (134/189) Installing py3-executing-pyc (2.2.1-r0) (135/189) Installing py3-mdurl (0.1.2-r3) (136/189) Installing py3-mdurl-pyc (0.1.2-r3) (137/189) Installing py3-markdown-it-py (3.0.0-r1) (138/189) Installing py3-markdown-it-py-pyc (3.0.0-r1) (139/189) Installing py3-pygments (2.19.2-r0) (140/189) Installing py3-pygments-pyc (2.19.2-r0) (141/189) Installing py3-rich (14.2.0-r0) (142/189) Installing py3-rich-pyc (14.2.0-r0) (143/189) Installing py3-inline-snapshot (0.14.1-r0) (144/189) Installing py3-inline-snapshot-pyc (0.14.1-r0) (145/189) Installing py3-jwt (2.10.1-r0) (146/189) Installing py3-jwt-pyc (2.10.1-r0) (147/189) Installing py3-orjson (3.10.18-r0) (148/189) Installing py3-orjson-pyc (3.10.18-r0) (149/189) Installing py3-passlib (1.7.4-r7) (150/189) Installing py3-passlib-pyc (1.7.4-r7) (151/189) Installing py3-iniconfig (2.3.0-r0) (152/189) Installing py3-iniconfig-pyc (2.3.0-r0) (153/189) Installing py3-pluggy (1.6.0-r0) (154/189) Installing py3-pluggy-pyc (1.6.0-r0) (155/189) Installing py3-py (1.11.0-r4) (156/189) Installing py3-py-pyc (1.11.0-r4) (157/189) Installing py3-pytest (8.4.2-r1) (158/189) Installing py3-pytest-pyc (8.4.2-r1) (159/189) Installing py3-pydantic-settings (2.11.0-r0) (160/189) Installing py3-pydantic-settings-pyc (2.11.0-r0) (161/189) Installing py3-python-jose (3.5.0-r0) (162/189) Installing py3-python-jose-pyc (3.5.0-r0) (163/189) Installing py3-python-multipart (0.0.20-r0) (164/189) Installing py3-python-multipart-pyc (0.0.20-r0) (165/189) Installing py3-greenlet (3.2.4-r0) (166/189) Installing py3-greenlet-pyc (3.2.4-r0) (167/189) Installing py3-sqlalchemy (2.0.44-r0) (168/189) Installing py3-sqlalchemy-pyc (2.0.44-r0) (169/189) Installing py3-async_generator (1.10-r6) (170/189) Installing py3-async_generator-pyc (1.10-r6) (171/189) Installing py3-cparser (2.22-r1) (172/189) Installing py3-cparser-pyc (2.22-r1) (173/189) Installing py3-cffi (1.17.1-r1) (174/189) Installing py3-cffi-pyc (1.17.1-r1) (175/189) Installing py3-cryptography (46.0.2-r0) (176/189) Installing py3-cryptography-pyc (46.0.2-r0) (177/189) Installing py3-openssl (25.3.0-r0) (178/189) Installing py3-openssl-pyc (25.3.0-r0) (179/189) Installing py3-outcome (1.3.0-r1) (180/189) Installing py3-outcome-pyc (1.3.0-r1) (181/189) Installing py3-sortedcontainers (2.4.0-r5) (182/189) Installing py3-sortedcontainers-pyc (2.4.0-r5) (183/189) Installing py3-trio (0.32.0-r0) (184/189) Installing py3-trio-pyc (0.32.0-r0) (185/189) Installing py3-ujson (5.11.0-r0) (186/189) Installing yaml (0.2.5-r2) (187/189) Installing py3-yaml (6.0.3-r0) (188/189) Installing py3-yaml-pyc (6.0.3-r0) (189/189) Installing .makedepends-py3-fastapi (20251109.132008) busybox-1.37.0-r24.trigger: Executing script... OK: 496 MiB in 340 packages >>> py3-fastapi: Cleaning up srcdir >>> py3-fastapi: Cleaning up pkgdir >>> py3-fastapi: Cleaning up tmpdir >>> py3-fastapi: Fetching https://distfiles.alpinelinux.org/distfiles/v3.23/py3-fastapi-0.117.1.tar.gz /var/cache/distfiles/v3.23/py3-fastapi-0.117.1.tar.gz: OK >>> py3-fastapi: Fetching https://distfiles.alpinelinux.org/distfiles/v3.23/py3-fastapi-0.117.1.tar.gz /var/cache/distfiles/v3.23/py3-fastapi-0.117.1.tar.gz: OK >>> py3-fastapi: Unpacking /var/cache/distfiles/v3.23/py3-fastapi-0.117.1.tar.gz... 2025-11-09 13:20:10,384 gpep517 INFO Building wheel via backend pdm.backend 2025-11-09 13:20:10,555 gpep517 INFO The backend produced .dist/fastapi-0.117.1-py3-none-any.whl fastapi-0.117.1-py3-none-any.whl - Adding .pdm-build/fastapi-0.117.1.dist-info/METADATA -> fastapi-0.117.1.dist-info/METADATA - Adding .pdm-build/fastapi-0.117.1.dist-info/WHEEL -> fastapi-0.117.1.dist-info/WHEEL - Adding .pdm-build/fastapi-0.117.1.dist-info/entry_points.txt -> fastapi-0.117.1.dist-info/entry_points.txt - Adding .pdm-build/fastapi-0.117.1.dist-info/licenses/LICENSE -> fastapi-0.117.1.dist-info/licenses/LICENSE - Adding fastapi/__init__.py -> fastapi/__init__.py - Adding fastapi/__main__.py -> fastapi/__main__.py - Adding fastapi/_compat.py -> fastapi/_compat.py - Adding fastapi/applications.py -> fastapi/applications.py - Adding fastapi/background.py -> fastapi/background.py - Adding fastapi/cli.py -> fastapi/cli.py - Adding fastapi/concurrency.py -> fastapi/concurrency.py - Adding fastapi/datastructures.py -> fastapi/datastructures.py - Adding fastapi/dependencies/__init__.py -> fastapi/dependencies/__init__.py - Adding fastapi/dependencies/models.py -> fastapi/dependencies/models.py - Adding fastapi/dependencies/utils.py -> fastapi/dependencies/utils.py - Adding fastapi/encoders.py -> fastapi/encoders.py - Adding fastapi/exception_handlers.py -> fastapi/exception_handlers.py - Adding fastapi/exceptions.py -> fastapi/exceptions.py - Adding fastapi/logger.py -> fastapi/logger.py - Adding fastapi/middleware/__init__.py -> fastapi/middleware/__init__.py - Adding fastapi/middleware/cors.py -> fastapi/middleware/cors.py - Adding fastapi/middleware/gzip.py -> fastapi/middleware/gzip.py - Adding fastapi/middleware/httpsredirect.py -> fastapi/middleware/httpsredirect.py - Adding fastapi/middleware/trustedhost.py -> fastapi/middleware/trustedhost.py - Adding fastapi/middleware/wsgi.py -> fastapi/middleware/wsgi.py - Adding fastapi/openapi/__init__.py -> fastapi/openapi/__init__.py - Adding fastapi/openapi/constants.py -> fastapi/openapi/constants.py - Adding fastapi/openapi/docs.py -> fastapi/openapi/docs.py - Adding fastapi/openapi/models.py -> fastapi/openapi/models.py - Adding fastapi/openapi/utils.py -> fastapi/openapi/utils.py - Adding fastapi/param_functions.py -> fastapi/param_functions.py - Adding fastapi/params.py -> fastapi/params.py - Adding fastapi/py.typed -> fastapi/py.typed - Adding fastapi/requests.py -> fastapi/requests.py - Adding fastapi/responses.py -> fastapi/responses.py - Adding fastapi/routing.py -> fastapi/routing.py - Adding fastapi/security/__init__.py -> fastapi/security/__init__.py - Adding fastapi/security/api_key.py -> fastapi/security/api_key.py - Adding fastapi/security/base.py -> fastapi/security/base.py - Adding fastapi/security/http.py -> fastapi/security/http.py - Adding fastapi/security/oauth2.py -> fastapi/security/oauth2.py - Adding fastapi/security/open_id_connect_url.py -> fastapi/security/open_id_connect_url.py - Adding fastapi/security/utils.py -> fastapi/security/utils.py - Adding fastapi/staticfiles.py -> fastapi/staticfiles.py - Adding fastapi/templating.py -> fastapi/templating.py - Adding fastapi/testclient.py -> fastapi/testclient.py - Adding fastapi/types.py -> fastapi/types.py - Adding fastapi/utils.py -> fastapi/utils.py - Adding fastapi/websockets.py -> fastapi/websockets.py - Adding fastapi-0.117.1.dist-info/RECORD -> fastapi-0.117.1.dist-info/RECORD ============================= test session starts ============================== platform linux -- Python 3.12.12, pytest-8.4.2, pluggy-1.6.0 rootdir: /home/buildozer/aports/community/py3-fastapi/src/fastapi-0.117.1 configfile: pyproject.toml plugins: inline-snapshot-0.14.1, anyio-0.0.0 collected 2467 items / 2 deselected / 2465 selected tests/test_additional_properties.py .. [ 0%] tests/test_additional_properties_bool.py ... [ 0%] tests/test_additional_response_extra.py .. [ 0%] tests/test_additional_responses_bad.py . [ 0%] tests/test_additional_responses_custom_model_in_callback.py . [ 0%] tests/test_additional_responses_custom_validationerror.py . [ 0%] tests/test_additional_responses_default_validationerror.py . [ 0%] tests/test_additional_responses_response_class.py . [ 0%] tests/test_additional_responses_router.py ..... [ 0%] tests/test_allow_inf_nan_in_enforcing.py ........................ [ 1%] tests/test_ambiguous_params.py .. [ 1%] tests/test_annotated.py ............. [ 2%] tests/test_application.py ........ [ 2%] tests/test_callable_endpoint.py . [ 2%] tests/test_compat.py .ss....... [ 3%] tests/test_computed_fields.py ... [ 3%] tests/test_custom_middleware_exception.py .. [ 3%] tests/test_custom_route_class.py ..... [ 3%] tests/test_custom_schema_fields.py .. [ 3%] tests/test_custom_swagger_ui_redirect.py ... [ 3%] tests/test_datastructures.py ....... [ 3%] tests/test_datetime_custom_encoder.py .s [ 4%] tests/test_default_response_class.py .............. [ 4%] tests/test_default_response_class_router.py .............. [ 5%] tests/test_dependency_cache.py .... [ 5%] tests/test_dependency_class.py ........ [ 5%] tests/test_dependency_contextmanager.py ...................... [ 6%] tests/test_dependency_contextvars.py . [ 6%] tests/test_dependency_duplicates.py ..... [ 6%] tests/test_dependency_normal_exceptions.py .. [ 6%] tests/test_dependency_overrides.py ................................ [ 8%] tests/test_dependency_security_overrides.py ... [ 8%] tests/test_deprecated_openapi_prefix.py .. [ 8%] tests/test_duplicate_models_openapi.py .. [ 8%] tests/test_empty_router.py .. [ 8%] tests/test_enforce_once_required_parameter.py ... [ 8%] tests/test_exception_handlers.py ..... [ 8%] tests/test_extra_routes.py ........ [ 9%] tests/test_file_and_form_order_issue_9116.py .... [ 9%] tests/test_filter_pydantic_sub_model/test_filter_pydantic_sub_model_pv1.py s [ 9%] ss [ 9%] tests/test_filter_pydantic_sub_model_pv2.py ... [ 9%] tests/test_forms_from_non_typing_sequences.py ... [ 9%] tests/test_forms_single_model.py FFFF [ 9%] tests/test_forms_single_param.py .. [ 9%] tests/test_generate_unique_id_function.py ........ [ 10%] tests/test_generic_parameterless_depends.py .. [ 10%] tests/test_get_model_definitions_formfeed_escape.py .ss [ 10%] tests/test_get_request_body.py .. [ 10%] tests/test_http_connection_injection.py .. [ 10%] tests/test_include_route.py . [ 10%] tests/test_include_router_defaults_overrides.py ........................ [ 11%] ................... [ 12%] tests/test_infer_param_optionality.py ......... [ 12%] tests/test_inherited_custom_class.py .s [ 12%] tests/test_invalid_path_param.py ....... [ 13%] tests/test_invalid_sequence_param.py .... [ 13%] tests/test_jsonable_encoder.py ......s....s....s.... [ 14%] tests/test_local_docs.py ..... [ 14%] tests/test_modules_same_name_body/test_main.py ......... [ 14%] tests/test_multi_body_errors.py ...F [ 14%] tests/test_multi_query_errors.py ... [ 15%] tests/test_multipart_installation.py ........... [ 15%] tests/test_no_swagger_ui_redirect.py ... [ 15%] tests/test_openapi_examples.py .. [ 15%] tests/test_openapi_model_description_trim_on_formfeed.py . [ 15%] tests/test_openapi_query_parameter_extension.py .. [ 15%] tests/test_openapi_route_extensions.py .. [ 15%] tests/test_openapi_schema_type.py .... [ 16%] tests/test_openapi_separate_input_output_schemas.py ...... [ 16%] tests/test_openapi_servers.py .. [ 16%] tests/test_operations_signatures.py . [ 16%] tests/test_orjson_response_class.py . [ 16%] tests/test_param_class.py .. [ 16%] tests/test_param_in_path_and_dependency.py .. [ 16%] tests/test_param_include_in_schema.py ........ [ 16%] tests/test_params_repr.py ........................... [ 18%] tests/test_path.py ..................................................... [ 20%] ...................... [ 21%] tests/test_put_no_body.py ... [ 21%] tests/test_query.py ............................. [ 22%] tests/test_read_with_orm_mode.py .s [ 22%] tests/test_regex_deprecated_body.py .... [ 22%] tests/test_regex_deprecated_params.py .... [ 22%] tests/test_repeated_cookie_headers.py . [ 22%] tests/test_repeated_dependency_schema.py .. [ 22%] tests/test_repeated_parameter_alias.py .. [ 22%] tests/test_reponse_set_reponse_code_empty.py .. [ 23%] tests/test_request_body_parameters_media_type.py . [ 23%] tests/test_required_noneable.py ....... [ 23%] tests/test_response_by_alias.py .......... [ 23%] tests/test_response_change_status_code.py . [ 23%] tests/test_response_class_no_mediatype.py . [ 23%] tests/test_response_code_no_body.py .. [ 23%] tests/test_response_model_as_return_annotation.py ...................... [ 24%] ................ [ 25%] tests/test_response_model_data_filter.py ... [ 25%] tests/test_response_model_data_filter_no_inheritance.py ... [ 25%] tests/test_response_model_default_factory.py .. [ 25%] tests/test_response_model_include_exclude.py ...... [ 26%] tests/test_response_model_invalid.py .... [ 26%] tests/test_response_model_sub_types.py .. [ 26%] tests/test_return_none_stringified_annotations.py . [ 26%] tests/test_route_scope.py ..... [ 26%] tests/test_router_events.py ...... [ 26%] tests/test_router_prefix_with_template.py . [ 26%] tests/test_router_redirect_slashes.py .. [ 26%] tests/test_schema_extra_examples.py .. [ 26%] tests/test_security_api_key_cookie.py ... [ 27%] tests/test_security_api_key_cookie_description.py ... [ 27%] tests/test_security_api_key_cookie_optional.py ... [ 27%] tests/test_security_api_key_header.py ... [ 27%] tests/test_security_api_key_header_description.py ... [ 27%] tests/test_security_api_key_header_optional.py ... [ 27%] tests/test_security_api_key_query.py ... [ 27%] tests/test_security_api_key_query_description.py ... [ 27%] tests/test_security_api_key_query_optional.py ... [ 28%] tests/test_security_http_base.py ... [ 28%] tests/test_security_http_base_description.py ... [ 28%] tests/test_security_http_base_optional.py ... [ 28%] tests/test_security_http_basic_optional.py ..... [ 28%] tests/test_security_http_basic_realm.py ..... [ 28%] tests/test_security_http_basic_realm_description.py ..... [ 29%] tests/test_security_http_bearer.py .... [ 29%] tests/test_security_http_bearer_description.py .... [ 29%] tests/test_security_http_bearer_optional.py .... [ 29%] tests/test_security_http_digest.py .... [ 29%] tests/test_security_http_digest_description.py .... [ 29%] tests/test_security_http_digest_optional.py .... [ 30%] tests/test_security_oauth2.py .......... [ 30%] tests/test_security_oauth2_authorization_code_bearer.py .... [ 30%] tests/test_security_oauth2_authorization_code_bearer_description.py .... [ 30%] [ 30%] tests/test_security_oauth2_optional.py .......... [ 31%] tests/test_security_oauth2_optional_description.py .......... [ 31%] tests/test_security_oauth2_password_bearer_optional.py .... [ 31%] tests/test_security_oauth2_password_bearer_optional_description.py .... [ 31%] tests/test_security_openid_connect.py .... [ 32%] tests/test_security_openid_connect_description.py .... [ 32%] tests/test_security_openid_connect_optional.py .... [ 32%] tests/test_serialize_response.py ... [ 32%] tests/test_serialize_response_dataclass.py ....... [ 32%] tests/test_serialize_response_model.py ........ [ 33%] tests/test_skip_defaults.py ..... [ 33%] tests/test_starlette_exception.py ....... [ 33%] tests/test_starlette_urlconvertors.py ..... [ 33%] tests/test_sub_callbacks.py .. [ 33%] tests/test_swagger_ui_init_oauth.py .. [ 33%] tests/test_tuples.py ....... [ 34%] tests/test_tutorial/test_additional_responses/test_tutorial001.py ... [ 34%] tests/test_tutorial/test_additional_responses/test_tutorial002.py ... [ 34%] tests/test_tutorial/test_additional_responses/test_tutorial003.py ... [ 34%] tests/test_tutorial/test_additional_responses/test_tutorial004.py ... [ 34%] tests/test_tutorial/test_additional_status_codes/test_tutorial001.py ... [ 34%] ....... [ 35%] tests/test_tutorial/test_advanced_middleware/test_tutorial001.py . [ 35%] tests/test_tutorial/test_advanced_middleware/test_tutorial002.py . [ 35%] tests/test_tutorial/test_advanced_middleware/test_tutorial003.py . [ 35%] tests/test_tutorial/test_async_tests/test_main.py .... [ 35%] tests/test_tutorial/test_background_tasks/test_tutorial001.py . [ 35%] tests/test_tutorial/test_background_tasks/test_tutorial002.py ..... [ 35%] tests/test_tutorial/test_behind_a_proxy/test_tutorial001.py .. [ 35%] tests/test_tutorial/test_behind_a_proxy/test_tutorial001_01.py .. [ 35%] tests/test_tutorial/test_behind_a_proxy/test_tutorial002.py .. [ 35%] tests/test_tutorial/test_behind_a_proxy/test_tutorial003.py .. [ 35%] tests/test_tutorial/test_behind_a_proxy/test_tutorial004.py .. [ 36%] tests/test_tutorial/test_bigger_applications/test_main.py .............. [ 36%] ............................................................. [ 39%] tests/test_tutorial/test_body/test_tutorial001.py ...................... [ 40%] .......... [ 40%] tests/test_tutorial/test_body_fields/test_tutorial001.py ............... [ 41%] ..... [ 41%] tests/test_tutorial/test_body_multiple_params/test_tutorial001.py ...... [ 41%] ................... [ 42%] tests/test_tutorial/test_body_multiple_params/test_tutorial003.py ...... [ 42%] .............. [ 43%] tests/test_tutorial/test_body_nested_models/test_tutorial009.py ...... [ 43%] tests/test_tutorial/test_body_updates/test_tutorial001.py .........sss [ 43%] tests/test_tutorial/test_conditional_openapi/test_tutorial001.py ... [ 43%] tests/test_tutorial/test_configure_swagger_ui/test_tutorial001.py .. [ 43%] tests/test_tutorial/test_configure_swagger_ui/test_tutorial002.py .. [ 44%] tests/test_tutorial/test_configure_swagger_ui/test_tutorial003.py .. [ 44%] tests/test_tutorial/test_cookie_param_models/test_tutorial001.py ....... [ 44%] .................. [ 45%] tests/test_tutorial/test_cookie_param_models/test_tutorial002.py .....ss [ 45%] sss.....sssss.....sssss.....sssss.....sssss [ 47%] tests/test_tutorial/test_cookie_params/test_tutorial001.py ............. [ 47%] ............ [ 48%] tests/test_tutorial/test_cors/test_tutorial001.py . [ 48%] tests/test_tutorial/test_custom_docs_ui/test_tutorial001.py .... [ 48%] tests/test_tutorial/test_custom_docs_ui/test_tutorial002.py .... [ 48%] tests/test_tutorial/test_custom_request_and_route/test_tutorial001.py .. [ 48%] . [ 48%] tests/test_tutorial/test_custom_request_and_route/test_tutorial003.py .. [ 48%] [ 48%] tests/test_tutorial/test_custom_response/test_tutorial001.py .. [ 48%] tests/test_tutorial/test_custom_response/test_tutorial001b.py .. [ 48%] tests/test_tutorial/test_custom_response/test_tutorial004.py .. [ 49%] tests/test_tutorial/test_custom_response/test_tutorial005.py .. [ 49%] tests/test_tutorial/test_custom_response/test_tutorial006.py .. [ 49%] tests/test_tutorial/test_custom_response/test_tutorial006b.py .. [ 49%] tests/test_tutorial/test_custom_response/test_tutorial006c.py .. [ 49%] tests/test_tutorial/test_custom_response/test_tutorial007.py . [ 49%] tests/test_tutorial/test_custom_response/test_tutorial008.py . [ 49%] tests/test_tutorial/test_custom_response/test_tutorial009.py . [ 49%] tests/test_tutorial/test_custom_response/test_tutorial009b.py . [ 49%] tests/test_tutorial/test_custom_response/test_tutorial009c.py . [ 49%] tests/test_tutorial/test_dataclasses/test_tutorial001.py ... [ 49%] tests/test_tutorial/test_dataclasses/test_tutorial002.py .. [ 49%] tests/test_tutorial/test_dataclasses/test_tutorial003.py ...s [ 49%] tests/test_tutorial/test_dependencies/test_tutorial001.py .............. [ 50%] ................ [ 51%] tests/test_tutorial/test_dependencies/test_tutorial004.py .............. [ 51%] ..................... [ 52%] tests/test_tutorial/test_dependencies/test_tutorial006.py .............. [ 53%] . [ 53%] tests/test_tutorial/test_dependencies/test_tutorial008b.py ......... [ 53%] tests/test_tutorial/test_dependencies/test_tutorial008c.py ............ [ 53%] tests/test_tutorial/test_dependencies/test_tutorial008d.py ............ [ 54%] tests/test_tutorial/test_dependencies/test_tutorial012.py .............. [ 55%] ............. [ 55%] tests/test_tutorial/test_events/test_tutorial001.py .. [ 55%] tests/test_tutorial/test_events/test_tutorial002.py .. [ 55%] tests/test_tutorial/test_events/test_tutorial003.py .. [ 55%] tests/test_tutorial/test_extending_openapi/test_tutorial001.py .. [ 55%] tests/test_tutorial/test_extra_data_types/test_tutorial001.py .......... [ 56%] [ 56%] tests/test_tutorial/test_extra_models/test_tutorial003.py ...... [ 56%] tests/test_tutorial/test_extra_models/test_tutorial004.py .... [ 56%] tests/test_tutorial/test_extra_models/test_tutorial005.py .... [ 56%] tests/test_tutorial/test_first_steps/test_tutorial001.py ... [ 56%] tests/test_tutorial/test_generate_clients/test_tutorial003.py .... [ 57%] tests/test_tutorial/test_handling_errors/test_tutorial001.py ... [ 57%] tests/test_tutorial/test_handling_errors/test_tutorial002.py ... [ 57%] tests/test_tutorial/test_handling_errors/test_tutorial003.py ... [ 57%] tests/test_tutorial/test_handling_errors/test_tutorial004.py .... [ 57%] tests/test_tutorial/test_handling_errors/test_tutorial005.py ... [ 57%] tests/test_tutorial/test_handling_errors/test_tutorial006.py .... [ 57%] tests/test_tutorial/test_header_param_models/test_tutorial001.py ....... [ 58%] .....FE................. [ 59%] tests/test_tutorial/test_header_param_models/test_tutorial002.py .....ss [ 59%] sss.....sssss.....sssss.....sssss.....sssss [ 61%] tests/test_tutorial/test_header_param_models/test_tutorial003.py ......F [ 61%] E...........FE................. [ 62%] tests/test_tutorial/test_header_params/test_tutorial001.py ............. [ 63%] ... [ 63%] tests/test_tutorial/test_header_params/test_tutorial002.py ............. [ 63%] ............ [ 64%] tests/test_tutorial/test_header_params/test_tutorial003.py ............. [ 64%] ....... [ 65%] tests/test_tutorial/test_metadata/test_tutorial001.py .. [ 65%] tests/test_tutorial/test_metadata/test_tutorial001_1.py .. [ 65%] tests/test_tutorial/test_metadata/test_tutorial004.py .. [ 65%] tests/test_tutorial/test_openapi_callbacks/test_tutorial001.py ... [ 65%] tests/test_tutorial/test_openapi_webhooks/test_tutorial001.py ... [ 65%] tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial001.py . [ 65%] . [ 65%] tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial002.py . [ 65%] . [ 65%] tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial003.py . [ 65%] . [ 65%] tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial004.py . [ 65%] .s [ 66%] tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial005.py . [ 66%] . [ 66%] tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial006.py . [ 66%] . [ 66%] tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial007.py . [ 66%] ... [ 66%] tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial007_pv1.py s [ 66%] sss [ 66%] tests/test_tutorial/test_path_operation_configurations/test_tutorial002b.py . [ 66%] .. [ 66%] tests/test_tutorial/test_path_operation_configurations/test_tutorial005.py . [ 66%] .....sss [ 66%] tests/test_tutorial/test_path_operation_configurations/test_tutorial006.py . [ 67%] ... [ 67%] tests/test_tutorial/test_path_params/test_tutorial004.py ... [ 67%] tests/test_tutorial/test_path_params/test_tutorial005.py ..... [ 67%] tests/test_tutorial/test_query_param_models/test_tutorial001.py ........ [ 67%] ...................... [ 68%] tests/test_tutorial/test_query_param_models/test_tutorial002.py ......ss [ 69%] ssss......ssssss......ssssss......ssssss......ssssss [ 71%] tests/test_tutorial/test_query_params/test_tutorial005.py ... [ 71%] tests/test_tutorial/test_query_params/test_tutorial006.py ...... [ 71%] tests/test_tutorial/test_query_params_str_validations/test_tutorial010.py . [ 71%] ........................ [ 72%] tests/test_tutorial/test_query_params_str_validations/test_tutorial011.py . [ 72%] ................. [ 73%] tests/test_tutorial/test_query_params_str_validations/test_tutorial012.py . [ 73%] ........... [ 73%] tests/test_tutorial/test_query_params_str_validations/test_tutorial013.py . [ 73%] ........ [ 74%] tests/test_tutorial/test_query_params_str_validations/test_tutorial014.py . [ 74%] .............. [ 74%] tests/test_tutorial/test_query_params_str_validations/test_tutorial015.py . [ 74%] .............. [ 75%] tests/test_tutorial/test_request_files/test_tutorial001.py ............. [ 75%] ..... [ 76%] tests/test_tutorial/test_request_files/test_tutorial001_02.py .......... [ 76%] ............... [ 77%] tests/test_tutorial/test_request_files/test_tutorial001_03.py ......... [ 77%] tests/test_tutorial/test_request_files/test_tutorial002.py ............. [ 77%] ........... [ 78%] tests/test_tutorial/test_request_files/test_tutorial003.py ............. [ 78%] ... [ 79%] tests/test_tutorial/test_request_form_models/test_tutorial001.py ....... [ 79%] ........... [ 79%] tests/test_tutorial/test_request_form_models/test_tutorial002.py ....... [ 80%] .............. [ 80%] tests/test_tutorial/test_request_form_models/test_tutorial002_pv1.py sss [ 80%] ssssssssssssssssss [ 81%] tests/test_tutorial/test_request_forms/test_tutorial001.py ............. [ 81%] ..... [ 82%] tests/test_tutorial/test_request_forms_and_files/test_tutorial001.py ... [ 82%] ............... [ 82%] tests/test_tutorial/test_response_change_status_code/test_tutorial001.py . [ 82%] [ 82%] tests/test_tutorial/test_response_cookies/test_tutorial001.py . [ 83%] tests/test_tutorial/test_response_cookies/test_tutorial002.py . [ 83%] tests/test_tutorial/test_response_headers/test_tutorial001.py . [ 83%] tests/test_tutorial/test_response_headers/test_tutorial002.py . [ 83%] tests/test_tutorial/test_response_model/test_tutorial003.py .... [ 83%] tests/test_tutorial/test_response_model/test_tutorial003_01.py .... [ 83%] tests/test_tutorial/test_response_model/test_tutorial003_02.py ... [ 83%] tests/test_tutorial/test_response_model/test_tutorial003_03.py .. [ 83%] tests/test_tutorial/test_response_model/test_tutorial003_04.py .. [ 83%] tests/test_tutorial/test_response_model/test_tutorial003_05.py ...... [ 83%] tests/test_tutorial/test_response_model/test_tutorial004.py ............ [ 84%] [ 84%] tests/test_tutorial/test_response_model/test_tutorial005.py ...... [ 84%] tests/test_tutorial/test_response_model/test_tutorial006.py ...... [ 84%] tests/test_tutorial/test_schema_extra_example/test_tutorial001.py .... [ 85%] tests/test_tutorial/test_schema_extra_example/test_tutorial001_pv1.py ss [ 85%] ss [ 85%] tests/test_tutorial/test_schema_extra_example/test_tutorial004.py ...... [ 85%] .... [ 85%] tests/test_tutorial/test_schema_extra_example/test_tutorial005.py ...... [ 85%] .... [ 86%] tests/test_tutorial/test_security/test_tutorial001.py ............ [ 86%] tests/test_tutorial/test_security/test_tutorial003.py .................. [ 87%] ........................... [ 88%] tests/test_tutorial/test_security/test_tutorial005.py .................. [ 89%] ........................................................................ [ 92%] ........................ [ 93%] tests/test_tutorial/test_security/test_tutorial006.py ............... [ 93%] tests/test_tutorial/test_separate_openapi_schemas/test_tutorial001.py .. [ 93%] ....... [ 93%] tests/test_tutorial/test_separate_openapi_schemas/test_tutorial002.py .. [ 94%] ....... [ 94%] tests/test_tutorial/test_settings/test_app02.py .. [ 94%] tests/test_tutorial/test_settings/test_tutorial001.py .s [ 94%] tests/test_tutorial/test_sub_applications/test_tutorial001.py .... [ 94%] tests/test_tutorial/test_templates/test_tutorial001.py . [ 94%] tests/test_tutorial/test_testing/test_main.py ... [ 94%] tests/test_tutorial/test_testing/test_main_b.py ..... [ 95%] tests/test_tutorial/test_testing/test_tutorial001.py ... [ 95%] tests/test_tutorial/test_testing/test_tutorial002.py .... [ 95%] tests/test_tutorial/test_testing/test_tutorial003.py . [ 95%] tests/test_tutorial/test_testing/test_tutorial004.py .. [ 95%] tests/test_tutorial/test_testing_dependencies/test_tutorial001.py ...... [ 95%] ............................. [ 96%] tests/test_tutorial/test_websockets/test_tutorial001.py .. [ 96%] tests/test_tutorial/test_websockets/test_tutorial002.py ................ [ 97%] .............. [ 98%] tests/test_tutorial/test_websockets/test_tutorial003.py .. [ 98%] tests/test_tutorial/test_websockets/test_tutorial003_py39.py .. [ 98%] tests/test_tutorial/test_wsgi/test_tutorial001.py .. [ 98%] tests/test_typing_python39.py . [ 98%] tests/test_union_body.py ... [ 98%] tests/test_union_forms.py ..... [ 98%] tests/test_union_inherited_body.py ... [ 98%] tests/test_validate_response.py ...... [ 99%] tests/test_validate_response_dataclass.py ... [ 99%] tests/test_validate_response_recursive/test_validate_response_recursive.py . [ 99%] [ 99%] tests/test_webhooks_security.py .. [ 99%] tests/test_ws_dependencies.py ... [ 99%] tests/test_ws_router.py ............ [100%] ==================================== ERRORS ==================================== ______ ERROR at teardown of test_header_param_model_invalid[tutorial001] _______ some snapshots in this test have incorrect values. ___ ERROR at teardown of test_header_param_model_no_underscore[tutorial003] ____ some snapshots in this test have incorrect values. ______ ERROR at teardown of test_header_param_model_invalid[tutorial003] _______ some snapshots in this test have incorrect values. =================================== FAILURES =================================== ______________________________ test_send_all_data ______________________________ self = TypeAdapter(Annotated[str, FieldInfo(annotation=str, required=False, default='nothing', alias='with', alias_priority=2)]) ns_resolver = force = False, raise_errors = False def _init_core_attrs( self, ns_resolver: _namespace_utils.NsResolver, force: bool, raise_errors: bool = False ) -> bool: """Initialize the core schema, validator, and serializer for the type. Args: ns_resolver: The namespace resolver to use when building the core schema for the adapted type. force: Whether to force the construction of the core schema, validator, and serializer. If `force` is set to `False` and `_defer_build` is `True`, the core schema, validator, and serializer will be set to mocks. raise_errors: Whether to raise errors if initializing any of the core attrs fails. Returns: `True` if the core schema, validator, and serializer were successfully initialized, otherwise `False`. Raises: PydanticUndefinedAnnotation: If `PydanticUndefinedAnnotation` occurs in`__get_pydantic_core_schema__` and `raise_errors=True`. """ if not force and self._defer_build: _mock_val_ser.set_type_adapter_mocks(self) self.pydantic_complete = False return False try: > self.core_schema = _getattr_no_parents(self._type, '__pydantic_core_schema__') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.12/site-packages/pydantic/type_adapter.py:287: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ obj = typing.Annotated[str, FieldInfo(annotation=str, required=False, default='nothing', alias='with', alias_priority=2)] attribute = '__pydantic_core_schema__' def _getattr_no_parents(obj: Any, attribute: str) -> Any: """Returns the attribute value without attempting to look up attributes from parent types.""" if hasattr(obj, '__dict__'): try: return obj.__dict__[attribute] except KeyError: pass slots = getattr(obj, '__slots__', None) if slots is not None and attribute in slots: return getattr(obj, attribute) else: > raise AttributeError(attribute) E AttributeError: __pydantic_core_schema__ /usr/lib/python3.12/site-packages/pydantic/type_adapter.py:56: AttributeError During handling of the above exception, another exception occurred: def test_send_all_data(): > response = client.post( "/form/", data={ "username": "Rick", "lastname": "Sanchez", "age": "70", "tags": ["plumbus", "citadel"], "with": "something", }, ) tests/test_forms_single_model.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/starlette/testclient.py:552: in post return super().post( /usr/lib/python3.12/site-packages/httpx/_client.py:1144: in post return self.request( /usr/lib/python3.12/site-packages/starlette/testclient.py:451: in request return super().request( /usr/lib/python3.12/site-packages/httpx/_client.py:825: in request return self.send(request, auth=auth, follow_redirects=follow_redirects) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.12/site-packages/httpx/_client.py:914: in send response = self._send_handling_auth( /usr/lib/python3.12/site-packages/httpx/_client.py:942: in _send_handling_auth response = self._send_handling_redirects( /usr/lib/python3.12/site-packages/httpx/_client.py:979: in _send_handling_redirects response = self._send_single_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.12/site-packages/httpx/_client.py:1014: in _send_single_request response = transport.handle_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.12/site-packages/starlette/testclient.py:354: in handle_request raise exc /usr/lib/python3.12/site-packages/starlette/testclient.py:351: in handle_request portal.call(self.app, scope, receive, send) /usr/lib/python3.12/site-packages/anyio/from_thread.py:321: in call return cast(T_Retval, self.start_task_soon(func, *args).result()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.12/concurrent/futures/_base.py:456: in result return self.__get_result() ^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.12/concurrent/futures/_base.py:401: in __get_result raise self._exception /usr/lib/python3.12/site-packages/anyio/from_thread.py:252: in _call_func retval = await retval_or_awaitable ^^^^^^^^^^^^^^^^^^^^^^^^^ fastapi/applications.py:1082: in __call__ await super().__call__(scope, receive, send) /usr/lib/python3.12/site-packages/starlette/applications.py:113: in __call__ await self.middleware_stack(scope, receive, send) /usr/lib/python3.12/site-packages/starlette/middleware/errors.py:186: in __call__ raise exc /usr/lib/python3.12/site-packages/starlette/middleware/errors.py:164: in __call__ await self.app(scope, receive, _send) /usr/lib/python3.12/site-packages/starlette/middleware/exceptions.py:63: in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) /usr/lib/python3.12/site-packages/starlette/_exception_handler.py:53: in wrapped_app raise exc /usr/lib/python3.12/site-packages/starlette/_exception_handler.py:42: in wrapped_app await app(scope, receive, sender) /usr/lib/python3.12/site-packages/starlette/routing.py:716: in __call__ await self.middleware_stack(scope, receive, send) /usr/lib/python3.12/site-packages/starlette/routing.py:736: in app await route.handle(scope, receive, send) /usr/lib/python3.12/site-packages/starlette/routing.py:290: in handle await self.app(scope, receive, send) /usr/lib/python3.12/site-packages/starlette/routing.py:78: in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) /usr/lib/python3.12/site-packages/starlette/_exception_handler.py:53: in wrapped_app raise exc /usr/lib/python3.12/site-packages/starlette/_exception_handler.py:42: in wrapped_app await app(scope, receive, sender) /usr/lib/python3.12/site-packages/starlette/routing.py:75: in app response = await f(request) ^^^^^^^^^^^^^^^^ fastapi/routing.py:298: in app solved_result = await solve_dependencies( fastapi/dependencies/utils.py:674: in solve_dependencies ) = await request_body_to_args( # body_params checked above fastapi/dependencies/utils.py:931: in request_body_to_args fields_to_extract = get_cached_model_fields(first_field.type_) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ fastapi/_compat.py:665: in get_cached_model_fields return get_model_fields(model) ^^^^^^^^^^^^^^^^^^^^^^^ fastapi/_compat.py:291: in get_model_fields ModelField(field_info=field_info, name=name) :6: in __init__ ??? fastapi/_compat.py:112: in __post_init__ self._type_adapter: TypeAdapter[Any] = TypeAdapter( /usr/lib/python3.12/site-packages/pydantic/type_adapter.py:244: in __init__ self._init_core_attrs( /usr/lib/python3.12/site-packages/pydantic/type_adapter.py:306: in _init_core_attrs core_schema = schema_generator.generate_schema(self._type) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.12/site-packages/pydantic/_internal/_generate_schema.py:729: in generate_schema schema = self._generate_schema_inner(obj) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.12/site-packages/pydantic/_internal/_generate_schema.py:1007: in _generate_schema_inner return self._annotated_schema(obj) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.12/site-packages/pydantic/_internal/_generate_schema.py:2177: in _annotated_schema schema = self._apply_annotations(source_type, annotations) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.12/site-packages/pydantic/_internal/_generate_schema.py:2227: in _apply_annotations schema = get_inner_schema(source_type) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.12/site-packages/pydantic/_internal/_schema_generation_shared.py:83: in __call__ schema = self._handler(source_type) ^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.12/site-packages/pydantic/_internal/_generate_schema.py:2359: in new_handler schema = self._apply_single_annotation( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = schema = {'type': 'str'} metadata = FieldInfo(annotation=str, required=False, default='nothing', alias='with', alias_priority=2) check_unsupported_field_info_attributes = True def _apply_single_annotation( self, schema: core_schema.CoreSchema, metadata: Any, check_unsupported_field_info_attributes: bool = True, ) -> core_schema.CoreSchema: FieldInfo = import_cached_field_info() if isinstance(metadata, FieldInfo): if ( check_unsupported_field_info_attributes # HACK: we don't want to emit the warning for `FieldInfo` subclasses, because FastAPI does weird manipulations # with its subclasses and their annotations: and type(metadata) is FieldInfo ): for attr, value in (unsupported_attributes := self._get_unsupported_field_info_attributes(metadata)): > warnings.warn( f'The {attr!r} attribute with value {value!r} was provided to the `Field()` function, ' f'which has no effect in the context it was used. {attr!r} is field-specific metadata, ' 'and can only be attached to a model field using `Annotated` metadata or by assignment. ' 'This may have happened because an `Annotated` type alias using the `type` statement was ' 'used, or if the `Field()` function was attached to a single member of a union type.', category=UnsupportedFieldAttributeWarning, ) E pydantic.warnings.UnsupportedFieldAttributeWarning: The 'alias' attribute with value 'with' was provided to the `Field()` function, which has no effect in the context it was used. 'alias' is field-specific metadata, and can only be attached to a model field using `Annotated` metadata or by assignment. This may have happened because an `Annotated` type alias using the `type` statement was used, or if the `Field()` function was attached to a single member of a union type. /usr/lib/python3.12/site-packages/pydantic/_internal/_generate_schema.py:2249: UnsupportedFieldAttributeWarning ________________________________ test_defaults _________________________________ self = TypeAdapter(Annotated[str, FieldInfo(annotation=str, required=False, default='nothing', alias='with', alias_priority=2)]) ns_resolver = force = False, raise_errors = False def _init_core_attrs( self, ns_resolver: _namespace_utils.NsResolver, force: bool, raise_errors: bool = False ) -> bool: """Initialize the core schema, validator, and serializer for the type. Args: ns_resolver: The namespace resolver to use when building the core schema for the adapted type. force: Whether to force the construction of the core schema, validator, and serializer. If `force` is set to `False` and `_defer_build` is `True`, the core schema, validator, and serializer will be set to mocks. raise_errors: Whether to raise errors if initializing any of the core attrs fails. Returns: `True` if the core schema, validator, and serializer were successfully initialized, otherwise `False`. Raises: PydanticUndefinedAnnotation: If `PydanticUndefinedAnnotation` occurs in`__get_pydantic_core_schema__` and `raise_errors=True`. """ if not force and self._defer_build: _mock_val_ser.set_type_adapter_mocks(self) self.pydantic_complete = False return False try: > self.core_schema = _getattr_no_parents(self._type, '__pydantic_core_schema__') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.12/site-packages/pydantic/type_adapter.py:287: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ obj = typing.Annotated[str, FieldInfo(annotation=str, required=False, default='nothing', alias='with', alias_priority=2)] attribute = '__pydantic_core_schema__' def _getattr_no_parents(obj: Any, attribute: str) -> Any: """Returns the attribute value without attempting to look up attributes from parent types.""" if hasattr(obj, '__dict__'): try: return obj.__dict__[attribute] except KeyError: pass slots = getattr(obj, '__slots__', None) if slots is not None and attribute in slots: return getattr(obj, attribute) else: > raise AttributeError(attribute) E AttributeError: __pydantic_core_schema__ /usr/lib/python3.12/site-packages/pydantic/type_adapter.py:56: AttributeError During handling of the above exception, another exception occurred: def test_defaults(): > response = client.post("/form/", data={"username": "Rick", "lastname": "Sanchez"}) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_forms_single_model.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/starlette/testclient.py:552: in post return super().post( /usr/lib/python3.12/site-packages/httpx/_client.py:1144: in post return self.request( /usr/lib/python3.12/site-packages/starlette/testclient.py:451: in request return super().request( /usr/lib/python3.12/site-packages/httpx/_client.py:825: in request return self.send(request, auth=auth, follow_redirects=follow_redirects) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.12/site-packages/httpx/_client.py:914: in send response = self._send_handling_auth( /usr/lib/python3.12/site-packages/httpx/_client.py:942: in _send_handling_auth response = self._send_handling_redirects( /usr/lib/python3.12/site-packages/httpx/_client.py:979: in _send_handling_redirects response = self._send_single_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.12/site-packages/httpx/_client.py:1014: in _send_single_request response = transport.handle_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.12/site-packages/starlette/testclient.py:354: in handle_request raise exc /usr/lib/python3.12/site-packages/starlette/testclient.py:351: in handle_request portal.call(self.app, scope, receive, send) /usr/lib/python3.12/site-packages/anyio/from_thread.py:321: in call return cast(T_Retval, self.start_task_soon(func, *args).result()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.12/concurrent/futures/_base.py:456: in result return self.__get_result() ^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.12/concurrent/futures/_base.py:401: in __get_result raise self._exception /usr/lib/python3.12/site-packages/anyio/from_thread.py:252: in _call_func retval = await retval_or_awaitable ^^^^^^^^^^^^^^^^^^^^^^^^^ fastapi/applications.py:1082: in __call__ await super().__call__(scope, receive, send) /usr/lib/python3.12/site-packages/starlette/applications.py:113: in __call__ await self.middleware_stack(scope, receive, send) /usr/lib/python3.12/site-packages/starlette/middleware/errors.py:186: in __call__ raise exc /usr/lib/python3.12/site-packages/starlette/middleware/errors.py:164: in __call__ await self.app(scope, receive, _send) /usr/lib/python3.12/site-packages/starlette/middleware/exceptions.py:63: in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) /usr/lib/python3.12/site-packages/starlette/_exception_handler.py:53: in wrapped_app raise exc /usr/lib/python3.12/site-packages/starlette/_exception_handler.py:42: in wrapped_app await app(scope, receive, sender) /usr/lib/python3.12/site-packages/starlette/routing.py:716: in __call__ await self.middleware_stack(scope, receive, send) /usr/lib/python3.12/site-packages/starlette/routing.py:736: in app await route.handle(scope, receive, send) /usr/lib/python3.12/site-packages/starlette/routing.py:290: in handle await self.app(scope, receive, send) /usr/lib/python3.12/site-packages/starlette/routing.py:78: in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) /usr/lib/python3.12/site-packages/starlette/_exception_handler.py:53: in wrapped_app raise exc /usr/lib/python3.12/site-packages/starlette/_exception_handler.py:42: in wrapped_app await app(scope, receive, sender) /usr/lib/python3.12/site-packages/starlette/routing.py:75: in app response = await f(request) ^^^^^^^^^^^^^^^^ fastapi/routing.py:298: in app solved_result = await solve_dependencies( fastapi/dependencies/utils.py:674: in solve_dependencies ) = await request_body_to_args( # body_params checked above fastapi/dependencies/utils.py:931: in request_body_to_args fields_to_extract = get_cached_model_fields(first_field.type_) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ fastapi/_compat.py:665: in get_cached_model_fields return get_model_fields(model) ^^^^^^^^^^^^^^^^^^^^^^^ fastapi/_compat.py:291: in get_model_fields ModelField(field_info=field_info, name=name) :6: in __init__ ??? fastapi/_compat.py:112: in __post_init__ self._type_adapter: TypeAdapter[Any] = TypeAdapter( /usr/lib/python3.12/site-packages/pydantic/type_adapter.py:244: in __init__ self._init_core_attrs( /usr/lib/python3.12/site-packages/pydantic/type_adapter.py:306: in _init_core_attrs core_schema = schema_generator.generate_schema(self._type) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.12/site-packages/pydantic/_internal/_generate_schema.py:729: in generate_schema schema = self._generate_schema_inner(obj) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.12/site-packages/pydantic/_internal/_generate_schema.py:1007: in _generate_schema_inner return self._annotated_schema(obj) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.12/site-packages/pydantic/_internal/_generate_schema.py:2177: in _annotated_schema schema = self._apply_annotations(source_type, annotations) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.12/site-packages/pydantic/_internal/_generate_schema.py:2227: in _apply_annotations schema = get_inner_schema(source_type) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.12/site-packages/pydantic/_internal/_schema_generation_shared.py:83: in __call__ schema = self._handler(source_type) ^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.12/site-packages/pydantic/_internal/_generate_schema.py:2359: in new_handler schema = self._apply_single_annotation( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = schema = {'type': 'str'} metadata = FieldInfo(annotation=str, required=False, default='nothing', alias='with', alias_priority=2) check_unsupported_field_info_attributes = True def _apply_single_annotation( self, schema: core_schema.CoreSchema, metadata: Any, check_unsupported_field_info_attributes: bool = True, ) -> core_schema.CoreSchema: FieldInfo = import_cached_field_info() if isinstance(metadata, FieldInfo): if ( check_unsupported_field_info_attributes # HACK: we don't want to emit the warning for `FieldInfo` subclasses, because FastAPI does weird manipulations # with its subclasses and their annotations: and type(metadata) is FieldInfo ): for attr, value in (unsupported_attributes := self._get_unsupported_field_info_attributes(metadata)): > warnings.warn( f'The {attr!r} attribute with value {value!r} was provided to the `Field()` function, ' f'which has no effect in the context it was used. {attr!r} is field-specific metadata, ' 'and can only be attached to a model field using `Annotated` metadata or by assignment. ' 'This may have happened because an `Annotated` type alias using the `type` statement was ' 'used, or if the `Field()` function was attached to a single member of a union type.', category=UnsupportedFieldAttributeWarning, ) E pydantic.warnings.UnsupportedFieldAttributeWarning: The 'alias' attribute with value 'with' was provided to the `Field()` function, which has no effect in the context it was used. 'alias' is field-specific metadata, and can only be attached to a model field using `Annotated` metadata or by assignment. This may have happened because an `Annotated` type alias using the `type` statement was used, or if the `Field()` function was attached to a single member of a union type. /usr/lib/python3.12/site-packages/pydantic/_internal/_generate_schema.py:2249: UnsupportedFieldAttributeWarning ______________________________ test_invalid_data _______________________________ self = TypeAdapter(Annotated[str, FieldInfo(annotation=str, required=False, default='nothing', alias='with', alias_priority=2)]) ns_resolver = force = False, raise_errors = False def _init_core_attrs( self, ns_resolver: _namespace_utils.NsResolver, force: bool, raise_errors: bool = False ) -> bool: """Initialize the core schema, validator, and serializer for the type. Args: ns_resolver: The namespace resolver to use when building the core schema for the adapted type. force: Whether to force the construction of the core schema, validator, and serializer. If `force` is set to `False` and `_defer_build` is `True`, the core schema, validator, and serializer will be set to mocks. raise_errors: Whether to raise errors if initializing any of the core attrs fails. Returns: `True` if the core schema, validator, and serializer were successfully initialized, otherwise `False`. Raises: PydanticUndefinedAnnotation: If `PydanticUndefinedAnnotation` occurs in`__get_pydantic_core_schema__` and `raise_errors=True`. """ if not force and self._defer_build: _mock_val_ser.set_type_adapter_mocks(self) self.pydantic_complete = False return False try: > self.core_schema = _getattr_no_parents(self._type, '__pydantic_core_schema__') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.12/site-packages/pydantic/type_adapter.py:287: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ obj = typing.Annotated[str, FieldInfo(annotation=str, required=False, default='nothing', alias='with', alias_priority=2)] attribute = '__pydantic_core_schema__' def _getattr_no_parents(obj: Any, attribute: str) -> Any: """Returns the attribute value without attempting to look up attributes from parent types.""" if hasattr(obj, '__dict__'): try: return obj.__dict__[attribute] except KeyError: pass slots = getattr(obj, '__slots__', None) if slots is not None and attribute in slots: return getattr(obj, attribute) else: > raise AttributeError(attribute) E AttributeError: __pydantic_core_schema__ /usr/lib/python3.12/site-packages/pydantic/type_adapter.py:56: AttributeError During handling of the above exception, another exception occurred: def test_invalid_data(): > response = client.post( "/form/", data={ "username": "Rick", "lastname": "Sanchez", "age": "seventy", "tags": ["plumbus", "citadel"], }, ) tests/test_forms_single_model.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/starlette/testclient.py:552: in post return super().post( /usr/lib/python3.12/site-packages/httpx/_client.py:1144: in post return self.request( /usr/lib/python3.12/site-packages/starlette/testclient.py:451: in request return super().request( /usr/lib/python3.12/site-packages/httpx/_client.py:825: in request return self.send(request, auth=auth, follow_redirects=follow_redirects) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.12/site-packages/httpx/_client.py:914: in send response = self._send_handling_auth( /usr/lib/python3.12/site-packages/httpx/_client.py:942: in _send_handling_auth response = self._send_handling_redirects( /usr/lib/python3.12/site-packages/httpx/_client.py:979: in _send_handling_redirects response = self._send_single_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.12/site-packages/httpx/_client.py:1014: in _send_single_request response = transport.handle_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.12/site-packages/starlette/testclient.py:354: in handle_request raise exc /usr/lib/python3.12/site-packages/starlette/testclient.py:351: in handle_request portal.call(self.app, scope, receive, send) /usr/lib/python3.12/site-packages/anyio/from_thread.py:321: in call return cast(T_Retval, self.start_task_soon(func, *args).result()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.12/concurrent/futures/_base.py:456: in result return self.__get_result() ^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.12/concurrent/futures/_base.py:401: in __get_result raise self._exception /usr/lib/python3.12/site-packages/anyio/from_thread.py:252: in _call_func retval = await retval_or_awaitable ^^^^^^^^^^^^^^^^^^^^^^^^^ fastapi/applications.py:1082: in __call__ await super().__call__(scope, receive, send) /usr/lib/python3.12/site-packages/starlette/applications.py:113: in __call__ await self.middleware_stack(scope, receive, send) /usr/lib/python3.12/site-packages/starlette/middleware/errors.py:186: in __call__ raise exc /usr/lib/python3.12/site-packages/starlette/middleware/errors.py:164: in __call__ await self.app(scope, receive, _send) /usr/lib/python3.12/site-packages/starlette/middleware/exceptions.py:63: in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) /usr/lib/python3.12/site-packages/starlette/_exception_handler.py:53: in wrapped_app raise exc /usr/lib/python3.12/site-packages/starlette/_exception_handler.py:42: in wrapped_app await app(scope, receive, sender) /usr/lib/python3.12/site-packages/starlette/routing.py:716: in __call__ await self.middleware_stack(scope, receive, send) /usr/lib/python3.12/site-packages/starlette/routing.py:736: in app await route.handle(scope, receive, send) /usr/lib/python3.12/site-packages/starlette/routing.py:290: in handle await self.app(scope, receive, send) /usr/lib/python3.12/site-packages/starlette/routing.py:78: in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) /usr/lib/python3.12/site-packages/starlette/_exception_handler.py:53: in wrapped_app raise exc /usr/lib/python3.12/site-packages/starlette/_exception_handler.py:42: in wrapped_app await app(scope, receive, sender) /usr/lib/python3.12/site-packages/starlette/routing.py:75: in app response = await f(request) ^^^^^^^^^^^^^^^^ fastapi/routing.py:298: in app solved_result = await solve_dependencies( fastapi/dependencies/utils.py:674: in solve_dependencies ) = await request_body_to_args( # body_params checked above fastapi/dependencies/utils.py:931: in request_body_to_args fields_to_extract = get_cached_model_fields(first_field.type_) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ fastapi/_compat.py:665: in get_cached_model_fields return get_model_fields(model) ^^^^^^^^^^^^^^^^^^^^^^^ fastapi/_compat.py:291: in get_model_fields ModelField(field_info=field_info, name=name) :6: in __init__ ??? fastapi/_compat.py:112: in __post_init__ self._type_adapter: TypeAdapter[Any] = TypeAdapter( /usr/lib/python3.12/site-packages/pydantic/type_adapter.py:244: in __init__ self._init_core_attrs( /usr/lib/python3.12/site-packages/pydantic/type_adapter.py:306: in _init_core_attrs core_schema = schema_generator.generate_schema(self._type) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.12/site-packages/pydantic/_internal/_generate_schema.py:729: in generate_schema schema = self._generate_schema_inner(obj) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.12/site-packages/pydantic/_internal/_generate_schema.py:1007: in _generate_schema_inner return self._annotated_schema(obj) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.12/site-packages/pydantic/_internal/_generate_schema.py:2177: in _annotated_schema schema = self._apply_annotations(source_type, annotations) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.12/site-packages/pydantic/_internal/_generate_schema.py:2227: in _apply_annotations schema = get_inner_schema(source_type) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.12/site-packages/pydantic/_internal/_schema_generation_shared.py:83: in __call__ schema = self._handler(source_type) ^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.12/site-packages/pydantic/_internal/_generate_schema.py:2359: in new_handler schema = self._apply_single_annotation( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = schema = {'type': 'str'} metadata = FieldInfo(annotation=str, required=False, default='nothing', alias='with', alias_priority=2) check_unsupported_field_info_attributes = True def _apply_single_annotation( self, schema: core_schema.CoreSchema, metadata: Any, check_unsupported_field_info_attributes: bool = True, ) -> core_schema.CoreSchema: FieldInfo = import_cached_field_info() if isinstance(metadata, FieldInfo): if ( check_unsupported_field_info_attributes # HACK: we don't want to emit the warning for `FieldInfo` subclasses, because FastAPI does weird manipulations # with its subclasses and their annotations: and type(metadata) is FieldInfo ): for attr, value in (unsupported_attributes := self._get_unsupported_field_info_attributes(metadata)): > warnings.warn( f'The {attr!r} attribute with value {value!r} was provided to the `Field()` function, ' f'which has no effect in the context it was used. {attr!r} is field-specific metadata, ' 'and can only be attached to a model field using `Annotated` metadata or by assignment. ' 'This may have happened because an `Annotated` type alias using the `type` statement was ' 'used, or if the `Field()` function was attached to a single member of a union type.', category=UnsupportedFieldAttributeWarning, ) E pydantic.warnings.UnsupportedFieldAttributeWarning: The 'alias' attribute with value 'with' was provided to the `Field()` function, which has no effect in the context it was used. 'alias' is field-specific metadata, and can only be attached to a model field using `Annotated` metadata or by assignment. This may have happened because an `Annotated` type alias using the `type` statement was used, or if the `Field()` function was attached to a single member of a union type. /usr/lib/python3.12/site-packages/pydantic/_internal/_generate_schema.py:2249: UnsupportedFieldAttributeWarning _________________________________ test_no_data _________________________________ self = TypeAdapter(Annotated[str, FieldInfo(annotation=str, required=False, default='nothing', alias='with', alias_priority=2)]) ns_resolver = force = False, raise_errors = False def _init_core_attrs( self, ns_resolver: _namespace_utils.NsResolver, force: bool, raise_errors: bool = False ) -> bool: """Initialize the core schema, validator, and serializer for the type. Args: ns_resolver: The namespace resolver to use when building the core schema for the adapted type. force: Whether to force the construction of the core schema, validator, and serializer. If `force` is set to `False` and `_defer_build` is `True`, the core schema, validator, and serializer will be set to mocks. raise_errors: Whether to raise errors if initializing any of the core attrs fails. Returns: `True` if the core schema, validator, and serializer were successfully initialized, otherwise `False`. Raises: PydanticUndefinedAnnotation: If `PydanticUndefinedAnnotation` occurs in`__get_pydantic_core_schema__` and `raise_errors=True`. """ if not force and self._defer_build: _mock_val_ser.set_type_adapter_mocks(self) self.pydantic_complete = False return False try: > self.core_schema = _getattr_no_parents(self._type, '__pydantic_core_schema__') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.12/site-packages/pydantic/type_adapter.py:287: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ obj = typing.Annotated[str, FieldInfo(annotation=str, required=False, default='nothing', alias='with', alias_priority=2)] attribute = '__pydantic_core_schema__' def _getattr_no_parents(obj: Any, attribute: str) -> Any: """Returns the attribute value without attempting to look up attributes from parent types.""" if hasattr(obj, '__dict__'): try: return obj.__dict__[attribute] except KeyError: pass slots = getattr(obj, '__slots__', None) if slots is not None and attribute in slots: return getattr(obj, attribute) else: > raise AttributeError(attribute) E AttributeError: __pydantic_core_schema__ /usr/lib/python3.12/site-packages/pydantic/type_adapter.py:56: AttributeError During handling of the above exception, another exception occurred: def test_no_data(): > response = client.post("/form/") ^^^^^^^^^^^^^^^^^^^^^ tests/test_forms_single_model.py:98: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/starlette/testclient.py:552: in post return super().post( /usr/lib/python3.12/site-packages/httpx/_client.py:1144: in post return self.request( /usr/lib/python3.12/site-packages/starlette/testclient.py:451: in request return super().request( /usr/lib/python3.12/site-packages/httpx/_client.py:825: in request return self.send(request, auth=auth, follow_redirects=follow_redirects) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.12/site-packages/httpx/_client.py:914: in send response = self._send_handling_auth( /usr/lib/python3.12/site-packages/httpx/_client.py:942: in _send_handling_auth response = self._send_handling_redirects( /usr/lib/python3.12/site-packages/httpx/_client.py:979: in _send_handling_redirects response = self._send_single_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.12/site-packages/httpx/_client.py:1014: in _send_single_request response = transport.handle_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.12/site-packages/starlette/testclient.py:354: in handle_request raise exc /usr/lib/python3.12/site-packages/starlette/testclient.py:351: in handle_request portal.call(self.app, scope, receive, send) /usr/lib/python3.12/site-packages/anyio/from_thread.py:321: in call return cast(T_Retval, self.start_task_soon(func, *args).result()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.12/concurrent/futures/_base.py:456: in result return self.__get_result() ^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.12/concurrent/futures/_base.py:401: in __get_result raise self._exception /usr/lib/python3.12/site-packages/anyio/from_thread.py:252: in _call_func retval = await retval_or_awaitable ^^^^^^^^^^^^^^^^^^^^^^^^^ fastapi/applications.py:1082: in __call__ await super().__call__(scope, receive, send) /usr/lib/python3.12/site-packages/starlette/applications.py:113: in __call__ await self.middleware_stack(scope, receive, send) /usr/lib/python3.12/site-packages/starlette/middleware/errors.py:186: in __call__ raise exc /usr/lib/python3.12/site-packages/starlette/middleware/errors.py:164: in __call__ await self.app(scope, receive, _send) /usr/lib/python3.12/site-packages/starlette/middleware/exceptions.py:63: in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) /usr/lib/python3.12/site-packages/starlette/_exception_handler.py:53: in wrapped_app raise exc /usr/lib/python3.12/site-packages/starlette/_exception_handler.py:42: in wrapped_app await app(scope, receive, sender) /usr/lib/python3.12/site-packages/starlette/routing.py:716: in __call__ await self.middleware_stack(scope, receive, send) /usr/lib/python3.12/site-packages/starlette/routing.py:736: in app await route.handle(scope, receive, send) /usr/lib/python3.12/site-packages/starlette/routing.py:290: in handle await self.app(scope, receive, send) /usr/lib/python3.12/site-packages/starlette/routing.py:78: in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) /usr/lib/python3.12/site-packages/starlette/_exception_handler.py:53: in wrapped_app raise exc /usr/lib/python3.12/site-packages/starlette/_exception_handler.py:42: in wrapped_app await app(scope, receive, sender) /usr/lib/python3.12/site-packages/starlette/routing.py:75: in app response = await f(request) ^^^^^^^^^^^^^^^^ fastapi/routing.py:298: in app solved_result = await solve_dependencies( fastapi/dependencies/utils.py:674: in solve_dependencies ) = await request_body_to_args( # body_params checked above fastapi/dependencies/utils.py:931: in request_body_to_args fields_to_extract = get_cached_model_fields(first_field.type_) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ fastapi/_compat.py:665: in get_cached_model_fields return get_model_fields(model) ^^^^^^^^^^^^^^^^^^^^^^^ fastapi/_compat.py:291: in get_model_fields ModelField(field_info=field_info, name=name) :6: in __init__ ??? fastapi/_compat.py:112: in __post_init__ self._type_adapter: TypeAdapter[Any] = TypeAdapter( /usr/lib/python3.12/site-packages/pydantic/type_adapter.py:244: in __init__ self._init_core_attrs( /usr/lib/python3.12/site-packages/pydantic/type_adapter.py:306: in _init_core_attrs core_schema = schema_generator.generate_schema(self._type) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.12/site-packages/pydantic/_internal/_generate_schema.py:729: in generate_schema schema = self._generate_schema_inner(obj) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.12/site-packages/pydantic/_internal/_generate_schema.py:1007: in _generate_schema_inner return self._annotated_schema(obj) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.12/site-packages/pydantic/_internal/_generate_schema.py:2177: in _annotated_schema schema = self._apply_annotations(source_type, annotations) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.12/site-packages/pydantic/_internal/_generate_schema.py:2227: in _apply_annotations schema = get_inner_schema(source_type) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.12/site-packages/pydantic/_internal/_schema_generation_shared.py:83: in __call__ schema = self._handler(source_type) ^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.12/site-packages/pydantic/_internal/_generate_schema.py:2359: in new_handler schema = self._apply_single_annotation( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = schema = {'type': 'str'} metadata = FieldInfo(annotation=str, required=False, default='nothing', alias='with', alias_priority=2) check_unsupported_field_info_attributes = True def _apply_single_annotation( self, schema: core_schema.CoreSchema, metadata: Any, check_unsupported_field_info_attributes: bool = True, ) -> core_schema.CoreSchema: FieldInfo = import_cached_field_info() if isinstance(metadata, FieldInfo): if ( check_unsupported_field_info_attributes # HACK: we don't want to emit the warning for `FieldInfo` subclasses, because FastAPI does weird manipulations # with its subclasses and their annotations: and type(metadata) is FieldInfo ): for attr, value in (unsupported_attributes := self._get_unsupported_field_info_attributes(metadata)): > warnings.warn( f'The {attr!r} attribute with value {value!r} was provided to the `Field()` function, ' f'which has no effect in the context it was used. {attr!r} is field-specific metadata, ' 'and can only be attached to a model field using `Annotated` metadata or by assignment. ' 'This may have happened because an `Annotated` type alias using the `type` statement was ' 'used, or if the `Field()` function was attached to a single member of a union type.', category=UnsupportedFieldAttributeWarning, ) E pydantic.warnings.UnsupportedFieldAttributeWarning: The 'alias' attribute with value 'with' was provided to the `Field()` function, which has no effect in the context it was used. 'alias' is field-specific metadata, and can only be attached to a model field using `Annotated` metadata or by assignment. This may have happened because an `Annotated` type alias using the `type` statement was used, or if the `Field()` function was attached to a single member of a union type. /usr/lib/python3.12/site-packages/pydantic/_internal/_generate_schema.py:2249: UnsupportedFieldAttributeWarning _____________________________ test_openapi_schema ______________________________ def test_openapi_schema(): response = client.get("/openapi.json") assert response.status_code == 200, response.text > assert response.json() == { "openapi": "3.1.0", "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/": { "post": { "responses": { "200": { "description": "Successful Response", "content": {"application/json": {"schema": {}}}, }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, }, }, "summary": "Save Item No Body", "operationId": "save_item_no_body_items__post", "requestBody": { "content": { "application/json": { "schema": { "title": "Item", "type": "array", "items": {"$ref": "#/components/schemas/Item"}, } } }, "required": True, }, } } }, "components": { "schemas": { "Item": { "title": "Item", "required": ["name", "age"], "type": "object", "properties": { "name": {"title": "Name", "type": "string"}, "age": IsDict( { "title": "Age", "anyOf": [ {"exclusiveMinimum": 0.0, "type": "number"}, {"type": "string"}, ], } ) | IsDict( # TODO: remove when deprecating Pydantic v1 { "title": "Age", "exclusiveMinimum": 0.0, "type": "number", } ), }, }, "ValidationError": { "title": "ValidationError", "required": ["loc", "msg", "type"], "type": "object", "properties": { "loc": { "title": "Location", "type": "array", "items": { "anyOf": [{"type": "string"}, {"type": "integer"}] }, }, "msg": {"title": "Message", "type": "string"}, "type": {"title": "Error Type", "type": "string"}, }, }, "HTTPValidationError": { "title": "HTTPValidationError", "type": "object", "properties": { "detail": { "title": "Detail", "type": "array", "items": {"$ref": "#/components/schemas/ValidationError"}, } }, }, } }, } E AssertionError: assert {'components'...m No Body'}}}} == {'components'...m No Body'}}}} E E Omitting 3 identical items, use -vv to show E Differing items: E {'components': {'schemas': {'HTTPValidationError': {'properties': {'detail': {'items': {...}, 'title': 'Detail', 'type... 'Error Type', 'type': 'string'}}, 'required': ['loc', 'msg', 'type'], 'title': 'ValidationError', 'type': 'object'}}}} != {'components': {'schemas': {'HTTPValidationError': {'properties': {'detail': {'items': {...}, 'title': 'Detail', 'type... 'Error Type', 'type': 'string'}}, 'required': ['loc', 'msg', 'type'], 'title': 'ValidationError', 'type': 'object'}}}} E Use -v to get more diff tests/test_multi_body_errors.py:136: AssertionError _________________ test_header_param_model_invalid[tutorial001] _________________ client = def test_header_param_model_invalid(client: TestClient): response = client.get("/items/") assert response.status_code == 422 > assert response.json() == snapshot( { "detail": [ IsDict( { "type": "missing", "loc": ["header", "save_data"], "msg": "Field required", "input": { "x_tag": [], "host": "testserver", "accept": "*/*", "accept-encoding": "gzip, deflate", "connection": "keep-alive", "user-agent": "testclient", }, } ) | IsDict( # TODO: remove when deprecating Pydantic v1 { "type": "value_error.missing", "loc": ["header", "save_data"], "msg": "field required", } ) ] } ) E AssertionError: assert {'detail': [{...: 'missing'}]} == {'detail': [I...d required')]} E E Differing items: E {'detail': [{'input': {'accept': '*/*', 'accept-encoding': 'gzip, deflate, br', 'connection': 'keep-alive', 'host': 'testserver', ...}, 'loc': ['header', 'save_data'], 'msg': 'Field required', 'type': 'missing'}]} != {'detail': [IsDict(type='missing', loc=['header', 'save_data'], msg='Field required', input={'x_tag': [], 'host': 'tes... 'user-agent': 'testclient'}) | IsDict(type='value_error.missing', loc=['header', 'save_data'], msg='field required')]} E Use -v to get more diff tests/test_tutorial/test_header_param_models/test_tutorial001.py:65: AssertionError ______________ test_header_param_model_no_underscore[tutorial003] ______________ client = def test_header_param_model_no_underscore(client: TestClient): response = client.get( "/items/", headers=[ ("save-data", "true"), ("if-modified-since", "yesterday"), ("traceparent", "123"), ("x-tag", "one"), ("x-tag", "two"), ], ) assert response.status_code == 422 > assert response.json() == snapshot( { "detail": [ IsDict( { "type": "missing", "loc": ["header", "save_data"], "msg": "Field required", "input": { "host": "testserver", "traceparent": "123", "x_tag": [], "accept": "*/*", "accept-encoding": "gzip, deflate", "connection": "keep-alive", "user-agent": "testclient", "save-data": "true", "if-modified-since": "yesterday", "x-tag": "two", }, } ) | IsDict( # TODO: remove when deprecating Pydantic v1 { "type": "value_error.missing", "loc": ["header", "save_data"], "msg": "field required", } ) ] } ) E AssertionError: assert {'detail': [{...: 'missing'}]} == {'detail': [I...d required')]} E E Differing items: E {'detail': [{'input': {'accept': '*/*', 'accept-encoding': 'gzip, deflate, br', 'connection': 'keep-alive', 'host': 'testserver', ...}, 'loc': ['header', 'save_data'], 'msg': 'Field required', 'type': 'missing'}]} != {'detail': [IsDict(type='missing', loc=['header', 'save_data'], msg='Field required', input={'host': 'testserver', 'tr...'yesterday', 'x-tag': 'two'}) | IsDict(type='value_error.missing', loc=['header', 'save_data'], msg='field required')]} E Use -v to get more diff tests/test_tutorial/test_header_param_models/test_tutorial003.py:62: AssertionError _________________ test_header_param_model_invalid[tutorial003] _________________ client = def test_header_param_model_invalid(client: TestClient): response = client.get("/items/") assert response.status_code == 422 > assert response.json() == snapshot( { "detail": [ IsDict( { "type": "missing", "loc": ["header", "save_data"], "msg": "Field required", "input": { "x_tag": [], "host": "testserver", "accept": "*/*", "accept-encoding": "gzip, deflate", "connection": "keep-alive", "user-agent": "testclient", }, } ) | IsDict( # TODO: remove when deprecating Pydantic v1 { "type": "value_error.missing", "loc": ["header", "save_data"], "msg": "field required", } ) ] } ) E AssertionError: assert {'detail': [{...: 'missing'}]} == {'detail': [I...d required')]} E E Differing items: E {'detail': [{'input': {'accept': '*/*', 'accept-encoding': 'gzip, deflate, br', 'connection': 'keep-alive', 'host': 'testserver', ...}, 'loc': ['header', 'save_data'], 'msg': 'Field required', 'type': 'missing'}]} != {'detail': [IsDict(type='missing', loc=['header', 'save_data'], msg='Field required', input={'x_tag': [], 'host': 'tes... 'user-agent': 'testclient'}) | IsDict(type='value_error.missing', loc=['header', 'save_data'], msg='field required')]} E Use -v to get more diff tests/test_tutorial/test_header_param_models/test_tutorial003.py:112: AssertionError =============================== inline snapshot ================================ Error: one snapshot has incorrect values (--inline-snapshot=fix) Info: one snapshot changed its representation (--inline-snapshot=update) You can also use --inline-snapshot=review to approve the changes interactively =========================== short test summary info ============================ FAILED tests/test_forms_single_model.py::test_send_all_data - pydantic.warnin... FAILED tests/test_forms_single_model.py::test_defaults - pydantic.warnings.Un... FAILED tests/test_forms_single_model.py::test_invalid_data - pydantic.warning... FAILED tests/test_forms_single_model.py::test_no_data - pydantic.warnings.Uns... FAILED tests/test_multi_body_errors.py::test_openapi_schema - AssertionError:... FAILED tests/test_tutorial/test_header_param_models/test_tutorial001.py::test_header_param_model_invalid[tutorial001] FAILED tests/test_tutorial/test_header_param_models/test_tutorial003.py::test_header_param_model_no_underscore[tutorial003] FAILED tests/test_tutorial/test_header_param_models/test_tutorial003.py::test_header_param_model_invalid[tutorial003] ERROR tests/test_tutorial/test_header_param_models/test_tutorial001.py::test_header_param_model_invalid[tutorial001] ERROR tests/test_tutorial/test_header_param_models/test_tutorial003.py::test_header_param_model_no_underscore[tutorial003] ERROR tests/test_tutorial/test_header_param_models/test_tutorial003.py::test_header_param_model_invalid[tutorial003] ===== 8 failed, 2326 passed, 131 skipped, 2 deselected, 3 errors in 34.45s ===== >>> ERROR: py3-fastapi: check failed >>> py3-fastapi: Uninstalling dependencies... ( 1/189) Purging .makedepends-py3-fastapi (20251109.132008) ( 2/189) Purging py3-starlette-pyc (0.47.2-r0) ( 3/189) Purging py3-starlette (0.47.2-r0) ( 4/189) Purging py3-gpep517-pyc (19-r1) ( 5/189) Purging py3-gpep517 (19-r1) ( 6/189) Purging py3-installer-pyc (0.7.0-r2) ( 7/189) Purging py3-installer (0.7.0-r2) ( 8/189) Purging py3-pdm-backend-pyc (2.4.4-r0) ( 9/189) Purging py3-pdm-backend (2.4.4-r0) ( 10/189) Purging py3-cerberus-pyc (1.3.7-r0) ( 11/189) Purging py3-cerberus (1.3.7-r0) ( 12/189) Purging py3-setuptools-pyc (80.9.0-r2) ( 13/189) Purging py3-setuptools (80.9.0-r2) ( 14/189) Purging py3-editables-pyc (0.5-r2) ( 15/189) Purging py3-editables (0.5-r2) ( 16/189) Purging py3-license-expression-pyc (30.4.4-r0) ( 17/189) Purging py3-license-expression (30.4.4-r0) ( 18/189) Purging py3-boolean.py-pyc (5.0-r0) ( 19/189) Purging py3-boolean.py (5.0-r0) ( 20/189) Purging py3-pyproject-metadata-pyc (0.9.1-r0) ( 21/189) Purging py3-pyproject-metadata (0.9.1-r0) ( 22/189) Purging py3-tomli-w-pyc (1.2.0-r0) ( 23/189) Purging py3-tomli-w (1.2.0-r0) ( 24/189) Purging py3-validate-pyproject-pyc (0.24.1-r0) ( 25/189) Purging py3-validate-pyproject (0.24.1-r0) ( 26/189) Purging py3-fastjsonschema-pyc (2.21.2-r0) ( 27/189) Purging py3-fastjsonschema (2.21.2-r0) ( 28/189) Purging py3-aiosqlite-pyc (0.21.0-r0) ( 29/189) Purging py3-aiosqlite (0.21.0-r0) ( 30/189) Purging py3-databases-pyc (0.8.0-r2) ( 31/189) Purging py3-databases (0.8.0-r2) ( 32/189) Purging py3-dirty-equals-pyc (0.8.0-r0) ( 33/189) Purging py3-dirty-equals (0.8.0-r0) ( 34/189) Purging py3-tz-pyc (2025.2-r0) ( 35/189) Purging py3-tz (2025.2-r0) ( 36/189) Purging py3-email-validator-pyc (2.2.0-r0) ( 37/189) Purging py3-email-validator (2.2.0-r0) ( 38/189) Purging py3-flask-pyc (3.1.2-r0) ( 39/189) Purging py3-flask (3.1.2-r0) ( 40/189) Purging py3-asgiref-pyc (3.9.1-r0) ( 41/189) Purging py3-asgiref (3.9.1-r0) ( 42/189) Purging py3-blinker-pyc (1.9.0-r0) ( 43/189) Purging py3-blinker (1.9.0-r0) ( 44/189) Purging py3-itsdangerous-pyc (2.2.0-r0) ( 45/189) Purging py3-itsdangerous (2.2.0-r0) ( 46/189) Purging py3-jinja2-pyc (3.1.6-r0) ( 47/189) Purging py3-jinja2 (3.1.6-r0) ( 48/189) Purging py3-werkzeug-pyc (3.1.3-r0) ( 49/189) Purging py3-werkzeug (3.1.3-r0) ( 50/189) Purging py3-markupsafe-pyc (3.0.2-r0) ( 51/189) Purging py3-markupsafe (3.0.2-r0) ( 52/189) Purging py3-httpx-pyc (0.28.1-r0) ( 53/189) Purging py3-httpx (0.28.1-r0) ( 54/189) Purging py3-httpcore-pyc (1.0.9-r0) ( 55/189) Purging py3-httpcore (1.0.9-r0) ( 56/189) Purging py3-anyio-pyc (4.11.0-r0) ( 57/189) Purging py3-anyio (4.11.0-r0) ( 58/189) Purging py3-certifi-pyc (2025.10.5-r0) ( 59/189) Purging py3-certifi (2025.10.5-r0) ( 60/189) Purging py3-h11-pyc (0.16.0-r0) ( 61/189) Purging py3-h11 (0.16.0-r0) ( 62/189) Purging py3-inline-snapshot-pyc (0.14.1-r0) ( 63/189) Purging py3-inline-snapshot (0.14.1-r0) ( 64/189) Purging black-pyc (25.9.0-r0) ( 65/189) Purging black (25.9.0-r0) ( 66/189) Purging py3-aiohttp-pyc (3.12.15-r0) ( 67/189) Purging py3-aiohttp (3.12.15-r0) ( 68/189) Purging py3-aiohappyeyeballs-pyc (2.6.1-r0) ( 69/189) Purging py3-aiohappyeyeballs (2.6.1-r0) ( 70/189) Purging py3-aiosignal-pyc (1.4.0-r0) ( 71/189) Purging py3-aiosignal (1.4.0-r0) ( 72/189) Purging py3-frozenlist-pyc (1.6.2-r0) ( 73/189) Purging py3-frozenlist (1.6.2-r0) ( 74/189) Purging py3-async-timeout-pyc (4.0.3-r2) ( 75/189) Purging py3-async-timeout (4.0.3-r2) ( 76/189) Purging py3-brotli-pyc (1.1.0-r2) ( 77/189) Purging py3-brotli (1.1.0-r2) ( 78/189) Purging py3-charset-normalizer-pyc (3.4.4-r0) ( 79/189) Purging py3-charset-normalizer (3.4.4-r0) ( 80/189) Purging py3-idna-ssl-pyc (1.1.0-r9) ( 81/189) Purging py3-idna-ssl (1.1.0-r9) ( 82/189) Purging py3-yarl-pyc (1.20.0-r1) ( 83/189) Purging py3-yarl (1.20.0-r1) ( 84/189) Purging py3-multidict-pyc (6.7.0-r0) ( 85/189) Purging py3-multidict (6.7.0-r0) ( 86/189) Purging py3-propcache-pyc (0.4.0-r0) ( 87/189) Purging py3-propcache (0.4.0-r0) ( 88/189) Purging py3-expandvars-pyc (1.1.2-r0) ( 89/189) Purging py3-expandvars (1.1.2-r0) ( 90/189) Purging py3-mypy-extensions-pyc (1.1.0-r0) ( 91/189) Purging py3-mypy-extensions (1.1.0-r0) ( 92/189) Purging py3-pathspec-pyc (0.12.1-r2) ( 93/189) Purging py3-pathspec (0.12.1-r2) ( 94/189) Purging py3-platformdirs-pyc (4.5.0-r0) ( 95/189) Purging py3-platformdirs (4.5.0-r0) ( 96/189) Purging py3-pytokens-pyc (0.2.0-r0) ( 97/189) Purging py3-pytokens (0.2.0-r0) ( 98/189) Purging py3-asttokens-pyc (3.0.0-r0) ( 99/189) Purging py3-asttokens (3.0.0-r0) (100/189) Purging py3-click-pyc (8.1.8-r1) (101/189) Purging py3-click (8.1.8-r1) (102/189) Purging py3-executing-pyc (2.2.1-r0) (103/189) Purging py3-executing (2.2.1-r0) (104/189) Purging py3-rich-pyc (14.2.0-r0) (105/189) Purging py3-rich (14.2.0-r0) (106/189) Purging py3-markdown-it-py-pyc (3.0.0-r1) (107/189) Purging py3-markdown-it-py (3.0.0-r1) (108/189) Purging py3-mdurl-pyc (0.1.2-r3) (109/189) Purging py3-mdurl (0.1.2-r3) (110/189) Purging py3-tomli-pyc (2.2.1-r0) (111/189) Purging py3-tomli (2.2.1-r0) (112/189) Purging py3-jwt-pyc (2.10.1-r0) (113/189) Purging py3-jwt (2.10.1-r0) (114/189) Purging py3-orjson-pyc (3.10.18-r0) (115/189) Purging py3-orjson (3.10.18-r0) (116/189) Purging py3-passlib-pyc (1.7.4-r7) (117/189) Purging py3-passlib (1.7.4-r7) (118/189) Purging py3-pytest-pyc (8.4.2-r1) (119/189) Purging py3-pytest (8.4.2-r1) (120/189) Purging py3-iniconfig-pyc (2.3.0-r0) (121/189) Purging py3-iniconfig (2.3.0-r0) (122/189) Purging py3-packaging-pyc (25.0-r0) (123/189) Purging py3-packaging (25.0-r0) (124/189) Purging py3-parsing-pyc (3.2.3-r0) (125/189) Purging py3-parsing (3.2.3-r0) (126/189) Purging py3-pluggy-pyc (1.6.0-r0) (127/189) Purging py3-pluggy (1.6.0-r0) (128/189) Purging py3-py-pyc (1.11.0-r4) (129/189) Purging py3-py (1.11.0-r4) (130/189) Purging py3-pygments-pyc (2.19.2-r0) (131/189) Purging py3-pygments (2.19.2-r0) (132/189) Purging py3-pydantic-settings-pyc (2.11.0-r0) (133/189) Purging py3-pydantic-settings (2.11.0-r0) (134/189) Purging py3-dotenv-pyc (1.0.1-r1) (135/189) Purging py3-dotenv (1.0.1-r1) (136/189) Purging py3-pydantic-pyc (2.12.3-r0) (137/189) Purging py3-pydantic (2.12.3-r0) (138/189) Purging py3-annotated-types-pyc (0.7.0-r0) (139/189) Purging py3-annotated-types (0.7.0-r0) (140/189) Purging py3-pydantic-core-pyc (2.41.4-r0) (141/189) Purging py3-pydantic-core (2.41.4-r0) (142/189) Purging py3-typing-inspection-pyc (0.4.2-r0) (143/189) Purging py3-typing-inspection (0.4.2-r0) (144/189) Purging py3-python-jose-pyc (3.5.0-r0) (145/189) Purging py3-python-jose (3.5.0-r0) (146/189) Purging py3-python-multipart-pyc (0.0.20-r0) (147/189) Purging py3-python-multipart (0.0.20-r0) (148/189) Purging py3-sqlalchemy-pyc (2.0.44-r0) (149/189) Purging py3-sqlalchemy (2.0.44-r0) (150/189) Purging py3-greenlet-pyc (3.2.4-r0) (151/189) Purging py3-greenlet (3.2.4-r0) (152/189) Purging py3-trio-pyc (0.32.0-r0) (153/189) Purging py3-trio (0.32.0-r0) (154/189) Purging py3-idna-pyc (3.10-r0) (155/189) Purging py3-idna (3.10-r0) (156/189) Purging py3-openssl-pyc (25.3.0-r0) (157/189) Purging py3-openssl (25.3.0-r0) (158/189) Purging py3-cryptography-pyc (46.0.2-r0) (159/189) Purging py3-cryptography (46.0.2-r0) (160/189) Purging py3-cffi-pyc (1.17.1-r1) (161/189) Purging py3-cffi (1.17.1-r1) (162/189) Purging py3-cparser-pyc (2.22-r1) (163/189) Purging py3-cparser (2.22-r1) (164/189) Purging py3-typing-extensions-pyc (4.15.0-r0) (165/189) Purging py3-typing-extensions (4.15.0-r0) (166/189) Purging py3-outcome-pyc (1.3.0-r1) (167/189) Purging py3-outcome (1.3.0-r1) (168/189) Purging py3-async_generator-pyc (1.10-r6) (169/189) Purging py3-async_generator (1.10-r6) (170/189) Purging py3-attrs-pyc (25.3.0-r0) (171/189) Purging py3-attrs (25.3.0-r0) (172/189) Purging py3-sniffio-pyc (1.3.1-r1) (173/189) Purging py3-sniffio (1.3.1-r1) (174/189) Purging py3-curio-pyc (1.6-r2) (175/189) Purging py3-curio (1.6-r2) (176/189) Purging py3-sortedcontainers-pyc (2.4.0-r5) (177/189) Purging py3-sortedcontainers (2.4.0-r5) (178/189) Purging py3-ujson (5.11.0-r0) (179/189) Purging py3-yaml-pyc (6.0.3-r0) (180/189) Purging py3-yaml (6.0.3-r0) (181/189) Purging python3-pyc (3.12.12-r0) (182/189) Purging python3-pycache-pyc0 (3.12.12-r0) (183/189) Purging pyc (3.12.12-r0) (184/189) Purging python3 (3.12.12-r0) (185/189) Purging gdbm (1.26-r0) (186/189) Purging libpanelw (6.5_p20251010-r0) (187/189) Purging mpdecimal (4.0.1-r0) (188/189) Purging xz-libs (5.8.1-r0) (189/189) Purging yaml (0.2.5-r2) busybox-1.37.0-r24.trigger: Executing script... OK: 382 MiB in 151 packages