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 v1 compatibility #153

Merged
merged 4 commits into from
Mar 11, 2024
Merged

Paho v1 compatibility #153

merged 4 commits into from
Mar 11, 2024

Conversation

tyeth
Copy link
Contributor

@tyeth tyeth commented Feb 14, 2024

This PR adds the API compatibility v1 argument to the client. It also uses paho errors instead of the MQTT_ERRORS collection from errors.py
They will be left for legacy reasons, but they don't match all the available errors so should not be relied upon.

Closes #152

@tyeth
Copy link
Contributor Author

tyeth commented Feb 14, 2024

Tagging @brentru for review

Adafruit_IO/errors.py Outdated Show resolved Hide resolved
Adafruit_IO/mqtt_client.py Outdated Show resolved Hide resolved
examples/mqtt/mqtt_shared_feeds.py Show resolved Hide resolved
examples/mqtt/mqtt_viewall.py Show resolved Hide resolved
@brentru
Copy link
Member

brentru commented Feb 20, 2024

@tyeth do you need a re-review?

@tyeth
Copy link
Contributor Author

tyeth commented Feb 20, 2024

@tyeth do you need a re-review?

@brentru Yes please 🙏

@tyeth
Copy link
Contributor Author

tyeth commented Feb 22, 2024

For some reason it wasn't showing me the latest commits when viewing feedback comments, but manually viewing all changes I've verified the errors are deleted and conversations are resolved @brentru .

@tyeth tyeth requested a review from brentru February 22, 2024 14:30
@brentru brentru merged commit 4ce48a8 into master Mar 11, 2024
@brentru brentru deleted the paho-v1-compatibility branch March 11, 2024 13:25
@brentru
Copy link
Member

brentru commented Mar 11, 2024

@tyeth Merged,could you create a new release and close out #152 (comment)?

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.

Compatibility Issue with Latest paho-mqtt Version and Adafruit_IO MQTT_Client Constructor
2 participants