Package: src:python-aioautomower
Version: 2024.7.2-2
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-aioautomower, 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: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...
Successfully built aioautomower-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...
Successfully built aioautomower-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 -v tests -k 'not test_mower_snapshot'
============================= test session starts ==============================
platform linux -- Python 3.14.2, pytest-9.0.2, pluggy-1.6.0 -- 
/usr/bin/python3.14
cachedir: .pytest_cache
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build
configfile: pyproject.toml
plugins: cov-5.0.0, asyncio-1.2.0, typeguard-4.4.4, syrupy-5.0.0
asyncio: mode=Mode.AUTO, debug=False, asyncio_default_fixture_loop_scope=None, 
asyncio_default_test_loop_scope=function
collecting ... collected 0 items / 7 errors

==================================== ERRORS ====================================
__________________ ERROR collecting tests/test_error_text.py ___________________
tests/test_error_text.py:7: in <module>
    from aioautomower.utils import (
aioautomower/utils.py:15: in <module>
    from .model import JWT, MowerAttributes, MowerList, snake_case
aioautomower/model.py:128: in <module>
    class Mower(DataClassDictMixin):
/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 "error_key" of type 
Optional[str] in Mower is not serializable
___________ ERROR collecting tests/test_high_feature_mower_model.py ____________
tests/test_high_feature_mower_model.py:10: in <module>
    from aioautomower.model import WorkArea
aioautomower/model.py:128: in <module>
    class Mower(DataClassDictMixin):
/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 "error_key" of type 
Optional[str] in Mower is not serializable
___________________ ERROR collecting tests/test_jwt_model.py ___________________
tests/test_jwt_model.py:8: in <module>
    from aioautomower.utils import structure_token
aioautomower/utils.py:15: in <module>
    from .model import JWT, MowerAttributes, MowerList, snake_case
aioautomower/model.py:128: in <module>
    class Mower(DataClassDictMixin):
/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 "error_key" of type 
Optional[str] in Mower is not serializable
____________ ERROR collecting tests/test_low_feature_mower_model.py ____________
tests/test_low_feature_mower_model.py:9: in <module>
    from aioautomower.utils import mower_list_to_dictionary_dataclass
aioautomower/utils.py:15: in <module>
    from .model import JWT, MowerAttributes, MowerList, snake_case
aioautomower/model.py:128: in <module>
    class Mower(DataClassDictMixin):
/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 "error_key" of type 
Optional[str] in Mower is not serializable
____________________ ERROR collecting tests/test_session.py ____________________
tests/test_session.py:11: in <module>
    from aioautomower.auth import AbstractAuth
aioautomower/auth.py:28: in <module>
    from .utils import structure_token
aioautomower/utils.py:15: in <module>
    from .model import JWT, MowerAttributes, MowerList, snake_case
aioautomower/model.py:128: in <module>
    class Mower(DataClassDictMixin):
/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 "error_key" of type 
Optional[str] in Mower is not serializable
___________________ ERROR collecting tests/test_two_mower.py ___________________
tests/test_two_mower.py:7: in <module>
    from aioautomower.auth import AbstractAuth
aioautomower/auth.py:28: in <module>
    from .utils import structure_token
aioautomower/utils.py:15: in <module>
    from .model import JWT, MowerAttributes, MowerList, snake_case
aioautomower/model.py:128: in <module>
    class Mower(DataClassDictMixin):
/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 "error_key" of type 
Optional[str] in Mower is not serializable
_____________________ ERROR collecting tests/test_utils.py _____________________
tests/test_utils.py:9: in <module>
    from aioautomower.auth import AbstractAuth
aioautomower/auth.py:28: in <module>
    from .utils import structure_token
aioautomower/utils.py:15: in <module>
    from .model import JWT, MowerAttributes, MowerList, snake_case
aioautomower/model.py:128: in <module>
    class Mower(DataClassDictMixin):
/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 "error_key" of type 
Optional[str] in Mower is not serializable

---------- coverage: platform linux, python 3.14.2-final-0 -----------
Name                      Stmts   Miss Branch BrPart  Cover   Missing
---------------------------------------------------------------------
aioautomower/auth.py        129    119     24      0     7%   30-197
aioautomower/model.py       240    200     42      0    14%   40-42, 60-62, 67, 
167-648
aioautomower/session.py     208    208     60      0     0%   3-445
aioautomower/utils.py        65     54     14      0    14%   17-168
---------------------------------------------------------------------
TOTAL                       666    581    140      0    11%

3 files skipped due to complete coverage.

FAIL Required test coverage of 50.0% not reached. Total coverage: 10.55%
=========================== short test summary info ============================
ERROR tests/test_error_text.py - mashumaro.exceptions.UnserializableField: Fi...
ERROR tests/test_high_feature_mower_model.py - mashumaro.exceptions.Unseriali...
ERROR tests/test_jwt_model.py - mashumaro.exceptions.UnserializableField: Fie...
ERROR tests/test_low_feature_mower_model.py - mashumaro.exceptions.Unserializ...
ERROR tests/test_session.py - mashumaro.exceptions.UnserializableField: Field...
ERROR tests/test_two_mower.py - mashumaro.exceptions.UnserializableField: Fie...
ERROR tests/test_utils.py - mashumaro.exceptions.UnserializableField: Field "...
!!!!!!!!!!!!!!!!!!! Interrupted: 7 errors during collection !!!!!!!!!!!!!!!!!!!!
============================== 7 errors in 1.33s ===============================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=2: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; python3.14 -m pytest -v tests -k 
'not test_mower_snapshot'
I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; 
python3.13 -m pytest -v tests -k 'not test_mower_snapshot'
============================= test session starts ==============================
platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0 -- 
/usr/bin/python3.13
cachedir: .pytest_cache
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build
configfile: pyproject.toml
plugins: cov-5.0.0, asyncio-1.2.0, typeguard-4.4.4, syrupy-5.0.0
asyncio: mode=Mode.AUTO, debug=False, asyncio_default_fixture_loop_scope=None, 
asyncio_default_test_loop_scope=function
collecting ... collected 20 items / 2 deselected / 18 selected

tests/test_error_text.py::test_error_key PASSED                          [  5%]
tests/test_error_text.py::test_error_keys_snapshot PASSED                [ 11%]
tests/test_error_text.py::test_error_key_dict_snapshot PASSED            [ 16%]
tests/test_high_feature_mower_model.py::test_high_feature_mower PASSED   [ 22%]
tests/test_jwt_model.py::test_decode_token PASSED                        [ 27%]
tests/test_jwt_model.py::test_jwt_snapshot PASSED                        [ 33%]
tests/test_low_feature_mower_model.py::test_low_feature_mower PASSED     [ 38%]
tests/test_session.py::test_connect_disconnect PASSED                    [ 44%]
tests/test_session.py::test_post_commands PASSED                         [ 50%]
tests/test_session.py::test_patch_commands PASSED                        [ 55%]
tests/test_session.py::test_update_data PASSED                           [ 61%]
tests/test_two_mower.py::test_two_mower PASSED                           [ 66%]
tests/test_utils.py::test_naive_to_aware[Europe/Berlin-expected0] PASSED [ 72%]
tests/test_utils.py::test_naive_to_aware[Africa/Abidjan-expected1] PASSED [ 77%]
tests/test_utils.py::test_naive_to_aware[America/Regina-expected2] PASSED [ 83%]
tests/test_utils.py::test_convert_timestamp_to_datetime_utc2[Europe/Berlin-expected0]
 PASSED [ 88%]
tests/test_utils.py::test_convert_timestamp_to_datetime_utc2[Africa/Abidjan-expected1]
 PASSED [ 94%]
tests/test_utils.py::test_convert_timestamp_to_datetime_utc2[America/Regina-expected2]
 PASSED [100%]

---------- coverage: platform linux, python 3.13.11-final-0 ----------
Name                      Stmts   Miss Branch BrPart  Cover   Missing
---------------------------------------------------------------------
aioautomower/auth.py        129     97     24      0    21%   42-47, 57-63, 
67-71, 75-83, 87-91, 95-103, 107-111, 115-123, 127-130, 134-138, 148-168, 
173-185, 189-197
aioautomower/model.py       307      2     42      5    98%   41, 232->234, 
268->270, 271, 527->531
aioautomower/session.py     208     42     60     11    72%   253-254, 258-260, 
265, 272-273, 281-282, 286, 290-291, 298-299, 309->exit, 323, 326->325, 359, 
364-366, 367->exit, 377-379, 387-401, 405-408, 434-437, 441->exit, 442->444
aioautomower/utils.py        65     19     14      0    68%   33-56, 68-84
---------------------------------------------------------------------
TOTAL                       733    160    140     16    74%

3 files skipped due to complete coverage.

Required test coverage of 50.0% reached. Total coverage: 73.88%

--------------------------- snapshot report summary ----------------------------
14 snapshots passed.
======================= 18 passed, 2 deselected in 0.98s =======================
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 
3.13" returned exit code 13
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to