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

ValueError with paho-mqtt >= 2.0.0 #42

Open
gnuite opened this issue Aug 13, 2024 · 0 comments
Open

ValueError with paho-mqtt >= 2.0.0 #42

gnuite opened this issue Aug 13, 2024 · 0 comments

Comments

@gnuite
Copy link

gnuite commented Aug 13, 2024

When using a version of paho-mqtt greater than 1.6.1 (i.e. 2.0.0 or later), the following ValueError is produced:

ValueError: Unsupported callback API version: version 2.0 added a callback_api_version, see docs/migrations.rst for details

I guess we just need to use the new callback_api_version parameter, i.e. CallbackAPIVersion.VERSION1 for now; maybe consider migrating to VERSION2 in a future release?

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