Package: src:python-homewizard-energy Version: 10.2.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/202610/ 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. -------------------------------------------------------------------------------- [...] File "<frozen importlib._bootstrap>", line 915, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 747, in exec_module File "<frozen importlib._bootstrap>", line 549, in _call_with_frames_removed File "/usr/lib/python3/dist-packages/orjson/__init__.py", line 8, in <module> from .orjson import * ModuleNotFoundError: No module named 'orjson.orjson' ============================= test session starts ============================== platform linux -- Python 3.15.0, pytest-9.1.1, pluggy-1.6.0 rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.15/build configfile: pyproject.toml plugins: asyncio-1.4.0, aresponses-3.0.0, cov-7.1.0, syrupy-5.5.3 asyncio: mode=Mode.AUTO, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function collected 0 items ============================ no tests ran in 0.10s ============================= E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.15/build; python3.15 -m pytest --no-cov I: pybuild base:383: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; python3.14 -m pytest --no-cov ============================= test session starts ============================== platform linux -- Python 3.14.8, pytest-9.1.1, pluggy-1.6.0 rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build configfile: pyproject.toml plugins: asyncio-1.4.0, aresponses-3.0.0, cov-7.1.0, syrupy-5.5.3 asyncio: mode=Mode.AUTO, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function collected 334 items tests/test_helpers.py .... [ 1%] tests/test_homewizard_energy.py ........ [ 3%] tests/test_models.py .......... [ 6%] tests/v1/test_v1_combined_models.py ......... [ 9%] tests/v1/test_v1_device.py .............. [ 13%] tests/v1/test_v1_homewizard_energy.py .................................. [ 23%] ........................................ [ 35%] tests/v1/test_v1_measurement.py .... [ 36%] tests/v1/test_v1_models.py ............................................. [ 50%] ....................... [ 57%] tests/v1/test_v1_state.py . [ 57%] tests/v1/test_v1_system.py ............... [ 61%] tests/v2/test_v2_batteries.py ......................... [ 69%] tests/v2/test_v2_device.py ......................... [ 76%] tests/v2/test_v2_homewizard_energy.py .................................. [ 87%] ................. [ 92%] tests/v2/test_v2_measurement.py ..... [ 93%] tests/v2/test_v2_models.py ......... [ 96%] tests/v2/test_v2_system.py ............ [100%] =============================== warnings summary =============================== ../../../../../../usr/lib/python3/dist-packages/backoff/_decorator.py:201 ../../../../../../usr/lib/python3/dist-packages/backoff/_decorator.py:201 /usr/lib/python3/dist-packages/backoff/_decorator.py:201: DeprecationWarning: 'asyncio.iscoroutinefunction' is deprecated and slated for removal in Python 3.16; use inspect.iscoroutinefunction() instead if asyncio.iscoroutinefunction(target): ../../../../../../usr/lib/python3/dist-packages/backoff/_async.py:11 ../../../../../../usr/lib/python3/dist-packages/backoff/_async.py:11 /usr/lib/python3/dist-packages/backoff/_async.py:11: DeprecationWarning: 'asyncio.iscoroutinefunction' is deprecated and slated for removal in Python 3.16; use inspect.iscoroutinefunction() instead if asyncio.iscoroutinefunction(coro_or_func): ../../../../../../usr/lib/python3/dist-packages/backoff/_async.py:127 ../../../../../../usr/lib/python3/dist-packages/backoff/_async.py:127 /usr/lib/python3/dist-packages/backoff/_async.py:127: DeprecationWarning: 'asyncio.iscoroutinefunction' is deprecated and slated for removal in Python 3.16; use inspect.iscoroutinefunction() instead assert not asyncio.iscoroutinefunction(max_tries) ../../../../../../usr/lib/python3/dist-packages/backoff/_async.py:128 ../../../../../../usr/lib/python3/dist-packages/backoff/_async.py:128 /usr/lib/python3/dist-packages/backoff/_async.py:128: DeprecationWarning: 'asyncio.iscoroutinefunction' is deprecated and slated for removal in Python 3.16; use inspect.iscoroutinefunction() instead assert not asyncio.iscoroutinefunction(jitter) 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:988: DeprecationWarning: enable_cleanup_closed ignored because https://github.com/python/cpython/pull/118960 is fixed in Python version sys.version_info(major=3, minor=14, micro=8, releaselevel='final', serial=0) super().__init__( tests/v2/test_v2_batteries.py::test_batteries_battery_count_optional tests/v2/test_v2_batteries.py:31: PytestWarning: The test <Function test_batteries_battery_count_optional> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'. def test_batteries_battery_count_optional(): tests/v2/test_v2_batteries.py::test_batteries_update_modes_and_permissions[zero-zero-expected_permissions0] tests/v2/test_v2_batteries.py:53: PytestWarning: The test <Function test_batteries_update_modes_and_permissions[zero-zero-expected_permissions0]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'. @pytest.mark.parametrize( tests/v2/test_v2_batteries.py::test_batteries_update_modes_and_permissions[zero_charge_only-zero-expected_permissions1] tests/v2/test_v2_batteries.py:53: PytestWarning: The test <Function test_batteries_update_modes_and_permissions[zero_charge_only-zero-expected_permissions1]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'. @pytest.mark.parametrize( tests/v2/test_v2_batteries.py::test_batteries_update_modes_and_permissions[zero_discharge_only-zero-expected_permissions2] tests/v2/test_v2_batteries.py:53: PytestWarning: The test <Function test_batteries_update_modes_and_permissions[zero_discharge_only-zero-expected_permissions2]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'. @pytest.mark.parametrize( tests/v2/test_v2_batteries.py::test_batteries_update_modes_and_permissions[to_full-to_full-None] tests/v2/test_v2_batteries.py:53: PytestWarning: The test <Function test_batteries_update_modes_and_permissions[to_full-to_full-None]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'. @pytest.mark.parametrize( tests/v2/test_v2_batteries.py::test_batteries_update_modes_and_permissions[predictive-predictive-None] tests/v2/test_v2_batteries.py:53: PytestWarning: The test <Function test_batteries_update_modes_and_permissions[predictive-predictive-None]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'. @pytest.mark.parametrize( tests/v2/test_v2_batteries.py::test_batteries_update_modes_and_permissions[standby-standby-expected_permissions5] tests/v2/test_v2_batteries.py:53: PytestWarning: The test <Function test_batteries_update_modes_and_permissions[standby-standby-expected_permissions5]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'. @pytest.mark.parametrize( tests/v2/test_v2_batteries.py::test_set_mode_based_on_permissions[zero-permissions0-zero] tests/v2/test_v2_batteries.py:89: PytestWarning: The test <Function test_set_mode_based_on_permissions[zero-permissions0-zero]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'. @pytest.mark.parametrize( tests/v2/test_v2_batteries.py::test_set_mode_based_on_permissions[zero-permissions1-zero_charge_only] tests/v2/test_v2_batteries.py:89: PytestWarning: The test <Function test_set_mode_based_on_permissions[zero-permissions1-zero_charge_only]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'. @pytest.mark.parametrize( tests/v2/test_v2_batteries.py::test_set_mode_based_on_permissions[zero-permissions2-zero_discharge_only] tests/v2/test_v2_batteries.py:89: PytestWarning: The test <Function test_set_mode_based_on_permissions[zero-permissions2-zero_discharge_only]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'. @pytest.mark.parametrize( tests/v2/test_v2_batteries.py::test_set_mode_based_on_permissions[zero-permissions3-standby] tests/v2/test_v2_batteries.py:89: PytestWarning: The test <Function test_set_mode_based_on_permissions[zero-permissions3-standby]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'. @pytest.mark.parametrize( tests/v2/test_v2_batteries.py::test_set_mode_based_on_permissions[standby-permissions4-standby] tests/v2/test_v2_batteries.py:89: PytestWarning: The test <Function test_set_mode_based_on_permissions[standby-permissions4-standby]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'. @pytest.mark.parametrize( tests/v2/test_v2_batteries.py::test_set_mode_based_on_permissions[to_full-permissions5-to_full] tests/v2/test_v2_batteries.py:89: PytestWarning: The test <Function test_set_mode_based_on_permissions[to_full-permissions5-to_full]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'. @pytest.mark.parametrize( tests/v2/test_v2_batteries.py::test_set_mode_based_on_permissions[zero-None-zero] tests/v2/test_v2_batteries.py:89: PytestWarning: The test <Function test_set_mode_based_on_permissions[zero-None-zero]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'. @pytest.mark.parametrize( tests/v2/test_v2_batteries.py::test_set_mode_based_on_permissions[standby-None-standby] tests/v2/test_v2_batteries.py:89: PytestWarning: The test <Function test_set_mode_based_on_permissions[standby-None-standby]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'. @pytest.mark.parametrize( tests/v2/test_v2_batteries.py::test_set_mode_based_on_permissions[predictive-None-predictive] tests/v2/test_v2_batteries.py:89: PytestWarning: The test <Function test_set_mode_based_on_permissions[predictive-None-predictive]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'. @pytest.mark.parametrize( tests/v2/test_v2_batteries.py::test_set_mode_based_on_permissions[to_full-None-to_full] tests/v2/test_v2_batteries.py:89: PytestWarning: The test <Function test_set_mode_based_on_permissions[to_full-None-to_full]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'. @pytest.mark.parametrize( tests/v2/test_v2_batteries.py::test_predictive_mode_with_various_permissions[permissions0] tests/v2/test_v2_batteries.py:134: PytestWarning: The test <Function test_predictive_mode_with_various_permissions[permissions0]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'. @pytest.mark.parametrize( tests/v2/test_v2_batteries.py::test_predictive_mode_with_various_permissions[permissions1] tests/v2/test_v2_batteries.py:134: PytestWarning: The test <Function test_predictive_mode_with_various_permissions[permissions1]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'. @pytest.mark.parametrize( tests/v2/test_v2_batteries.py::test_predictive_mode_with_various_permissions[permissions2] tests/v2/test_v2_batteries.py:134: PytestWarning: The test <Function test_predictive_mode_with_various_permissions[permissions2]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'. @pytest.mark.parametrize( tests/v2/test_v2_batteries.py::test_predictive_mode_with_various_permissions[permissions3] tests/v2/test_v2_batteries.py:134: PytestWarning: The test <Function test_predictive_mode_with_various_permissions[permissions3]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'. @pytest.mark.parametrize( tests/v2/test_v2_batteries.py::test_set_batteries_update_with_invalid_permissions_raises tests/v2/test_v2_batteries.py:168: PytestWarning: The test <Function test_set_batteries_update_with_invalid_permissions_raises> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'. def test_set_batteries_update_with_invalid_permissions_raises(): tests/v2/test_v2_device.py::test_supported_battery_modes[HWE-SKT-2.2.0-None] tests/v2/test_v2_device.py:69: PytestWarning: The test <Function test_supported_battery_modes[HWE-SKT-2.2.0-None]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'. @pytest.mark.parametrize( tests/v2/test_v2_device.py::test_supported_battery_modes[HWE-WTR-2.2.0-None] tests/v2/test_v2_device.py:69: PytestWarning: The test <Function test_supported_battery_modes[HWE-WTR-2.2.0-None]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'. @pytest.mark.parametrize( tests/v2/test_v2_device.py::test_supported_battery_modes[HWE-P1-2.1.0-expected_modes2] tests/v2/test_v2_device.py:69: PytestWarning: The test <Function test_supported_battery_modes[HWE-P1-2.1.0-expected_modes2]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'. @pytest.mark.parametrize( tests/v2/test_v2_device.py::test_supported_battery_modes[HWE-KWH1-2.1.0-expected_modes3] tests/v2/test_v2_device.py:69: PytestWarning: The test <Function test_supported_battery_modes[HWE-KWH1-2.1.0-expected_modes3]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'. @pytest.mark.parametrize( tests/v2/test_v2_device.py::test_supported_battery_modes[HWE-KWH3-2.1.0-expected_modes4] tests/v2/test_v2_device.py:69: PytestWarning: The test <Function test_supported_battery_modes[HWE-KWH3-2.1.0-expected_modes4]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'. @pytest.mark.parametrize( tests/v2/test_v2_device.py::test_supported_battery_modes[SDM230-wifi-2.1.0-expected_modes5] tests/v2/test_v2_device.py:69: PytestWarning: The test <Function test_supported_battery_modes[SDM230-wifi-2.1.0-expected_modes5]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'. @pytest.mark.parametrize( tests/v2/test_v2_device.py::test_supported_battery_modes[SDM630-wifi-2.1.0-expected_modes6] tests/v2/test_v2_device.py:69: PytestWarning: The test <Function test_supported_battery_modes[SDM630-wifi-2.1.0-expected_modes6]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'. @pytest.mark.parametrize( tests/v2/test_v2_device.py::test_supported_battery_modes[HWE-P1-2.2.0-expected_modes7] tests/v2/test_v2_device.py:69: PytestWarning: The test <Function test_supported_battery_modes[HWE-P1-2.2.0-expected_modes7]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'. @pytest.mark.parametrize( tests/v2/test_v2_device.py::test_supported_battery_modes[HWE-KWH1-2.2.0-expected_modes8] tests/v2/test_v2_device.py:69: PytestWarning: The test <Function test_supported_battery_modes[HWE-KWH1-2.2.0-expected_modes8]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'. @pytest.mark.parametrize( tests/v2/test_v2_device.py::test_supported_battery_modes[HWE-KWH3-2.2.0-expected_modes9] tests/v2/test_v2_device.py:69: PytestWarning: The test <Function test_supported_battery_modes[HWE-KWH3-2.2.0-expected_modes9]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'. @pytest.mark.parametrize( tests/v2/test_v2_device.py::test_supported_battery_modes[SDM230-wifi-2.2.0-expected_modes10] tests/v2/test_v2_device.py:69: PytestWarning: The test <Function test_supported_battery_modes[SDM230-wifi-2.2.0-expected_modes10]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'. @pytest.mark.parametrize( tests/v2/test_v2_device.py::test_supported_battery_modes[SDM630-wifi-2.2.0-expected_modes11] tests/v2/test_v2_device.py:69: PytestWarning: The test <Function test_supported_battery_modes[SDM630-wifi-2.2.0-expected_modes11]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'. @pytest.mark.parametrize( tests/v2/test_v2_device.py::test_supported_battery_modes[HWE-P1-2.3.0-expected_modes12] tests/v2/test_v2_device.py:69: PytestWarning: The test <Function test_supported_battery_modes[HWE-P1-2.3.0-expected_modes12]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'. @pytest.mark.parametrize( tests/v2/test_v2_device.py::test_supported_battery_modes[HWE-KWH1-2.3.0-expected_modes13] tests/v2/test_v2_device.py:69: PytestWarning: The test <Function test_supported_battery_modes[HWE-KWH1-2.3.0-expected_modes13]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'. @pytest.mark.parametrize( tests/v2/test_v2_device.py::test_supported_battery_modes[HWE-KWH3-2.3.0-expected_modes14] tests/v2/test_v2_device.py:69: PytestWarning: The test <Function test_supported_battery_modes[HWE-KWH3-2.3.0-expected_modes14]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'. @pytest.mark.parametrize( tests/v2/test_v2_device.py::test_supported_battery_modes[SDM230-wifi-2.3.0-expected_modes15] tests/v2/test_v2_device.py:69: PytestWarning: The test <Function test_supported_battery_modes[SDM230-wifi-2.3.0-expected_modes15]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'. @pytest.mark.parametrize( tests/v2/test_v2_device.py::test_supported_battery_modes[SDM630-wifi-2.3.0-expected_modes16] tests/v2/test_v2_device.py:69: PytestWarning: The test <Function test_supported_battery_modes[SDM630-wifi-2.3.0-expected_modes16]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'. @pytest.mark.parametrize( -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html --------------------------- snapshot report summary ---------------------------- 189 snapshots passed. ====================== 334 passed, 101 warnings in 8.74s ======================= dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.15 3.14" --parallel=2 returned exit code 13 make: *** [debian/rules:5: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------

