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

Fix compatiblity with websockets>=9.0 #241

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mweinelt
Copy link

The client, server, protocol, and auth modules were moved from the websockets package to websockets.legacy sub-package, as part of an upcoming refactoring. Despite the name, they’re still fully supported. The refactoring should be a transparent upgrade for most uses when it’s available. The legacy implementation will be preserved according to the backwards-compatibility policy.

https://websockets.readthedocs.io/en/stable/changelog.html#id5

Fixes: #239

> The client, server, protocol, and auth modules were moved from the websockets package to websockets.legacy sub-package, as part of an upcoming refactoring. Despite the name, they’re still fully supported. The refactoring should be a transparent upgrade for most uses when it’s available. The legacy implementation will be preserved according to the backwards-compatibility policy.

https://websockets.readthedocs.io/en/stable/changelog.html#id5

Fixes: njouanin#239
@deztructor
Copy link

(Tested: it is working)

Copy link

@SylteA SylteA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

works :)

@FlorianLudwig
Copy link
Contributor

FYI

hbmqtt is EOL.

#235

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.

Issue: ModuleNotFoundError: No module named 'websockets.protocol'
4 participants