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/202606/
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:napari-plugin-manager, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --buildsystem=pybuild --test-pytest
dh_auto_clean -O--buildsystem=pybuild -O--test-pytest
dh_autoreconf_clean -O--buildsystem=pybuild -O--test-pytest
dh_clean -O--buildsystem=pybuild -O--test-pytest
debian/rules binary
dh binary --buildsystem=pybuild --test-pytest
dh_update_autotools_config -O--buildsystem=pybuild -O--test-pytest
dh_autoreconf -O--buildsystem=pybuild -O--test-pytest
dh_auto_configure -O--buildsystem=pybuild -O--test-pytest
dh_auto_build -O--buildsystem=pybuild -O--test-pytest
I: pybuild plugin_pyproject:142: Building wheel for python3.14 with "build" module
I: pybuild base:385: python3.14 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14
* Building wheel...
running bdist_wheel
[... snipped ...]
'summary': '',
'Home-page': '',
'author': '',
'license': '',
}
return meta
class OldPluginManagerMock:
def __init__(self):
self.plugins = old_plugins.plugins
self.enabled = old_plugins.enabled
def iter_available(self):
return self.plugins
def discover(self):
return None
def is_blocked(self, plugin):
return self.plugins[0][1]
def set_blocked(self, plugin, blocked):
self.enabled[0] = not blocked
return
monkeypatch.setattr(
qt_plugin_dialog,
'iter_napari_plugin_info',
_iter_napari_pypi_plugin_info,
)
monkeypatch.setattr(
base_qt_plugin_dialog, 'RestartWarningDialog', MagicMock()
)
# This is patching `napari.utils.misc.running_as_constructor_app` function
# to mock a normal napari install.
monkeypatch.setattr(
qt_plugin_dialog, 'running_as_constructor_app', lambda: request.param
)
_tests/test_qt_plugin_dialog.py:172: AttributeError
_______ ERROR at setup of test_filter_available_plugins[no-constructor] ________
request = <SubRequest 'plugin_dialog' for <Function test_filter_available_plugins[no-constructor]>>
qtbot = <pytestqt.qtbot.QtBot object at 0x7f8cb2d46250>
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f8cb2c41650>
mock_pm = <npe2._pytest_plugin.TestPluginManager object at 0x7f8cb2c54e90>
plugins = <_tests.test_qt_plugin_dialog.PluginsMock object at 0x7f8cb2c55480>
old_plugins = <_tests.test_qt_plugin_dialog.OldPluginsMock object at 0x7f8cb2c555b0>
@pytest.fixture(params=[True, False], ids=['constructor', 'no-constructor'])
def plugin_dialog(
request,
qtbot,
monkeypatch,
mock_pm, # noqa
plugins,
old_plugins,
):
"""Fixture that provides a plugin dialog for a normal napari install."""
class PluginManagerMock:
def instance(self):
return PluginManagerInstanceMock(plugins)
class PluginManagerInstanceMock:
def __init__(self, plugins):
self.plugins = plugins.plugins
def __iter__(self):
yield from self.plugins
def iter_manifests(self):
yield from [mock_pm.get_manifest('my-plugin')]
def is_disabled(self, name):
return False
def discover(self, include_npe1=True):
return ['plugin']
def enable(self, plugin):
self.plugins[plugin] = True
return
def disable(self, plugin):
self.plugins[plugin] = False
return
def mock_metadata(name):
meta = {
'version': '0.1.0',
'summary': '',
'Home-page': '',
'author': '',
'license': '',
}
return meta
class OldPluginManagerMock:
def __init__(self):
self.plugins = old_plugins.plugins
self.enabled = old_plugins.enabled
def iter_available(self):
return self.plugins
def discover(self):
return None
def is_blocked(self, plugin):
return self.plugins[0][1]
def set_blocked(self, plugin, blocked):
self.enabled[0] = not blocked
return
monkeypatch.setattr(
qt_plugin_dialog,
'iter_napari_plugin_info',
_iter_napari_pypi_plugin_info,
)
monkeypatch.setattr(
base_qt_plugin_dialog, 'RestartWarningDialog', MagicMock()
)
# This is patching `napari.utils.misc.running_as_constructor_app` function
# to mock a normal napari install.
monkeypatch.setattr(
qt_plugin_dialog, 'running_as_constructor_app', lambda: request.param
)
_tests/test_qt_plugin_dialog.py:172: AttributeError
_tests/test_qt_plugin_dialog.py:172: AttributeError
=============================== warnings summary ===============================
_tests/test_installer_process.py:82
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/_tests/test_installer_process.py:82: PytestUnknownMarkWarning: Unknown pytest.mark.needs_network - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
@pytest.mark.needs_network
_tests/test_installer_process.py:403
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/_tests/test_installer_process.py:403: PytestUnknownMarkWarning: Unknown pytest.mark.needs_network - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
@pytest.mark.needs_network
../../../../../../usr/lib/python3/dist-packages/pydantic/_internal/_generate_schema.py:325: 16 warnings
/usr/lib/python3/dist-packages/pydantic/_internal/_generate_schema.py:325: PydanticDeprecatedSince20: `json_encoders` is deprecated. See https://docs.pydantic.dev/2.13/concepts/serialization/#custom-serializers for alternatives. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.13/migration/
warnings.warn(