Package: src:python-homewizard-energy
Version: 9.3.0-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:python-homewizard-energy, so that this is 
still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 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: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...
The "poetry.dev-dependencies" section is deprecated and will be removed in a 
future version. Use "poetry.group.dev.dependencies" instead.
Successfully built python_homewizard_energy-0.0.0-py3-none-any.whl
I: pybuild plugin_pyproject:155: Unpacking wheel built for python3.14 with 
"installer" module
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...
The "poetry.dev-dependencies" section is deprecated and will be removed in a 
future version. Use "poetry.group.dev.dependencies" instead.
Successfully built python_homewizard_energy-0.0.0-py3-none-any.whl
I: pybuild plugin_pyproject:155: Unpacking wheel built for python3.13 with 
"installer" module
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; 
python3.14 -m pytest --no-cov
============================= test session starts ==============================
platform linux -- Python 3.14.2, pytest-9.0.2, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build
configfile: pyproject.toml
plugins: cov-5.0.0, asyncio-1.2.0, aresponses-3.0.0, syrupy-5.0.0
asyncio: mode=Mode.AUTO, debug=False, asyncio_default_fixture_loop_scope=None, 
asyncio_default_test_loop_scope=function
collected 0 items / 7 errors

==================================== ERRORS ====================================
____________________ ERROR collecting tests/test_helpers.py ____________________
tests/test_helpers.py:9: in <module>
    from homewizard_energy import has_v2_api
homewizard_energy/__init__.py:6: in <module>
    from .homewizard_energy import HomeWizardEnergy
homewizard_energy/homewizard_energy.py:12: in <module>
    from .models import Batteries, CombinedModels, Device, Measurement, State, 
System
homewizard_energy/models.py:119: in <module>
    class Device(BaseModel):
/usr/lib/python3/dist-packages/mashumaro/mixins/dict.py:26: in __init_subclass__
    compile_mixin_unpacker(cls, **builder_params["unpacker"])
/usr/lib/python3/dist-packages/mashumaro/core/meta/mixin.py:49: in 
compile_mixin_unpacker
    builder.add_unpack_method()
/usr/lib/python3/dist-packages/mashumaro/core/meta/code/builder.py:584: in 
add_unpack_method
    self._add_unpack_method_lines(method_name)
/usr/lib/python3/dist-packages/mashumaro/core/meta/code/builder.py:489: in 
_add_unpack_method_lines
    ).build(
/usr/lib/python3/dist-packages/mashumaro/core/meta/code/builder.py:1330: in 
build
    unpacked_value = UnpackerRegistry.get(
/usr/lib/python3/dist-packages/mashumaro/core/meta/types/common.py:225: in get
    raise UnserializableField(
E   mashumaro.exceptions.UnserializableField: Field "model_name" of type 
Optional[str] in Device is not serializable
_______________ ERROR collecting tests/test_homewizard_energy.py _______________
tests/test_homewizard_energy.py:6: in <module>
    from homewizard_energy.homewizard_energy import HomeWizardEnergy
homewizard_energy/__init__.py:6: in <module>
    from .homewizard_energy import HomeWizardEnergy
homewizard_energy/homewizard_energy.py:12: in <module>
    from .models import Batteries, CombinedModels, Device, Measurement, State, 
System
homewizard_energy/models.py:119: in <module>
    class Device(BaseModel):
/usr/lib/python3/dist-packages/mashumaro/mixins/dict.py:26: in __init_subclass__
    compile_mixin_unpacker(cls, **builder_params["unpacker"])
/usr/lib/python3/dist-packages/mashumaro/core/meta/mixin.py:49: in 
compile_mixin_unpacker
    builder.add_unpack_method()
/usr/lib/python3/dist-packages/mashumaro/core/meta/code/builder.py:584: in 
add_unpack_method
    self._add_unpack_method_lines(method_name)
/usr/lib/python3/dist-packages/mashumaro/core/meta/code/builder.py:489: in 
_add_unpack_method_lines
    ).build(
/usr/lib/python3/dist-packages/mashumaro/core/meta/code/builder.py:1330: in 
build
    unpacked_value = UnpackerRegistry.get(
/usr/lib/python3/dist-packages/mashumaro/core/meta/types/common.py:225: in get
    raise UnserializableField(
E   mashumaro.exceptions.UnserializableField: Field "model_name" of type 
Optional[str] in Device is not serializable
____________________ ERROR collecting tests/test_models.py _____________________
tests/test_models.py:5: in <module>
    from homewizard_energy.models import get_verification_hostname
homewizard_energy/__init__.py:6: in <module>
    from .homewizard_energy import HomeWizardEnergy
homewizard_energy/homewizard_energy.py:12: in <module>
    from .models import Batteries, CombinedModels, Device, Measurement, State, 
System
homewizard_energy/models.py:119: in <module>
    class Device(BaseModel):
/usr/lib/python3/dist-packages/mashumaro/mixins/dict.py:26: in __init_subclass__
    compile_mixin_unpacker(cls, **builder_params["unpacker"])
/usr/lib/python3/dist-packages/mashumaro/core/meta/mixin.py:49: in 
compile_mixin_unpacker
    builder.add_unpack_method()
/usr/lib/python3/dist-packages/mashumaro/core/meta/code/builder.py:584: in 
add_unpack_method
    self._add_unpack_method_lines(method_name)
/usr/lib/python3/dist-packages/mashumaro/core/meta/code/builder.py:489: in 
_add_unpack_method_lines
    ).build(
/usr/lib/python3/dist-packages/mashumaro/core/meta/code/builder.py:1330: in 
build
    unpacked_value = UnpackerRegistry.get(
/usr/lib/python3/dist-packages/mashumaro/core/meta/types/common.py:225: in get
    raise UnserializableField(
E   mashumaro.exceptions.UnserializableField: Field "model_name" of type 
Optional[str] in Device is not serializable
____________ ERROR collecting tests/v1/test_v1_homewizard_energy.py ____________
tests/v1/test_v1_homewizard_energy.py:11: in <module>
    from homewizard_energy import HomeWizardEnergyV1
homewizard_energy/__init__.py:6: in <module>
    from .homewizard_energy import HomeWizardEnergy
homewizard_energy/homewizard_energy.py:12: in <module>
    from .models import Batteries, CombinedModels, Device, Measurement, State, 
System
homewizard_energy/models.py:119: in <module>
    class Device(BaseModel):
/usr/lib/python3/dist-packages/mashumaro/mixins/dict.py:26: in __init_subclass__
    compile_mixin_unpacker(cls, **builder_params["unpacker"])
/usr/lib/python3/dist-packages/mashumaro/core/meta/mixin.py:49: in 
compile_mixin_unpacker
    builder.add_unpack_method()
/usr/lib/python3/dist-packages/mashumaro/core/meta/code/builder.py:584: in 
add_unpack_method
    self._add_unpack_method_lines(method_name)
/usr/lib/python3/dist-packages/mashumaro/core/meta/code/builder.py:489: in 
_add_unpack_method_lines
    ).build(
/usr/lib/python3/dist-packages/mashumaro/core/meta/code/builder.py:1330: in 
build
    unpacked_value = UnpackerRegistry.get(
/usr/lib/python3/dist-packages/mashumaro/core/meta/types/common.py:225: in get
    raise UnserializableField(
E   mashumaro.exceptions.UnserializableField: Field "model_name" of type 
Optional[str] in Device is not serializable
_________________ ERROR collecting tests/v1/test_v1_models.py __________________
tests/v1/test_v1_models.py:8: in <module>
    from homewizard_energy.models import CombinedModels, Device, Measurement, 
State, System
homewizard_energy/__init__.py:6: in <module>
    from .homewizard_energy import HomeWizardEnergy
homewizard_energy/homewizard_energy.py:12: in <module>
    from .models import Batteries, CombinedModels, Device, Measurement, State, 
System
homewizard_energy/models.py:119: in <module>
    class Device(BaseModel):
/usr/lib/python3/dist-packages/mashumaro/mixins/dict.py:26: in __init_subclass__
    compile_mixin_unpacker(cls, **builder_params["unpacker"])
/usr/lib/python3/dist-packages/mashumaro/core/meta/mixin.py:49: in 
compile_mixin_unpacker
    builder.add_unpack_method()
/usr/lib/python3/dist-packages/mashumaro/core/meta/code/builder.py:584: in 
add_unpack_method
    self._add_unpack_method_lines(method_name)
/usr/lib/python3/dist-packages/mashumaro/core/meta/code/builder.py:489: in 
_add_unpack_method_lines
    ).build(
/usr/lib/python3/dist-packages/mashumaro/core/meta/code/builder.py:1330: in 
build
    unpacked_value = UnpackerRegistry.get(
/usr/lib/python3/dist-packages/mashumaro/core/meta/types/common.py:225: in get
    raise UnserializableField(
E   mashumaro.exceptions.UnserializableField: Field "model_name" of type 
Optional[str] in Device is not serializable
____________ ERROR collecting tests/v2/test_v2_homewizard_energy.py ____________
tests/v2/test_v2_homewizard_energy.py:10: in <module>
    from homewizard_energy import HomeWizardEnergyV2
homewizard_energy/__init__.py:6: in <module>
    from .homewizard_energy import HomeWizardEnergy
homewizard_energy/homewizard_energy.py:12: in <module>
    from .models import Batteries, CombinedModels, Device, Measurement, State, 
System
homewizard_energy/models.py:119: in <module>
    class Device(BaseModel):
/usr/lib/python3/dist-packages/mashumaro/mixins/dict.py:26: in __init_subclass__
    compile_mixin_unpacker(cls, **builder_params["unpacker"])
/usr/lib/python3/dist-packages/mashumaro/core/meta/mixin.py:49: in 
compile_mixin_unpacker
    builder.add_unpack_method()
/usr/lib/python3/dist-packages/mashumaro/core/meta/code/builder.py:584: in 
add_unpack_method
    self._add_unpack_method_lines(method_name)
/usr/lib/python3/dist-packages/mashumaro/core/meta/code/builder.py:489: in 
_add_unpack_method_lines
    ).build(
/usr/lib/python3/dist-packages/mashumaro/core/meta/code/builder.py:1330: in 
build
    unpacked_value = UnpackerRegistry.get(
/usr/lib/python3/dist-packages/mashumaro/core/meta/types/common.py:225: in get
    raise UnserializableField(
E   mashumaro.exceptions.UnserializableField: Field "model_name" of type 
Optional[str] in Device is not serializable
_________________ ERROR collecting tests/v2/test_v2_models.py __________________
tests/v2/test_v2_models.py:8: in <module>
    from homewizard_energy.models import (
homewizard_energy/__init__.py:6: in <module>
    from .homewizard_energy import HomeWizardEnergy
homewizard_energy/homewizard_energy.py:12: in <module>
    from .models import Batteries, CombinedModels, Device, Measurement, State, 
System
homewizard_energy/models.py:119: in <module>
    class Device(BaseModel):
/usr/lib/python3/dist-packages/mashumaro/mixins/dict.py:26: in __init_subclass__
    compile_mixin_unpacker(cls, **builder_params["unpacker"])
/usr/lib/python3/dist-packages/mashumaro/core/meta/mixin.py:49: in 
compile_mixin_unpacker
    builder.add_unpack_method()
/usr/lib/python3/dist-packages/mashumaro/core/meta/code/builder.py:584: in 
add_unpack_method
    self._add_unpack_method_lines(method_name)
/usr/lib/python3/dist-packages/mashumaro/core/meta/code/builder.py:489: in 
_add_unpack_method_lines
    ).build(
/usr/lib/python3/dist-packages/mashumaro/core/meta/code/builder.py:1330: in 
build
    unpacked_value = UnpackerRegistry.get(
/usr/lib/python3/dist-packages/mashumaro/core/meta/types/common.py:225: in get
    raise UnserializableField(
E   mashumaro.exceptions.UnserializableField: Field "model_name" of type 
Optional[str] in Device is not serializable
=========================== short test summary info ============================
ERROR tests/test_helpers.py - mashumaro.exceptions.UnserializableField: Field...
ERROR tests/test_homewizard_energy.py - mashumaro.exceptions.UnserializableFi...
ERROR tests/test_models.py - mashumaro.exceptions.UnserializableField: Field ...
ERROR tests/v1/test_v1_homewizard_energy.py - mashumaro.exceptions.Unserializ...
ERROR tests/v1/test_v1_models.py - mashumaro.exceptions.UnserializableField: ...
ERROR tests/v2/test_v2_homewizard_energy.py - mashumaro.exceptions.Unserializ...
ERROR tests/v2/test_v2_models.py - mashumaro.exceptions.UnserializableField: ...
!!!!!!!!!!!!!!!!!!! Interrupted: 7 errors during collection !!!!!!!!!!!!!!!!!!!!
============================== 7 errors in 0.43s ===============================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=2: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; python3.14 -m pytest --no-cov
I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; 
python3.13 -m pytest --no-cov
============================= test session starts ==============================
platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build
configfile: pyproject.toml
plugins: cov-5.0.0, asyncio-1.2.0, aresponses-3.0.0, syrupy-5.0.0
asyncio: mode=Mode.AUTO, debug=False, asyncio_default_fixture_loop_scope=None, 
asyncio_default_test_loop_scope=function
collected 266 items

tests/test_helpers.py ....                                               [  1%]
tests/test_homewizard_energy.py ........                                 [  4%]
tests/test_models.py ..........                                          [  8%]
tests/v1/test_v1_homewizard_energy.py .................................. [ 21%]
........................................                                 [ 36%]
tests/v1/test_v1_models.py ............................................. [ 53%]
.......................                                                  [ 61%]
tests/v2/test_v2_homewizard_energy.py .................................. [ 74%]
.................                                                        [ 80%]
tests/v2/test_v2_models.py ............................................. [ 97%]
......                                                                   [100%]

=============================== warnings summary ===============================
tests/v1/test_v1_homewizard_energy.py: 15 warnings
tests/v2/test_v2_homewizard_energy.py: 39 warnings
  /usr/lib/python3/dist-packages/aiohttp/connector.py:963: DeprecationWarning: 
enable_cleanup_closed ignored because 
https://github.com/python/cpython/pull/118960 is fixed in Python version 
sys.version_info(major=3, minor=13, micro=11, releaselevel='final', serial=0)
    super().__init__(

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
--------------------------- snapshot report summary ----------------------------
139 snapshots passed.
======================= 266 passed, 54 warnings in 9.50s =======================
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 
3.13" returned exit code 13
make: *** [debian/rules:5: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to