Closed spacemanspiff2007 closed 4 months ago
I thought that paho is pinned to >=1.6.0 <2.0.0, or am I understanding the poetry documentation wrong? From the stack trace, it seems to me like the exception is thrown in paho rather than in aiomqtt.
I am still using 0.16.1 in (yet) another application which pins "paho-mqtt>=1.6.0"
and I'm not a poetry user,
so I thought paho-mqtt = "^1.6.0"
means the same.
I just double checked and aiomqtt 2.0.0 does indeed correcly install paho 1.6.1.
Sorry - my mistake.
Paho 2.0 introduced some new mandatory arg to the Client. If this is not set a really obscure attribute error occurs:
It's necessary to pin paho to < 2.0 otherwise aiomqtt will not work.