--- Begin Message ---
Package: src:napari-console
Version: 0.1.4-1
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202512/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:napari-console, 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:131: Building wheel for python3.14 with "build"
module
I: pybuild base:317: python3.14 -m build --skip-dependency-check --no-isolation
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14
* Building wheel...
/usr/lib/python3/dist-packages/npe2/_pydantic_compat.py:3: UserWarning: Core
Pydantic V1 functionality isn't compatible with Python 3.14 or greater.
from pydantic.v1 import (
Traceback (most recent call last):
File
"/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py",
line 389, in <module>
main()
~~~~^^
File
"/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py",
line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File
"/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py",
line 280, in build_wheel
return _build_backend().build_wheel(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
wheel_directory, config_settings, metadata_directory
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 435, in
build_wheel
return _build(['bdist_wheel'])
File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 426, in
_build
return self._build_with_temp_dir(
~~~~~~~~~~~~~~~~~~~~~~~~~^
cmd,
^^^^
...<3 lines>...
self._arbitrary_args(config_settings),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 407, in
_build_with_temp_dir
self.run_setup()
~~~~~~~~~~~~~~^^
File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 320, in
run_setup
exec(code, locals())
~~~~^^^^^^^^^^^^^^^^
File "<string>", line 1, in <module>
File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 117, in
setup
return distutils.core.setup(**attrs)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", line
148, in setup
_setup_distribution = dist = klass(attrs)
~~~~~^^^^^^^
File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 323, in
__init__
_Distribution.__init__(self, dist_attrs)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line
309, in __init__
self.finalize_options()
~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 785, in
finalize_options
for ep in sorted(loaded, key=by_order):
~~~~~~^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 784, in
<lambda>
loaded = map(lambda e: e.load(), filtered)
~~~~~~^^
File "/usr/lib/python3.14/importlib/metadata/__init__.py", line 179, in load
module = import_module(match.group('module'))
File "/usr/lib/python3.14/importlib/__init__.py", line 88, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1398, in _gcd_import
File "<frozen importlib._bootstrap>", line 1371, in _find_and_load
File "<frozen importlib._bootstrap>", line 1314, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 491, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1398, in _gcd_import
File "<frozen importlib._bootstrap>", line 1371, in _find_and_load
File "<frozen importlib._bootstrap>", line 1342, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 938, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 759, in exec_module
File "<frozen importlib._bootstrap>", line 491, in _call_with_frames_removed
File "/usr/lib/python3/dist-packages/npe2/__init__.py", line 11, in <module>
from ._dynamic_plugin import DynamicPlugin
File "/usr/lib/python3/dist-packages/npe2/_dynamic_plugin.py", line 19, in
<module>
from ._plugin_manager import PluginManager
File "/usr/lib/python3/dist-packages/npe2/_plugin_manager.py", line 32, in
<module>
from ._command_registry import CommandRegistry
File "/usr/lib/python3/dist-packages/npe2/_command_registry.py", line 9, in
<module>
from .manifest import utils
File "/usr/lib/python3/dist-packages/npe2/manifest/__init__.py", line 1, in
<module>
from ._package_metadata import PackageMetadata
File "/usr/lib/python3/dist-packages/npe2/manifest/_package_metadata.py",
line 20, in <module>
class PackageMetadata(BaseModel):
...<198 lines>...
return id(self)
File "/usr/lib/python3/dist-packages/pydantic/v1/main.py", line 221, in
__new__
inferred = ModelField.infer(
name=var_name,
...<3 lines>...
config=config,
)
File "/usr/lib/python3/dist-packages/pydantic/v1/fields.py", line 504, in
infer
return cls(
name=name,
...<7 lines>...
field_info=field_info,
)
File "/usr/lib/python3/dist-packages/pydantic/v1/fields.py", line 434, in
__init__
self.prepare()
~~~~~~~~~~~~^^
File "/usr/lib/python3/dist-packages/pydantic/v1/fields.py", line 544, in
prepare
self._set_default_and_type()
~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/lib/python3/dist-packages/pydantic/v1/fields.py", line 576, in
_set_default_and_type
raise errors_.ConfigError(f'unable to infer type for attribute
"{self.name}"')
pydantic.v1.errors.ConfigError: unable to infer type for attribute "name"
ERROR Backend subprocess exited when trying to invoke build_wheel
E: pybuild pybuild:389: build: plugin pyproject failed with: exit code=1:
python3.14 -m build --skip-dependency-check --no-isolation --wheel --outdir
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14
I: pybuild plugin_pyproject:131: Building wheel for python3.13 with "build"
module
I: pybuild base:317: python3.13 -m build --skip-dependency-check --no-isolation
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13
* Building wheel...
/usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:82:
SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated
!!
********************************************************************************
Please use a simple string containing a SPDX expression for
`project.license`. You can also use `project.license-files`. (Both options
available on setuptools>=77.0.0).
By 2026-Feb-18, you need to update your project and remove deprecated
calls
or your builds will no longer be supported.
See
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license
for details.
********************************************************************************
!!
corresp(dist, value, root_dir)
/usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:61:
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a SPDX
license expression:
License :: OSI Approved :: BSD License
See
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license
for details.
********************************************************************************
!!
dist._finalize_license_expression()
/usr/lib/python3/dist-packages/setuptools/dist.py:759:
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a SPDX
license expression:
License :: OSI Approved :: BSD License
See
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license
for details.
********************************************************************************
!!
self._finalize_license_expression()
running bdist_wheel
running build
running build_py
creating build/lib/napari_console
copying napari_console/_hookimpl.py -> build/lib/napari_console
copying napari_console/qt_console.py -> build/lib/napari_console
copying napari_console/_version.py -> build/lib/napari_console
copying napari_console/__init__.py -> build/lib/napari_console
running egg_info
writing napari_console.egg-info/PKG-INFO
writing dependency_links to napari_console.egg-info/dependency_links.txt
writing entry points to napari_console.egg-info/entry_points.txt
writing requirements to napari_console.egg-info/requires.txt
writing top-level names to napari_console.egg-info/top_level.txt
reading manifest file 'napari_console.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '__pycache__' found under
directory '*'
warning: no previously-included files matching '*.py[co]' found under directory
'*'
adding license file 'LICENSE'
writing manifest file 'napari_console.egg-info/SOURCES.txt'
/usr/lib/python3/dist-packages/setuptools/command/build_py.py:212: _Warning:
Package 'napari_console._tests' is absent from the `packages` configuration.
!!
********************************************************************************
############################
# Package would be ignored #
############################
Python recognizes 'napari_console._tests' as an importable package[^1],
but it is absent from setuptools' `packages` configuration.
This leads to an ambiguous overall configuration. If you want to
distribute this
package, please make sure that 'napari_console._tests' is explicitly
added
to the `packages` configuration field.
Alternatively, you can also rely on setuptools' discovery methods
(for example by using `find_namespace_packages(...)`/`find_namespace:`
instead of `find_packages(...)`/`find:`).
You can read more about "package discovery" on setuptools documentation
page:
- https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
If you don't want 'napari_console._tests' to be distributed and are
already explicitly excluding 'napari_console._tests' via
`find_namespace_packages(...)/find_namespace` or
`find_packages(...)/find`,
you can try to use `exclude_package_data`, or
`include-package-data=False` in
combination with a more fine grained `package-data` configuration.
You can read more about "package data files" on setuptools
documentation page:
- https://setuptools.pypa.io/en/latest/userguide/datafiles.html
[^1]: For Python, any directory (with suitable naming) can be imported,
even if it does not contain any `.py` files.
On the other hand, currently there is no concept of package data
directory, all directories are treated like packages.
********************************************************************************
!!
check.warn(importable)
copying napari_console/napari.yaml -> build/lib/napari_console
creating build/lib/napari_console/_tests
copying napari_console/_tests/__init__.py -> build/lib/napari_console/_tests
copying napari_console/_tests/test_qt_console.py ->
build/lib/napari_console/_tests
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/napari_console
copying build/lib/napari_console/napari.yaml ->
build/bdist.linux-x86_64/wheel/./napari_console
creating build/bdist.linux-x86_64/wheel/napari_console/_tests
copying build/lib/napari_console/_tests/test_qt_console.py ->
build/bdist.linux-x86_64/wheel/./napari_console/_tests
copying build/lib/napari_console/_tests/__init__.py ->
build/bdist.linux-x86_64/wheel/./napari_console/_tests
copying build/lib/napari_console/_hookimpl.py ->
build/bdist.linux-x86_64/wheel/./napari_console
copying build/lib/napari_console/qt_console.py ->
build/bdist.linux-x86_64/wheel/./napari_console
copying build/lib/napari_console/_version.py ->
build/bdist.linux-x86_64/wheel/./napari_console
copying build/lib/napari_console/__init__.py ->
build/bdist.linux-x86_64/wheel/./napari_console
running install_egg_info
Copying napari_console.egg-info to
build/bdist.linux-x86_64/wheel/./napari_console-0.1.4.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/napari_console-0.1.4.dist-info/WHEEL
creating
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/.tmp-l33vmw1c/napari_console-0.1.4-py3-none-any.whl'
and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'napari_console/__init__.py'
adding 'napari_console/_hookimpl.py'
adding 'napari_console/_version.py'
adding 'napari_console/napari.yaml'
adding 'napari_console/qt_console.py'
adding 'napari_console/_tests/__init__.py'
adding 'napari_console/_tests/test_qt_console.py'
adding 'napari_console-0.1.4.dist-info/licenses/LICENSE'
adding 'napari_console-0.1.4.dist-info/METADATA'
adding 'napari_console-0.1.4.dist-info/WHEEL'
adding 'napari_console-0.1.4.dist-info/entry_points.txt'
adding 'napari_console-0.1.4.dist-info/top_level.txt'
adding 'napari_console-0.1.4.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built napari_console-0.1.4-py3-none-any.whl
I: pybuild plugin_pyproject:155: Unpacking wheel built for python3.13 with
"installer" module
dh_auto_build: error: pybuild --build -i python{version} -p "3.14 3.13"
returned exit code 13
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit
status 2
--------------------------------------------------------------------------------
--- End Message ---