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

Update to paho-mqtt 2.1.0 #405

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Update to paho-mqtt 2.1.0 #405

wants to merge 2 commits into from

Conversation

Tabisch
Copy link

@Tabisch Tabisch commented Jan 25, 2025

Hi,

i wanna help get this PR in home-assistant get done.
home-assistant/core#136130

As far as i understand the paho-mqtt documentation, bumping the version and adding CallbackAPIVersion.Version1, when creating the Client object should be enough.
https://eclipse.dev/paho/files/paho.mqtt.python/html/migrations.html

You might want to remove types-paho-mqtt, because it isnt needed anymore.
https://pypi.org/project/types-paho-mqtt/1.6.0.20240321/

I cant test this, because i dont own a roomba.

Thank you.

@jbouwh
Copy link

jbouwh commented Jan 25, 2025

It might be possible to allow the paho client to be >= 1.6.1 and <=3.00. This way it does not break fro users that still depend on the old client.

For example: Python-roborock/python-roborock#288

@Tabisch
Copy link
Author

Tabisch commented Jan 25, 2025

Good point.
Didn't think of that.

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

Successfully merging this pull request may close these issues.

2 participants