fix: stay with paho-mqtt 1.x due to breaking change in 2.0

This fixes psacc crashing with:
TypeError: Client.__init__() missing 1 required positional argument: 'callback_api_version'

paho-mqtt 2.0, released on Feb, 10th, requires additional
arguments to mqtt.Client(), see
https://github.com/eclipse/paho.mqtt.python/blob/v2.0.0/docs/migrations.rst.
So stay with 1.x for now.
This commit is contained in:
Gernot Hillier
2024-02-15 21:58:50 +01:00
parent 073fb1828e
commit 0fc116fbb5
+1 -1
View File
@@ -12,7 +12,7 @@ include = [
[tool.poetry.dependencies]
python = ">=3.7.2, <4.0.0"
paho-mqtt = ">=1.5.0"
paho-mqtt = ">=1.5.0, <2.0.0"
dash = ">=2.9.0, <3.0.0"
dash-daq = "^0.5.0"
plotly = ">=5"