Package: src:python-mcp Version: 1.28.1-1 Severity: serious Tags: ftbfs forky sid
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/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:python-mcp, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] ==================================== ERRORS ==================================== _____________ ERROR collecting tests/issues/test_355_type_error.py _____________ tests/issues/test_355_type_error.py:22: in <module> mcp = FastMCP("My App") ^^^^^^^^^^^^^^^^^ mcp/server/fastmcp/server.py:185: in __init__ self.settings = Settings( /usr/lib/python3/dist-packages/pydantic_settings/main.py:229: in __init__ else __pydantic_self__.__class__._settings_init_sources( /usr/lib/python3/dist-packages/pydantic_settings/main.py:397: in _settings_init_sources default_settings = DefaultSettingsSource( /usr/lib/python3/dist-packages/pydantic_settings/sources/base.py:287: in __init__ _warn_if_field_info_incomplete(field_info, field_name, self._init_state) /usr/lib/python3/dist-packages/pydantic_settings/sources/utils.py:47: in _warn_if_field_info_incomplete warnings.warn( E pydantic_settings.exceptions.IncompleteFieldDefinitionWarning: Field 'lifespan' has an incomplete definition: its annotation contains an unresolved forward reference, so settings sources may fail to correctly resolve its value. Call `model_rebuild()` on the model where the field is defined, once all the referenced types are defined. _____________ ERROR collecting tests/issues/test_355_type_error.py _____________ tests/issues/test_355_type_error.py:22: in <module> mcp = FastMCP("My App") ^^^^^^^^^^^^^^^^^ mcp/server/fastmcp/server.py:185: in __init__ self.settings = Settings( /usr/lib/python3/dist-packages/pydantic_settings/main.py:229: in __init__ else __pydantic_self__.__class__._settings_init_sources( /usr/lib/python3/dist-packages/pydantic_settings/main.py:397: in _settings_init_sources default_settings = DefaultSettingsSource( /usr/lib/python3/dist-packages/pydantic_settings/sources/base.py:287: in __init__ _warn_if_field_info_incomplete(field_info, field_name, self._init_state) /usr/lib/python3/dist-packages/pydantic_settings/sources/utils.py:47: in _warn_if_field_info_incomplete warnings.warn( E pydantic_settings.exceptions.IncompleteFieldDefinitionWarning: Field 'lifespan' has an incomplete definition: its annotation contains an unresolved forward reference, so settings sources may fail to correctly resolve its value. Call `model_rebuild()` on the model where the field is defined, once all the referenced types are defined. _ ERROR at setup of test_list_methods_cursor_parameter[list_tools-tools/list] __ [gw0] linux -- Python 3.14.7 /usr/bin/python3.14 @pytest.fixture async def full_featured_server(): """Create a server with tools, resources, prompts, and templates.""" > server = FastMCP("test") ^^^^^^^^^^^^^^^ tests/client/test_list_methods_cursor.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

