#1114289 python-aioesphomeapi: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 returned exit code 13

#1114289#5
Date:
2025-09-05 18:23:21 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build.

Below you will find how the build ends (probably the most relevant part,
but not necessarily). If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202509/

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:python-aioesphomeapi, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
 debian/rules clean
make: pyversions: No such file or directory
py3versions: no X-Python3-Version in control file, using supported versions
dh clean --buildsystem=pybuild --with python3
   dh_auto_clean -O--buildsystem=pybuild
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
make: pyversions: No such file or directory
py3versions: no X-Python3-Version in control file, using supported versions
dh binary --buildsystem=pybuild --with python3
   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/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'test_suite'
  warnings.warn(msg)
running bdist_wheel
/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:135: SetuptoolsDeprecationWarning: bdist_wheel.universal is deprecated
!!

        ********************************************************************************
        With Python 2.7 end-of-life, support for building universal wheels
        (i.e., wheels that support both Python 2 and Python 3)
        is being obviated.
        Please discontinue using this option, or if you still need it,
        file an issue with pypa/setuptools describing your use case.

        This deprecation is overdue, please update your project and remove deprecated
        calls to avoid build errors in the future.
        ********************************************************************************

!!
  self.finalize_options()
running build
running build_py
creating build/lib/aioesphomeapi
copying aioesphomeapi/model_conversions.py -> build/lib/aioesphomeapi
copying aioesphomeapi/zeroconf.py -> build/lib/aioesphomeapi
copying aioesphomeapi/log_runner.py -> build/lib/aioesphomeapi
copying aioesphomeapi/reconnect_logic.py -> build/lib/aioesphomeapi
copying aioesphomeapi/connection.py -> build/lib/aioesphomeapi
copying aioesphomeapi/api_pb2.py -> build/lib/aioesphomeapi
copying aioesphomeapi/client_callbacks.py -> build/lib/aioesphomeapi
copying aioesphomeapi/discover.py -> build/lib/aioesphomeapi
copying aioesphomeapi/host_resolver.py -> build/lib/aioesphomeapi
copying aioesphomeapi/client.py -> build/lib/aioesphomeapi
copying aioesphomeapi/model.py -> build/lib/aioesphomeapi
copying aioesphomeapi/core.py -> build/lib/aioesphomeapi
copying aioesphomeapi/log_reader.py -> build/lib/aioesphomeapi
copying aioesphomeapi/util.py -> build/lib/aioesphomeapi
copying aioesphomeapi/ble_defs.py -> build/lib/aioesphomeapi
copying aioesphomeapi/api_options_pb2.py -> build/lib/aioesphomeapi
copying aioesphomeapi/__init__.py -> build/lib/aioesphomeapi
creating build/lib/aioesphomeapi/_frame_helper
copying aioesphomeapi/_frame_helper/plain_text.py -> build/lib/aioesphomeapi/_frame_helper
copying aioesphomeapi/_frame_helper/base.py -> build/lib/aioesphomeapi/_frame_helper
copying aioesphomeapi/_frame_helper/noise.py -> build/lib/aioesphomeapi/_frame_helper
copying aioesphomeapi/_frame_helper/__init__.py -> build/lib/aioesphomeapi/_frame_helper
running egg_info
creating aioesphomeapi.egg-info
writing aioesphomeapi.egg-info/PKG-INFO
writing dependency_links to aioesphomeapi.egg-info/dependency_links.txt
writing entry points to aioesphomeapi.egg-info/entry_points.txt
writing requirements to aioesphomeapi.egg-info/requires.txt
writing top-level names to aioesphomeapi.egg-info/top_level.txt
writing manifest file 'aioesphomeapi.egg-info/SOURCES.txt'
reading manifest file 'aioesphomeapi.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.c' found anywhere in distribution
adding license file 'LICENSE'
writing manifest file 'aioesphomeapi.egg-info/SOURCES.txt'
copying aioesphomeapi/py.typed -> build/lib/aioesphomeapi
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/aioesphomeapi
copying build/lib/aioesphomeapi/model_conversions.py -> build/bdist.linux-x86_64/wheel/./aioesphomeapi
copying build/lib/aioesphomeapi/zeroconf.py -> build/bdist.linux-x86_64/wheel/./aioesphomeapi
creating build/bdist.linux-x86_64/wheel/aioesphomeapi/_frame_helper
copying build/lib/aioesphomeapi/_frame_helper/plain_text.py -> build/bdist.linux-x86_64/wheel/./aioesphomeapi/_frame_helper
copying build/lib/aioesphomeapi/_frame_helper/base.py -> build/bdist.linux-x86_64/wheel/./aioesphomeapi/_frame_helper
copying build/lib/aioesphomeapi/_frame_helper/noise.py -> build/bdist.linux-x86_64/wheel/./aioesphomeapi/_frame_helper
copying build/lib/aioesphomeapi/_frame_helper/__init__.py -> build/bdist.linux-x86_64/wheel/./aioesphomeapi/_frame_helper
copying build/lib/aioesphomeapi/log_runner.py -> build/bdist.linux-x86_64/wheel/./aioesphomeapi
copying build/lib/aioesphomeapi/py.typed -> build/bdist.linux-x86_64/wheel/./aioesphomeapi
copying build/lib/aioesphomeapi/reconnect_logic.py -> build/bdist.linux-x86_64/wheel/./aioesphomeapi
copying build/lib/aioesphomeapi/connection.py -> build/bdist.linux-x86_64/wheel/./aioesphomeapi
copying build/lib/aioesphomeapi/api_pb2.py -> build/bdist.linux-x86_64/wheel/./aioesphomeapi
copying build/lib/aioesphomeapi/client_callbacks.py -> build/bdist.linux-x86_64/wheel/./aioesphomeapi
copying build/lib/aioesphomeapi/discover.py -> build/bdist.linux-x86_64/wheel/./aioesphomeapi
copying build/lib/aioesphomeapi/host_resolver.py -> build/bdist.linux-x86_64/wheel/./aioesphomeapi
copying build/lib/aioesphomeapi/client.py -> build/bdist.linux-x86_64/wheel/./aioesphomeapi
copying build/lib/aioesphomeapi/model.py -> build/bdist.linux-x86_64/wheel/./aioesphomeapi
copying build/lib/aioesphomeapi/core.py -> build/bdist.linux-x86_64/wheel/./aioesphomeapi
copying build/lib/aioesphomeapi/log_reader.py -> build/bdist.linux-x86_64/wheel/./aioesphomeapi
copying build/lib/aioesphomeapi/util.py -> build/bdist.linux-x86_64/wheel/./aioesphomeapi
copying build/lib/aioesphomeapi/ble_defs.py -> build/bdist.linux-x86_64/wheel/./aioesphomeapi
copying build/lib/aioesphomeapi/api_options_pb2.py -> build/bdist.linux-x86_64/wheel/./aioesphomeapi
copying build/lib/aioesphomeapi/__init__.py -> build/bdist.linux-x86_64/wheel/./aioesphomeapi
running install_egg_info
Copying aioesphomeapi.egg-info to build/bdist.linux-x86_64/wheel/./aioesphomeapi-25.1.0.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/aioesphomeapi-25.1.0.dist-info/WHEEL
creating '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/.tmp-losrp153/aioesphomeapi-25.1.0-py2.py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'aioesphomeapi/__init__.py'
adding 'aioesphomeapi/api_options_pb2.py'
adding 'aioesphomeapi/api_pb2.py'
adding 'aioesphomeapi/ble_defs.py'
adding 'aioesphomeapi/client.py'
adding 'aioesphomeapi/client_callbacks.py'
adding 'aioesphomeapi/connection.py'
adding 'aioesphomeapi/core.py'
adding 'aioesphomeapi/discover.py'
adding 'aioesphomeapi/host_resolver.py'
adding 'aioesphomeapi/log_reader.py'
adding 'aioesphomeapi/log_runner.py'
adding 'aioesphomeapi/model.py'
adding 'aioesphomeapi/model_conversions.py'
adding 'aioesphomeapi/py.typed'
adding 'aioesphomeapi/reconnect_logic.py'
adding 'aioesphomeapi/util.py'
adding 'aioesphomeapi/zeroconf.py'
adding 'aioesphomeapi/_frame_helper/__init__.py'
adding 'aioesphomeapi/_frame_helper/base.py'
adding 'aioesphomeapi/_frame_helper/noise.py'
adding 'aioesphomeapi/_frame_helper/plain_text.py'
adding 'aioesphomeapi-25.1.0.dist-info/licenses/LICENSE'
adding 'aioesphomeapi-25.1.0.dist-info/METADATA'
adding 'aioesphomeapi-25.1.0.dist-info/WHEEL'
adding 'aioesphomeapi-25.1.0.dist-info/entry_points.txt'
adding 'aioesphomeapi-25.1.0.dist-info/top_level.txt'
adding 'aioesphomeapi-25.1.0.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built aioesphomeapi-25.1.0-py2.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 tests
============================= test session starts ==============================
platform linux -- Python 3.13.7, pytest-8.4.1, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build
configfile: pyproject.toml
plugins: asyncio-0.25.1, cov-5.0.0, typeguard-4.4.4
asyncio: mode=Mode.STRICT, asyncio_default_fixture_loop_scope=None
collected 396 items

tests/test__frame_helper.py .....................................        [  9%]
tests/test_client.py ................................................... [ 22%]
........................................................................ [ 40%]
.......................                                                  [ 46%]
tests/test_connection.py ...........................................     [ 57%]
tests/test_host_resolver.py ................                             [ 61%]
tests/test_log_runner.py ...                                             [ 61%]
tests/test_model.py .................................................... [ 75%]
..............................................................           [ 90%]
tests/test_reconnect_logic.py .................                          [ 94%]
tests/test_util.py ..............Fs                                      [ 98%]
tests/test_zeroconf.py ....                                              [100%]

=================================== FAILURES ===================================

#1114289#10
Date:
2026-07-01 21:21:09 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
python-aioesphomeapi, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1114289@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Edward Betts <edward@4angle.com> (supplier of updated python-aioesphomeapi package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Wed, 01 Jul 2026 17:04:49 +0100
Source: python-aioesphomeapi
Architecture: source
Version: 45.5.2-1
Distribution: unstable
Urgency: medium
Maintainer: Home Assistant Team <team+homeassistant@tracker.debian.org>
Changed-By: Edward Betts <edward@4angle.com>
Closes: 1114289
Changes:
 python-aioesphomeapi (45.5.2-1) unstable; urgency=medium
 .
   * New upstream release. (Closes: #1114289)
   * Patch generated protobuf modules for the version of python3-protobuf
     in Debian.
   * Patch to work without Python tzdata package.
   * Remove 'Priority: optional', now the default.
   * Switch to autopkgtest-pkg-pybuild.
   * Skip benchmark tests that need python3-pytest-codspeed.
   * Update Standards-Version.
   * Update debian/watch to format version 5.
   * Add my name to Uploaders and copyright.
   * Add new python3-tzlocal and tzdata dependencies.
   * Add py3dist override for cryptography dependency floor.
   * Add <!nocheck> to test dependencies.
   * Add debian/salsa-ci.yml.
Checksums-Sha1:
 9fbfba3fcdbd013ad0748a3fdcf53e5c5f793c4f 2952 python-aioesphomeapi_45.5.2-1.dsc
 472026ba935c87cb1a8287b6174a48ab091235c0 208492 python-aioesphomeapi_45.5.2.orig.tar.xz
 d2b3aa689b462c43be8d09d7f3b3b181c0ecd427 4476 python-aioesphomeapi_45.5.2-1.debian.tar.xz
 63c858f70eb38905bb4c889cc89d67bfdd1e3ad6 545416 python-aioesphomeapi_45.5.2-1.git.tar.xz
 de16dc2e58497cc5c48d518bb4531d2d01da0c7d 17552 python-aioesphomeapi_45.5.2-1_source.buildinfo
Checksums-Sha256:
 da922cea4e4fa135c9e53203c2e6fc8737aedafd2c570253cdfa568d04bb27ca 2952 python-aioesphomeapi_45.5.2-1.dsc
 3ade9a7120613bbf4d97721b09e7fecce2cf9941f8ede7a19e7d0cc8aa3d7d4d 208492 python-aioesphomeapi_45.5.2.orig.tar.xz
 cfefe0f8061e25797c6135996ff3a9555abb64188c91693a0793853d2b02545a 4476 python-aioesphomeapi_45.5.2-1.debian.tar.xz
 5cdaf3598f0125935683b63db858de24e9ec6820c26e79b5b3aae618046076e4 545416 python-aioesphomeapi_45.5.2-1.git.tar.xz
 4563fcdebc936ca8c70d697ac27172a8edc002216105438f9575ae7d99b52522 17552 python-aioesphomeapi_45.5.2-1_source.buildinfo
Files:
 b6d476138977f6fb84f21364f5cef45b 2952 python optional python-aioesphomeapi_45.5.2-1.dsc
 7ed829d5e21eecca26ec50f458569f2c 208492 python optional python-aioesphomeapi_45.5.2.orig.tar.xz
 27d48cc86790b30179b36b5a9bf89ddf 4476 python optional python-aioesphomeapi_45.5.2-1.debian.tar.xz
 71cede2353b4f05e32a4e9b7a428b491 545416 python None python-aioesphomeapi_45.5.2-1.git.tar.xz
 f117de003cf0e6566771bcabacf5671f 17552 python optional python-aioesphomeapi_45.5.2-1_source.buildinfo
Git-Tag-Info: tag=d0e078cd4ed30c6880fab61daed56e2c7e799ce4 fp=fb8acfa78c726089c38ad0269605a1098c63b92a
Git-Tag-Tagger: Edward Betts <edward@4angle.com>
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmpFf48ACgkQYG0ITkaD
wHnmWhAA1ddyJaozTP1uz7yL1nmPhMKk7P1l8pQ4NGBfj/irfAS8hKB6vlY58YRs
vDMQf9929gXtWRffwL3cb3GTiEs1HsQwkw0fYYdNcgsPYNwiviwkYiiZiNekzAfu
q6hvBg/5IBWfFN53SHCcr7SwEosTZ2RD3jQo+DRTj6tjfizxjPswOS56tL3dzfke
UEmGvBLWIVsiYgTwY9tXCowb8GAekWS/v/zXDjkQcAPDNe2KzMvAtTZddcBa/ePc
0KoMKwYBo9sS2sJbu0iZAeH/FW08Qm08Y+xy+f5ZdgHiPZXLe4X/eQScwoFqxM3+
RFnrKQIwZXrJHAxOEqh6vHXiwQluyY/o/0OY2LSh1ZNUBJO/Md2J16BE5Ms2Jmdb
1fuZxkr8RM4f86sgMokV/YaSr0vpNpceCDmfmyS66w5yOqOC9cW6V3a4AE9Efdck
PGdvpKpXUIZoUD9o85HKPqgN58VhdnYzHkjiKMPQavKTuTghWmJieuI93Nbc/g/g
D1tUPvdk5AdsZKtIvPcVdCrqWkMclFU+lt6wVCZAcO4K4p9OylLWdGJtWGt2ytko
swFVnhFkrRb7+h+fMezII/6iNDD7dX37j65299iokEBkt9xQai1TWlWLPvCgzY53
BuVpnXdXFqHxRJhBT/xEvBiuqn1LFaWr/JypuwF+4PhUPxKxYrE=
=S4S6
-----END PGP SIGNATURE-----