richibrics / IoTuring

Your Windows, Linux, macOS computer as MQTT and HomeAssistant integration
https://pypi.org/project/IoTuring/
GNU General Public License v3.0
82 stars 6 forks source link

Paho MQTT v2 Callbacks #102

Closed richibrics closed 8 months ago

richibrics commented 8 months ago

Prepared Paho MQTT to use v2, following the migration docs

infeeeee commented 8 months ago

I added a notification, so if someone starts the script accidentally with an old paho version, it will fail with a message, not with the python traceback.

I had to manually upgrade to paho v2, I run IoTuring in a venv, and I had to install it again with pip install -e .. I guess it's not common to upgrade the progam without its dependecies, but it can happen.

richibrics commented 8 months ago

I didn't think that scenario but it's correct, if it's installed in editor mode via pip, IoTuring can be updated without updating the dependencies.