Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
package/python-paho-mqtt: fix package for python 3.10
Fixes the following error on calling mqtt.publish(): File "/usr/lib/python3.10/site-packages/paho/mqtt/publish.py", line 222, in single multiple([msg], hostname, port, client_id, keepalive, will, auth, tls, File "/usr/lib/python3.10/site-packages/paho/mqtt/publish.py", line 126, in multiple if not isinstance(msgs, collections.Iterable): AttributeError: module 'collections' has no attribute 'Iterable' Backported from eclipse-paho/paho.mqtt.python#497 This was deprecated in python 3.9 and stopped working in python 3.10 Signed-off-by: Marcus Hoffmann <[email protected]> Signed-off-by: Yann E. MORIN <[email protected]>
- Loading branch information