randomsync / robotframework-mqttlibrary

MQTT Keyword Library for Robot Framework
Apache License 2.0
25 stars 30 forks source link

Unpinned `paho-mqtt` dependency in the `setup.py` #29

Open Lenormju opened 2 years ago

Lenormju commented 2 years ago

In the requirements.txt :

paho-mqtt~=1.1

which means roughly "any 1.1.x version".

While in the setup.py :

    install_requires  = ['robotframework', 'paho-mqtt'],

which means roughly "any version of paho-mqtt".

I am no expert at Python dependencies and packaging, but if my assumptions are correct, then it looks like an inconsistency. Should paho-mqtt version be pinned to 1.1.x for robotframework-mqttlibrary to work ? Because that's what is implied by the requirements file.


I noticed this problem while investigating errors that started happening in my Robot tests after upgrading paho-mqtt from 1.5.1 to 1.6.1 :

I don't know yet if these problem come from this library or from paho itself, I still haven't found out.