-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
272 mqtt v2 does not work #273
Conversation
@FWuellhorst Thanks, for the hotfix. is it correct to mix the API versions? Wouldn't it be better to completely work wirh API-Version V2? Maybe we should split this one in the hotfix and the refactoring issue. |
The hotfix is moved to #276 |
I will also suggest that we should completely upgrade to VERSION2 in this PR. @FWuellhorst can you manage to implement that? Otherwise we can still find someone to take over |
It works for me, I don't have the capacity to update each client usage. We can also merge this an open a new issue. |
@djs0109 any news on this? |
@tstorek we are still reviewing it. If nothing important is missing, it would be merged till next week. |
requirements.txt
Outdated
@@ -16,7 +16,7 @@ python-Levenshtein~=0.23.0 | |||
python-dateutil~=2.8.2 | |||
wget~=3.2 | |||
stringcase~=1.2.0 | |||
paho-mqtt~=1.6.1 | |||
paho-mqtt>=2.0.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please change it to paho-mqtt~=2.0.0
instead of paho-mqtt>=2.0.0
otherwise the code might not work if there is a major release.
setup.py
Outdated
@@ -9,10 +9,11 @@ | |||
|
|||
INSTALL_REQUIRES = ['aenum~=3.1.15', | |||
'datamodel_code_generator[http]~=0.25.0', | |||
'paho-mqtt~=1.6.1', | |||
'paho-mqtt>=2.0.0', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please change it to paho-mqtt~=2.0.0 instead of paho-mqtt>=2.0.0 otherwise the code might not work if there is a major release.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sbanoeon Changed !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@SystemsPurge you have changed in requirements.txt
. Now I also changed it in setup.py
# Conflicts: # tutorials/ngsi_v2/e1_virtual_weatherstation/e1_virtual_weatherstation_solution.py
setup.py
Outdated
@@ -9,10 +9,11 @@ | |||
|
|||
INSTALL_REQUIRES = ['aenum~=3.1.15', | |||
'datamodel_code_generator[http]~=0.25.0', | |||
'paho-mqtt~=1.6.1', | |||
'paho-mqtt>=2.0.0', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@SystemsPurge you have changed in requirements.txt
. Now I also changed it in setup.py
Closes #272
Closes #270
I also removed a redundant warning in the subscription handling, which leads to this messages:
However, the lines below already if both are None and handle them correctly: