Fix missing PyBluez dependency

The code imports 'bluetooth._bluetooth' which requires the PyBluez package
(not bluepy). PyBluez provides Classic Bluetooth support needed by utils.py
and sensor_reader.py.

- Add pybluez>=0.31 to both requirements.txt and pyproject.toml
- Keep bluepy and paho-mqtt as they are also needed
- bluez system package also needed (already in debian/control)

Fixes: ModuleNotFoundError: No module named 'bluetooth'
This commit is contained in:
2025-12-28 00:33:35 +01:00
parent 3e759d30ed
commit f2ac55eac1
2 changed files with 2 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
pybluez
bluepy
paho-mqtt