Package: src:fyta-cli
Version: 0.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:fyta-cli, 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...
Successfully built fyta_cli-0.7.2-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 fyta_cli-0.7.2-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 --asyncio-mode=auto -k "not test_get_plant_list and not 
test_get_plant_data"
============================= 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: pytest.ini
plugins: asyncio-1.2.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 / 1 error

==================================== ERRORS ====================================
___________________ ERROR collecting tests/test_fyta_cli.py ____________________
tests/test_fyta_cli.py:10: in <module>
    from fyta_cli.fyta_client import FYTA_AUTH_URL, FYTA_PLANT_URL
fyta_cli/fyta_client.py:19: in <module>
    from .fyta_models import Credentials
fyta_cli/fyta_models.py:43: in <module>
    class Plant(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 "battery_level" of type 
Optional[float] in Plant is not serializable
=========================== short test summary info ============================
ERROR tests/test_fyta_cli.py - mashumaro.exceptions.UnserializableField: Fiel...
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 0.13s ===============================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=2: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; python3.14 -m pytest 
--asyncio-mode=auto -k "not test_get_plant_list and not test_get_plant_data"
I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; 
python3.13 -m pytest --asyncio-mode=auto -k "not test_get_plant_list and not 
test_get_plant_data"
============================= 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: pytest.ini
plugins: asyncio-1.2.0, syrupy-5.0.0
asyncio: mode=Mode.AUTO, debug=False, asyncio_default_fixture_loop_scope=None, 
asyncio_default_test_loop_scope=function
collected 15 items / 6 deselected / 9 selected

tests/test_fyta_cli.py .........                                         [100%]

======================= 9 passed, 6 deselected in 0.07s ========================
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