Skip to content

fix: use newer websockets API to check that connection is open#1215

Closed
dimaqq wants to merge 1 commit intojuju:mainfrom
dimaqq:websockets-fix
Closed

fix: use newer websockets API to check that connection is open#1215
dimaqq wants to merge 1 commit intojuju:mainfrom
dimaqq:websockets-fix

Conversation

@dimaqq
Copy link
Copy Markdown
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