Package: src:python-aioesphomeapi
Version: 25.1.0-2
Severity: serious
Tags: ftbfs forky sid

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 ===================================
__________________________ test_create_eager_task_312 __________________________
async def functions are not natively supported.
You need to install a suitable plugin for your async framework, for example:
  - anyio
  - pytest-asyncio
  - pytest-tornasync
  - pytest-trio
  - pytest-twisted
=============================== warnings summary ===============================
<frozen importlib._bootstrap>:488
  <frozen importlib._bootstrap>:488: DeprecationWarning: Type 
google.protobuf.pyext._message.ScalarMapContainer uses PyType_Spec with a 
metaclass that has custom tp_new. This is deprecated and will no longer be 
allowed in Python 3.14.

<frozen importlib._bootstrap>:488
  <frozen importlib._bootstrap>:488: DeprecationWarning: Type 
google.protobuf.pyext._message.MessageMapContainer uses PyType_Spec with a 
metaclass that has custom tp_new. This is deprecated and will no longer be 
allowed in Python 3.14.

../../../../../../usr/lib/python3/dist-packages/google/protobuf/internal/well_known_types.py:91
  
/usr/lib/python3/dist-packages/google/protobuf/internal/well_known_types.py:91: 
DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and 
scheduled for removal in a future version. Use timezone-aware objects to 
represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, 
datetime.UTC).
    _EPOCH_DATETIME_NAIVE = datetime.datetime.utcfromtimestamp(0)

tests/test__frame_helper.py: 13 warnings
  /usr/lib/python3/dist-packages/noiseprotocol/backends/default/ciphers.py:10: 
FutureWarning: functools.partial will be a method descriptor in future Python 
versions; wrap it in staticmethod() if you want to preserve the old behavior
    return self.cipher.encrypt(nonce=self.format_nonce(n), data=plaintext, 
associated_data=ad)

tests/test__frame_helper.py::test_noise_frame_helper_handshake_failure
tests/test__frame_helper.py::test_noise_frame_helper_handshake_success_with_single_packet
tests/test__frame_helper.py::test_noise_frame_helper_bad_encryption
  /usr/lib/python3/dist-packages/noiseprotocol/backends/default/ciphers.py:13: 
FutureWarning: functools.partial will be a method descriptor in future Python 
versions; wrap it in staticmethod() if you want to preserve the old behavior
    return self.cipher.decrypt(nonce=self.format_nonce(n), data=ciphertext, 
associated_data=ad)

tests/test_client.py::test_cover_command_legacy[cmd1-req1]
  /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:67: 
PytestUnraisableExceptionWarning: Exception ignored in: <coroutine object 
AsyncEngine._async_setup at 0x7fb358185a40>
  
  Traceback (most recent call last):
    File "/usr/lib/python3.13/asyncio/base_events.py", line 1492, in 
create_datagram_endpoint
      await waiter
  GeneratorExit
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/zeroconf/_engine.py", line 92, in 
_async_setup
      await self._async_create_endpoints()
    File "/usr/lib/python3/dist-packages/zeroconf/_engine.py", line 113, in 
_async_create_endpoints
      transport, protocol = await loop.create_datagram_endpoint(  # type: 
ignore[type-var]
                            
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      ...<2 lines>...
      )
      ^
    File "/usr/lib/python3.13/asyncio/base_events.py", line 1494, in 
create_datagram_endpoint
      transport.close()
      ~~~~~~~~~~~~~~~^^
    File "/usr/lib/python3.13/asyncio/selector_events.py", line 865, in close
      self._loop.call_soon(self._call_connection_lost, None)
      ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3.13/asyncio/base_events.py", line 833, in call_soon
      self._check_closed()
      ~~~~~~~~~~~~~~~~~~^^
    File "/usr/lib/python3.13/asyncio/base_events.py", line 556, in 
_check_closed
      raise RuntimeError('Event loop is closed')
  RuntimeError: Event loop is closed
  
  Enable tracemalloc to get traceback where the object was allocated.
  See 
https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings
 for more info.
    warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/test_util.py::test_create_eager_task_312 - Failed: async def fun...
============ 1 failed, 394 passed, 1 skipped, 20 warnings in 1.48s =============
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; python3.13 -m pytest tests
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 
returned exit code 13
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to