-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Sanic v19.3 not support websockets v7.0. #1597
Comments
Yes, that is correct. Sanic requires See #1214 and #1233. There are probably some others too I am missing. If you are at all interested in taking this on, I can help point you in the direction needed. If you want to run |
Got it! Right now just because I want to use websockets module as a client to test, but I can install v7.0 outside of the venv. |
👍 FWIW, I added an alias to my terminal to conveniently allow me to connect using the CLI utility regardless of what environment I am in.
Alias:
|
I tried current git master with websockets 8.0.1 and all tests pass OK. The requirement for websockets<7 is causing dependency issues, especially when multiple web frameworks are used in the same project. Issues #1214 and #1233 appear to be about new features. Is there still something that is actually broken by using the latest websockets version? |
@Tronic The last I had tested it, there were some breaking changes in names. And, in running
|
See #1635 for a fix. |
Sanic v19.3 required websockets version >=6.0 and <7.0. Is there any break change from v6.0 to v7.0? Websockets v6.0 not support to run as a module like
python -m websockets wss://echo.websocket.org/
.The text was updated successfully, but these errors were encountered: