Package: src:pyswitchbot Version: 0.59.0-1 Severity: serious Tags: ftbfs trixie sid
Dear maintainer: During a rebuild of all packages in unstable, your package failed to build: -------------------------------------------------------------------------------- [...] 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: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... running bdist_wheel running build running build_py creating build/lib/switchbot copying switchbot/api_config.py -> build/lib/switchbot copying switchbot/adv_parser.py -> build/lib/switchbot copying switchbot/models.py -> build/lib/switchbot copying switchbot/enum.py -> build/lib/switchbot copying switchbot/discovery.py -> build/lib/switchbot copying switchbot/__init__.py -> build/lib/switchbot copying switchbot/helpers.py -> build/lib/switchbot creating build/lib/switchbot/devices copying switchbot/devices/light_strip.py -> build/lib/switchbot/devices copying switchbot/devices/meter.py -> build/lib/switchbot/devices copying switchbot/devices/relay_switch.py -> build/lib/switchbot/devices copying switchbot/devices/base_cover.py -> build/lib/switchbot/devices copying switchbot/devices/ceiling_light.py -> build/lib/switchbot/devices copying switchbot/devices/humidifier.py -> build/lib/switchbot/devices copying switchbot/devices/contact.py -> build/lib/switchbot/devices copying switchbot/devices/blind_tilt.py -> build/lib/switchbot/devices copying switchbot/devices/bulb.py -> build/lib/switchbot/devices copying switchbot/devices/roller_shade.py -> build/lib/switchbot/devices copying switchbot/devices/base_light.py -> build/lib/switchbot/devices copying switchbot/devices/keypad.py -> build/lib/switchbot/devices copying switchbot/devices/device.py -> build/lib/switchbot/devices copying switchbot/devices/evaporative_humidifier.py -> build/lib/switchbot/devices copying switchbot/devices/plug.py -> build/lib/switchbot/devices copying switchbot/devices/bot.py -> build/lib/switchbot/devices copying switchbot/devices/motion.py -> build/lib/switchbot/devices copying switchbot/devices/lock.py -> build/lib/switchbot/devices copying switchbot/devices/curtain.py -> build/lib/switchbot/devices copying switchbot/devices/__init__.py -> build/lib/switchbot/devices creating build/lib/switchbot/const copying switchbot/const/hub2.py -> build/lib/switchbot/const copying switchbot/const/evaporative_humidifier.py -> build/lib/switchbot/const copying switchbot/const/lock.py -> build/lib/switchbot/const copying switchbot/const/__init__.py -> build/lib/switchbot/const creating build/lib/switchbot/adv_parsers copying switchbot/adv_parsers/light_strip.py -> build/lib/switchbot/adv_parsers copying switchbot/adv_parsers/meter.py -> build/lib/switchbot/adv_parsers copying switchbot/adv_parsers/relay_switch.py -> build/lib/switchbot/adv_parsers copying switchbot/adv_parsers/ceiling_light.py -> build/lib/switchbot/adv_parsers copying switchbot/adv_parsers/humidifier.py -> build/lib/switchbot/adv_parsers copying switchbot/adv_parsers/contact.py -> build/lib/switchbot/adv_parsers copying switchbot/adv_parsers/blind_tilt.py -> build/lib/switchbot/adv_parsers copying switchbot/adv_parsers/bulb.py -> build/lib/switchbot/adv_parsers copying switchbot/adv_parsers/roller_shade.py -> build/lib/switchbot/adv_parsers copying switchbot/adv_parsers/keypad.py -> build/lib/switchbot/adv_parsers copying switchbot/adv_parsers/remote.py -> build/lib/switchbot/adv_parsers copying switchbot/adv_parsers/hub2.py -> build/lib/switchbot/adv_parsers copying switchbot/adv_parsers/plug.py -> build/lib/switchbot/adv_parsers copying switchbot/adv_parsers/hubmini_matter.py -> build/lib/switchbot/adv_parsers copying switchbot/adv_parsers/bot.py -> build/lib/switchbot/adv_parsers copying switchbot/adv_parsers/motion.py -> build/lib/switchbot/adv_parsers copying switchbot/adv_parsers/lock.py -> build/lib/switchbot/adv_parsers copying switchbot/adv_parsers/curtain.py -> build/lib/switchbot/adv_parsers copying switchbot/adv_parsers/leak.py -> build/lib/switchbot/adv_parsers copying switchbot/adv_parsers/__init__.py -> build/lib/switchbot/adv_parsers 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/switchbot copying build/lib/switchbot/api_config.py -> build/bdist.linux-x86_64/wheel/./switchbot copying build/lib/switchbot/adv_parser.py -> build/bdist.linux-x86_64/wheel/./switchbot copying build/lib/switchbot/models.py -> build/bdist.linux-x86_64/wheel/./switchbot creating build/bdist.linux-x86_64/wheel/switchbot/devices copying build/lib/switchbot/devices/light_strip.py -> build/bdist.linux-x86_64/wheel/./switchbot/devices copying build/lib/switchbot/devices/meter.py -> build/bdist.linux-x86_64/wheel/./switchbot/devices copying build/lib/switchbot/devices/relay_switch.py -> build/bdist.linux-x86_64/wheel/./switchbot/devices copying build/lib/switchbot/devices/base_cover.py -> build/bdist.linux-x86_64/wheel/./switchbot/devices copying build/lib/switchbot/devices/ceiling_light.py -> build/bdist.linux-x86_64/wheel/./switchbot/devices copying build/lib/switchbot/devices/humidifier.py -> build/bdist.linux-x86_64/wheel/./switchbot/devices copying build/lib/switchbot/devices/contact.py -> build/bdist.linux-x86_64/wheel/./switchbot/devices copying build/lib/switchbot/devices/blind_tilt.py -> build/bdist.linux-x86_64/wheel/./switchbot/devices copying build/lib/switchbot/devices/bulb.py -> build/bdist.linux-x86_64/wheel/./switchbot/devices copying build/lib/switchbot/devices/roller_shade.py -> build/bdist.linux-x86_64/wheel/./switchbot/devices copying build/lib/switchbot/devices/base_light.py -> build/bdist.linux-x86_64/wheel/./switchbot/devices copying build/lib/switchbot/devices/keypad.py -> build/bdist.linux-x86_64/wheel/./switchbot/devices copying build/lib/switchbot/devices/device.py -> build/bdist.linux-x86_64/wheel/./switchbot/devices copying build/lib/switchbot/devices/evaporative_humidifier.py -> build/bdist.linux-x86_64/wheel/./switchbot/devices copying build/lib/switchbot/devices/plug.py -> build/bdist.linux-x86_64/wheel/./switchbot/devices copying build/lib/switchbot/devices/bot.py -> build/bdist.linux-x86_64/wheel/./switchbot/devices copying build/lib/switchbot/devices/motion.py -> build/bdist.linux-x86_64/wheel/./switchbot/devices copying build/lib/switchbot/devices/lock.py -> build/bdist.linux-x86_64/wheel/./switchbot/devices copying build/lib/switchbot/devices/curtain.py -> build/bdist.linux-x86_64/wheel/./switchbot/devices copying build/lib/switchbot/devices/__init__.py -> build/bdist.linux-x86_64/wheel/./switchbot/devices creating build/bdist.linux-x86_64/wheel/switchbot/adv_parsers copying build/lib/switchbot/adv_parsers/light_strip.py -> build/bdist.linux-x86_64/wheel/./switchbot/adv_parsers copying build/lib/switchbot/adv_parsers/meter.py -> build/bdist.linux-x86_64/wheel/./switchbot/adv_parsers copying build/lib/switchbot/adv_parsers/relay_switch.py -> build/bdist.linux-x86_64/wheel/./switchbot/adv_parsers copying build/lib/switchbot/adv_parsers/ceiling_light.py -> build/bdist.linux-x86_64/wheel/./switchbot/adv_parsers copying build/lib/switchbot/adv_parsers/humidifier.py -> build/bdist.linux-x86_64/wheel/./switchbot/adv_parsers copying build/lib/switchbot/adv_parsers/contact.py -> build/bdist.linux-x86_64/wheel/./switchbot/adv_parsers copying build/lib/switchbot/adv_parsers/blind_tilt.py -> build/bdist.linux-x86_64/wheel/./switchbot/adv_parsers copying build/lib/switchbot/adv_parsers/bulb.py -> build/bdist.linux-x86_64/wheel/./switchbot/adv_parsers copying build/lib/switchbot/adv_parsers/roller_shade.py -> build/bdist.linux-x86_64/wheel/./switchbot/adv_parsers copying build/lib/switchbot/adv_parsers/keypad.py -> build/bdist.linux-x86_64/wheel/./switchbot/adv_parsers copying build/lib/switchbot/adv_parsers/remote.py -> build/bdist.linux-x86_64/wheel/./switchbot/adv_parsers copying build/lib/switchbot/adv_parsers/hub2.py -> build/bdist.linux-x86_64/wheel/./switchbot/adv_parsers copying build/lib/switchbot/adv_parsers/plug.py -> build/bdist.linux-x86_64/wheel/./switchbot/adv_parsers copying build/lib/switchbot/adv_parsers/hubmini_matter.py -> build/bdist.linux-x86_64/wheel/./switchbot/adv_parsers copying build/lib/switchbot/adv_parsers/bot.py -> build/bdist.linux-x86_64/wheel/./switchbot/adv_parsers copying build/lib/switchbot/adv_parsers/motion.py -> build/bdist.linux-x86_64/wheel/./switchbot/adv_parsers copying build/lib/switchbot/adv_parsers/lock.py -> build/bdist.linux-x86_64/wheel/./switchbot/adv_parsers copying build/lib/switchbot/adv_parsers/curtain.py -> build/bdist.linux-x86_64/wheel/./switchbot/adv_parsers copying build/lib/switchbot/adv_parsers/leak.py -> build/bdist.linux-x86_64/wheel/./switchbot/adv_parsers copying build/lib/switchbot/adv_parsers/__init__.py -> build/bdist.linux-x86_64/wheel/./switchbot/adv_parsers creating build/bdist.linux-x86_64/wheel/switchbot/const copying build/lib/switchbot/const/hub2.py -> build/bdist.linux-x86_64/wheel/./switchbot/const copying build/lib/switchbot/const/evaporative_humidifier.py -> build/bdist.linux-x86_64/wheel/./switchbot/const copying build/lib/switchbot/const/lock.py -> build/bdist.linux-x86_64/wheel/./switchbot/const copying build/lib/switchbot/const/__init__.py -> build/bdist.linux-x86_64/wheel/./switchbot/const copying build/lib/switchbot/enum.py -> build/bdist.linux-x86_64/wheel/./switchbot copying build/lib/switchbot/discovery.py -> build/bdist.linux-x86_64/wheel/./switchbot copying build/lib/switchbot/__init__.py -> build/bdist.linux-x86_64/wheel/./switchbot copying build/lib/switchbot/helpers.py -> build/bdist.linux-x86_64/wheel/./switchbot running install_egg_info running egg_info creating PySwitchbot.egg-info writing PySwitchbot.egg-info/PKG-INFO writing dependency_links to PySwitchbot.egg-info/dependency_links.txt writing requirements to PySwitchbot.egg-info/requires.txt writing top-level names to PySwitchbot.egg-info/top_level.txt writing manifest file 'PySwitchbot.egg-info/SOURCES.txt' reading manifest file 'PySwitchbot.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'PySwitchbot.egg-info/SOURCES.txt' Copying PySwitchbot.egg-info to build/bdist.linux-x86_64/wheel/./PySwitchbot-0.59.0.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/PySwitchbot-0.59.0.dist-info/WHEEL creating '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/.tmp-kwzupuye/PySwitchbot-0.59.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'switchbot/__init__.py' adding 'switchbot/adv_parser.py' adding 'switchbot/api_config.py' adding 'switchbot/discovery.py' adding 'switchbot/enum.py' adding 'switchbot/helpers.py' adding 'switchbot/models.py' adding 'switchbot/adv_parsers/__init__.py' adding 'switchbot/adv_parsers/blind_tilt.py' adding 'switchbot/adv_parsers/bot.py' adding 'switchbot/adv_parsers/bulb.py' adding 'switchbot/adv_parsers/ceiling_light.py' adding 'switchbot/adv_parsers/contact.py' adding 'switchbot/adv_parsers/curtain.py' adding 'switchbot/adv_parsers/hub2.py' adding 'switchbot/adv_parsers/hubmini_matter.py' adding 'switchbot/adv_parsers/humidifier.py' adding 'switchbot/adv_parsers/keypad.py' adding 'switchbot/adv_parsers/leak.py' adding 'switchbot/adv_parsers/light_strip.py' adding 'switchbot/adv_parsers/lock.py' adding 'switchbot/adv_parsers/meter.py' adding 'switchbot/adv_parsers/motion.py' adding 'switchbot/adv_parsers/plug.py' adding 'switchbot/adv_parsers/relay_switch.py' adding 'switchbot/adv_parsers/remote.py' adding 'switchbot/adv_parsers/roller_shade.py' adding 'switchbot/const/__init__.py' adding 'switchbot/const/evaporative_humidifier.py' adding 'switchbot/const/hub2.py' adding 'switchbot/const/lock.py' adding 'switchbot/devices/__init__.py' adding 'switchbot/devices/base_cover.py' adding 'switchbot/devices/base_light.py' adding 'switchbot/devices/blind_tilt.py' adding 'switchbot/devices/bot.py' adding 'switchbot/devices/bulb.py' adding 'switchbot/devices/ceiling_light.py' adding 'switchbot/devices/contact.py' adding 'switchbot/devices/curtain.py' adding 'switchbot/devices/device.py' adding 'switchbot/devices/evaporative_humidifier.py' adding 'switchbot/devices/humidifier.py' adding 'switchbot/devices/keypad.py' adding 'switchbot/devices/light_strip.py' adding 'switchbot/devices/lock.py' adding 'switchbot/devices/meter.py' adding 'switchbot/devices/motion.py' adding 'switchbot/devices/plug.py' adding 'switchbot/devices/relay_switch.py' adding 'switchbot/devices/roller_shade.py' adding 'PySwitchbot-0.59.0.dist-info/LICENSE' adding 'PySwitchbot-0.59.0.dist-info/METADATA' adding 'PySwitchbot-0.59.0.dist-info/WHEEL' adding 'PySwitchbot-0.59.0.dist-info/top_level.txt' adding 'PySwitchbot-0.59.0.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Successfully built PySwitchbot-0.59.0-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 /usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:207: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset. The event loop scope for asynchronous fixtures will default to the fixture caching scope. Future versions of pytest-asyncio will default the loop scope for asynchronous fixtures to function scope. Set the default fixture loop scope explicitly in order to avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", "module", "package", "session" warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET)) ============================= test session starts ============================== platform linux -- Python 3.13.2, pytest-8.3.5, pluggy-1.5.0 rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build configfile: pyproject.toml plugins: asyncio-0.25.1, typeguard-4.4.2 asyncio: mode=Mode.STRICT, asyncio_default_fixture_loop_scope=None collected 0 items / 8 errors ==================================== ERRORS ==================================== __________________ ERROR collecting tests/test_adv_parser.py ___________________ ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/test_adv_parser.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_adv_parser.py:8: in <module> from switchbot import SwitchbotModel switchbot/__init__.py:5: in <module> from bleak_retry_connector import ( /usr/lib/python3/dist-packages/bleak_retry_connector/__init__.py:38: in <module> from bluetooth_adapters import load_history_from_managed_objects E ModuleNotFoundError: No module named 'bluetooth_adapters' __________________ ERROR collecting tests/test_base_cover.py ___________________ ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/test_base_cover.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_base_cover.py:6: in <module> from switchbot import SwitchBotAdvertisement, SwitchbotModel switchbot/__init__.py:5: in <module> from bleak_retry_connector import ( /usr/lib/python3/dist-packages/bleak_retry_connector/__init__.py:38: in <module> from bluetooth_adapters import load_history_from_managed_objects E ModuleNotFoundError: No module named 'bluetooth_adapters' __________________ ERROR collecting tests/test_blind_tilt.py ___________________ ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/test_blind_tilt.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_blind_tilt.py:6: in <module> from switchbot import SwitchBotAdvertisement, SwitchbotModel switchbot/__init__.py:5: in <module> from bleak_retry_connector import ( /usr/lib/python3/dist-packages/bleak_retry_connector/__init__.py:38: in <module> from bluetooth_adapters import load_history_from_managed_objects E ModuleNotFoundError: No module named 'bluetooth_adapters' ____________________ ERROR collecting tests/test_curtain.py ____________________ ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/test_curtain.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_curtain.py:6: in <module> from switchbot import SwitchBotAdvertisement, SwitchbotModel switchbot/__init__.py:5: in <module> from bleak_retry_connector import ( /usr/lib/python3/dist-packages/bleak_retry_connector/__init__.py:38: in <module> from bluetooth_adapters import load_history_from_managed_objects E ModuleNotFoundError: No module named 'bluetooth_adapters' ____________ ERROR collecting tests/test_evaporative_humidifier.py _____________ ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/test_evaporative_humidifier.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_evaporative_humidifier.py:7: in <module> from switchbot import SwitchBotAdvertisement, SwitchbotModel switchbot/__init__.py:5: in <module> from bleak_retry_connector import ( /usr/lib/python3/dist-packages/bleak_retry_connector/__init__.py:38: in <module> from bluetooth_adapters import load_history_from_managed_objects E ModuleNotFoundError: No module named 'bluetooth_adapters' _____________________ ERROR collecting tests/test_hub2.py ______________________ ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/test_hub2.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_hub2.py:1: in <module> from switchbot.adv_parsers.hub2 import calculate_light_intensity switchbot/__init__.py:5: in <module> from bleak_retry_connector import ( /usr/lib/python3/dist-packages/bleak_retry_connector/__init__.py:38: in <module> from bluetooth_adapters import load_history_from_managed_objects E ModuleNotFoundError: No module named 'bluetooth_adapters' _________________ ERROR collecting tests/test_relay_switch.py __________________ ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/test_relay_switch.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_relay_switch.py:6: in <module> from switchbot import SwitchBotAdvertisement, SwitchbotModel switchbot/__init__.py:5: in <module> from bleak_retry_connector import ( /usr/lib/python3/dist-packages/bleak_retry_connector/__init__.py:38: in <module> from bluetooth_adapters import load_history_from_managed_objects E ModuleNotFoundError: No module named 'bluetooth_adapters' _________________ ERROR collecting tests/test_roller_shade.py __________________ ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/test_roller_shade.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_roller_shade.py:6: in <module> from switchbot import SwitchBotAdvertisement, SwitchbotModel switchbot/__init__.py:5: in <module> from bleak_retry_connector import ( /usr/lib/python3/dist-packages/bleak_retry_connector/__init__.py:38: in <module> from bluetooth_adapters import load_history_from_managed_objects E ModuleNotFoundError: No module named 'bluetooth_adapters' =========================== short test summary info ============================ ERROR tests/test_adv_parser.py ERROR tests/test_base_cover.py ERROR tests/test_blind_tilt.py ERROR tests/test_curtain.py ERROR tests/test_evaporative_humidifier.py ERROR tests/test_hub2.py ERROR tests/test_relay_switch.py ERROR tests/test_roller_shade.py !!!!!!!!!!!!!!!!!!! Interrupted: 8 errors during collection !!!!!!!!!!!!!!!!!!!! ============================== 8 errors in 0.23s =============================== E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=2: 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:3: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 -------------------------------------------------------------------------------- The above is just how the build ends and not necessarily the most relevant part. If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202504/ 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:pyswitchbot, so that this is still visible in the BTS web page for this package. Thanks.