Add websockets 16.0 compatibility#120
Open
DontFretBrett wants to merge 4 commits intocoinbase:masterfrom
Open
Conversation
- Configured to run weekly on Mondays at 9am PST - Groups all dependency updates into a single PR - Ignores major version updates (require manual review) - Adds appropriate labels for automated PRs
- Update all dependencies to their latest compatible versions - Fix websockets 16.0 compatibility: - Change extra_headers → additional_headers parameter - Change open attribute check → state == websockets.State.OPEN - Fix SSL context deprecation warning - Update requirements constraints for websockets (<17.0) - Tested basic functionality and imports work correctly
- Apply black 26.1.0 formatting changes - Apply isort 7.0.0 import sorting - Fixes CI formatting check failures
- Fix formatting on all project files (not virtual env) - Ensure CI formatting check passes
🟡 Heimdall Review Status
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds compatibility with websockets 16.0 which includes breaking changes:
Changes
extra_headers→additional_headersin websocket connectionwebsocket.openattribute →websocket.state == websockets.State.OPENssl.create_default_context()instead of deprecatedssl.SSLContext()<14.0→<17.0>=42.0.4→>=46.0.5>=2.31.0→>=2.32.5>=2.8.0→>=2.11.0.github/dependabot.ymlfor automated dependency updatesTesting
This update is important for users who need to upgrade to websockets 16.0 for security updates and new features. The Dependabot configuration will help maintain dependency freshness going forward.