The newest release of websockets (v5.0) doesnt work with htmqtt 0.9.2. It worked with 4.x.x, but now raises:
...
File "/usr/local/lib/python3.6/dist-packages/hbmqtt/client.py", line 21, in <module>
from websockets.handshake import InvalidHandshake
ImportError: cannot import name 'InvalidHandshake'
Seems the two options are to release a new version of the library that works with websockets v5 or to pin the version of the dependency so the newest version is not installed.
The newest release of websockets (v5.0) doesnt work with
htmqtt
0.9.2. It worked with 4.x.x, but now raises:Seems the two options are to release a new version of the library that works with websockets v5 or to pin the version of the dependency so the newest version is not installed.