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: use newer websockets API to check that connection is open #1215

Closed
wants to merge 1 commit into from

Conversation

dimaqq
Copy link
Contributor

@dimaqq dimaqq commented Nov 26, 2024

Continuing @freyes #1208

I've validated that there's an integration test for this path: test_monitor_catches_error

I've checked what websockets versions should be supported: at least 12.0 through 14.1

The websockets library has dropped the properties "open" and "closed"
since websockets-13.0[0], this patch makes the changes needed to check
for the connection's state as suggested by the documentation.

[0] python-websockets/websockets@7c8e0b9
@dimaqq dimaqq closed this Nov 26, 2024
jujubot added a commit that referenced this pull request Nov 27, 2024
…bound

#1216

#1215 plus removal of the websockets dep uppper bound
@dimaqq dimaqq deleted the websockets-fix branch January 6, 2025 06:45
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.

2 participants