You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This update added a check for websockets.State.OPEN while also setting websocket-version to websockets = ">=11,<15".
I had websockets 13.0, and State did not exist:
>>> websockets.__version__
'13.0'
>>> websockets.State
Traceback (most recent call last):
File "<python-input-4>", line 1, in <module>
websockets.State
File "<redacted>/websockets/imports.py", line 92, in __getattr__
raise AttributeError(f"module {package!r} has no attribute {name!r}")
AttributeError: module 'websockets' has no attribute 'State'
Which means: the minimum version of websockets which is supported is not 11, but 14.2.
Sandr0x00
changed the title
websockets.State does not exist below websockets 14, but realtime-py claims a minimum version of 11.
websockets.State does not exist below websockets 14, but realtime-py claims to work with a minimum version of 11.
Feb 25, 2025
Bug report
Describe the bug
Realtime is NOT working with websockets below 14.
7e9429f#diff-f53a023eedfa3fbf2925ec7dc76eecdc954ea94b7e47065393dbad519613dc89
This update added a check for
websockets.State.OPEN
while also setting websocket-version to websockets = ">=11,<15".I had websockets 13.0, and State did not exist:
Which means: the minimum version of websockets which is supported is not 11, but 14.2.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
Expected behavior
I want realtime-py to at least complain at installation about dependency-inconsistencies and have them properly maintained.
The text was updated successfully, but these errors were encountered: