Skip to content

Remove paho-mqtt stubs #12552

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

Merged
merged 2 commits into from
Aug 19, 2024
Merged

Remove paho-mqtt stubs #12552

merged 2 commits into from
Aug 19, 2024

Conversation

sobolevn
Copy link
Member

Closes #11633

This comment has been minimized.

Copy link
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

apprise (https://github.com/caronc/apprise)
+ apprise/plugins/mqtt.py:53: error: Library stubs not installed for "paho.mqtt.client"  [import-untyped]
+ apprise/plugins/mqtt.py:53: note: Hint: "python3 -m pip install types-paho-mqtt"
+ apprise/plugins/mqtt.py:53: note: (or run "mypy --install-types" to install all missing stub packages)
+ apprise/plugins/mqtt.py:53: error: Library stubs not installed for "paho.mqtt"  [import-untyped]
+ apprise/plugins/mqtt.py:53: error: Cannot find implementation or library stub for module named "paho"  [import-not-found]

core (https://github.com/home-assistant/core)
+ homeassistant/components/mqtt/async_client.py:40: error: Class cannot subclass "MQTTClient" (has type "Any")  [misc]

@AlexWaygood AlexWaygood merged commit 78ebab7 into main Aug 19, 2024
48 checks passed
@AlexWaygood AlexWaygood deleted the issue-11633 branch August 19, 2024 12:55
max-muoto pushed a commit to max-muoto/typeshed that referenced this pull request Sep 8, 2024
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.

Remove paho-mqtt types (not before August 10 2024)
2 participants