ankraft / ACME-oneM2M-CSE

An open source CSE Middleware for Education.
https://acmecse.net/
BSD 3-Clause "New" or "Revised" License
23 stars 16 forks source link

MQTT-Paho 2.0 breaking change bug #147

Closed ankraft closed 5 months ago

ankraft commented 5 months ago

Hi Ankraft,

There seems to be a potential breaking change with the MQTT- Paho have updated to 2.0 and the MQTT client init now requires an extra parameter specifying Apicallback version

https://github.com/eclipse/paho.mqtt.python/releases/tag/v2.0.0

I resolved this by downgrading the mqtt packages on my system python3 -m pip install paho-mqtt==1.6.1

Originally posted by @name-taken23 in https://github.com/ankraft/ACME-oneM2M-CSE/discussions/131#discussioncomment-8901146

ankraft commented 5 months ago

Thanks for reporting. Indeed I didn't noticed that during the final release tests. I will provide a patch later today to support Paho 2.x .

ankraft commented 5 months ago

This should be fixed now. Please use paho version 2.0.