Package: src:zigpy-deconz
Version: 0.24.1-1
Severity: serious
Tags: ftbfs trixie sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --buildsystem=pybuild
dh_auto_clean -O--buildsystem=pybuild
dh_autoreconf_clean -O--buildsystem=pybuild
dh_clean -O--buildsystem=pybuild
debian/rules binary
dh binary --buildsystem=pybuild
dh_update_autotools_config -O--buildsystem=pybuild
dh_autoreconf -O--buildsystem=pybuild
dh_auto_configure -O--buildsystem=pybuild
dh_auto_build -O--buildsystem=pybuild
I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build"
module
I: pybuild base:311: 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)
running bdist_wheel
running build
running build_py
creating build/lib/zigpy_deconz
copying zigpy_deconz/config.py -> build/lib/zigpy_deconz
copying zigpy_deconz/api.py -> build/lib/zigpy_deconz
copying zigpy_deconz/__init__.py -> build/lib/zigpy_deconz
copying zigpy_deconz/exception.py -> build/lib/zigpy_deconz
copying zigpy_deconz/types.py -> build/lib/zigpy_deconz
copying zigpy_deconz/uart.py -> build/lib/zigpy_deconz
copying zigpy_deconz/utils.py -> build/lib/zigpy_deconz
creating build/lib/zigpy_deconz/zigbee
copying zigpy_deconz/zigbee/__init__.py -> build/lib/zigpy_deconz/zigbee
copying zigpy_deconz/zigbee/application.py -> build/lib/zigpy_deconz/zigbee
running egg_info
creating zigpy_deconz.egg-info
writing zigpy_deconz.egg-info/PKG-INFO
writing dependency_links to zigpy_deconz.egg-info/dependency_links.txt
writing requirements to zigpy_deconz.egg-info/requires.txt
writing top-level names to zigpy_deconz.egg-info/top_level.txt
writing manifest file 'zigpy_deconz.egg-info/SOURCES.txt'
reading manifest file 'zigpy_deconz.egg-info/SOURCES.txt'
adding license file 'LICENSE'
adding license file 'COPYING'
writing manifest file 'zigpy_deconz.egg-info/SOURCES.txt'
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/zigpy_deconz
copying build/lib/zigpy_deconz/config.py ->
build/bdist.linux-x86_64/wheel/./zigpy_deconz
copying build/lib/zigpy_deconz/api.py ->
build/bdist.linux-x86_64/wheel/./zigpy_deconz
copying build/lib/zigpy_deconz/__init__.py ->
build/bdist.linux-x86_64/wheel/./zigpy_deconz
copying build/lib/zigpy_deconz/exception.py ->
build/bdist.linux-x86_64/wheel/./zigpy_deconz
copying build/lib/zigpy_deconz/types.py ->
build/bdist.linux-x86_64/wheel/./zigpy_deconz
copying build/lib/zigpy_deconz/uart.py ->
build/bdist.linux-x86_64/wheel/./zigpy_deconz
copying build/lib/zigpy_deconz/utils.py ->
build/bdist.linux-x86_64/wheel/./zigpy_deconz
creating build/bdist.linux-x86_64/wheel/zigpy_deconz/zigbee
copying build/lib/zigpy_deconz/zigbee/__init__.py ->
build/bdist.linux-x86_64/wheel/./zigpy_deconz/zigbee
copying build/lib/zigpy_deconz/zigbee/application.py ->
build/bdist.linux-x86_64/wheel/./zigpy_deconz/zigbee
running install_egg_info
Copying zigpy_deconz.egg-info to
build/bdist.linux-x86_64/wheel/./zigpy_deconz-0.0.0.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/zigpy_deconz-0.0.0.dist-info/WHEEL
creating
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/.tmp-db8ygh12/zigpy_deconz-0.0.0-py3-none-any.whl'
and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'zigpy_deconz/__init__.py'
adding 'zigpy_deconz/api.py'
adding 'zigpy_deconz/config.py'
adding 'zigpy_deconz/exception.py'
adding 'zigpy_deconz/types.py'
adding 'zigpy_deconz/uart.py'
adding 'zigpy_deconz/utils.py'
adding 'zigpy_deconz/zigbee/__init__.py'
adding 'zigpy_deconz/zigbee/application.py'
adding 'zigpy_deconz-0.0.0.dist-info/licenses/COPYING'
adding 'zigpy_deconz-0.0.0.dist-info/licenses/LICENSE'
adding 'zigpy_deconz-0.0.0.dist-info/METADATA'
adding 'zigpy_deconz-0.0.0.dist-info/WHEEL'
adding 'zigpy_deconz-0.0.0.dist-info/top_level.txt'
adding 'zigpy_deconz-0.0.0.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built zigpy_deconz-0.0.0-py3-none-any.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with
"installer" module
dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build;
python3.13 -m pytest --ignore=tests/test_application.py
--ignore=tests/test_send_receive.py --ignore=tests/test_network_state.py
============================= test session starts ==============================
platform linux -- Python 3.13.3, pytest-8.3.5, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build
configfile: pyproject.toml
plugins: asyncio-0.25.1, cov-5.0.0, typeguard-4.4.2, timeout-2.3.1
asyncio: mode=Mode.AUTO, asyncio_default_fixture_loop_scope=function
collected 29 items / 1 error
==================================== ERRORS ====================================
______________________ ERROR collecting tests/test_api.py ______________________
tests/test_api.py:18: in <module>
from zigpy_deconz import api as deconz_api, types as t, uart
zigpy_deconz/api.py:81: in <module>
class FirmwareVersion(t.Struct, t.uint32_t):
/usr/lib/python3/dist-packages/zigpy/types/struct.py:95: in __init_subclass__
raise TypeError("Integer structs must be subclasses of `IntStruct`")
E TypeError: Integer structs must be subclasses of `IntStruct`
=========================== short test summary info ============================
ERROR tests/test_api.py - TypeError: Integer structs must be subclasses of `I...
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 0.18s ===============================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=2: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; python3.13 -m pytest
--ignore=tests/test_application.py --ignore=tests/test_send_receive.py
--ignore=tests/test_network_state.py
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13
returned exit code 13
make: *** [debian/rules:11: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202505/
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 could not 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:zigpy-deconz, so that this is still
visible in the BTS web page for this package.
Thanks.