Skip to content
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

paho-mqtt 2.0.0 not supported #44

Open
asaka-xperi opened this issue Feb 13, 2024 · 0 comments
Open

paho-mqtt 2.0.0 not supported #44

asaka-xperi opened this issue Feb 13, 2024 · 0 comments

Comments

@asaka-xperi
Copy link

The latest version of the paho-mqtt lib (2.0.0) is not supported.

Work around

sed -i -e "s|paho-mqtt$|paho-mqtt==1.6.1|g" requirements.txt

Error

Traceback (most recent call last):
  File "/home/asaka/dab/dab-compliance-suite/main.py", line 75, in <module>
    Tester = DabTester(args.broker)
  File "/home/asaka/dab/dab-compliance-suite/dab_tester.py", line 11, in __init__
    self.dab_client = DabClient()
  File "/home/asaka/dab/dab-compliance-suite/dab_client.py", line 12, in __init__
    self.__client = mqtt.Client("mqtt5_client",protocol=mqtt.MQTTv5)
  File "/home/asaka/.venv/override/lib/python3.10/site-packages/paho/mqtt/client.py", line 766, in __init__
    raise ValueError(
ValueError: Unsupported callback API version: version 2.0 added a callback_api_version, see migrations.md for details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant