Skip to content

Commit 5488046

Browse files
WilliamBergaminClaude
andcommitted
chore(deps): cap websockets per-interpreter for Python 3.7/3.8/3.9
websockets raised its min Python in stages, so a flat >=16.1.1 floor is uninstallable on 3.7/3.8/3.9. Split with python_version markers: old interpreters keep their last compatible release, 3.10+ takes >=16.1.1,<17. Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
1 parent e97ee53 commit 5488046

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

requirements/optional.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,11 @@ boto3<=2
2828
SQLAlchemy>=2.0.51,<3
2929

3030
# websockets
31-
# Note: websockets 9 is not compatible with Python 3.10; floor at 9.1.
32-
websockets>=16.1.1,<17
31+
# Note: websockets's minimum Python rose in stages (>=3.8 at 12.0, >=3.9 at 14.0, >=3.10 at 16.0); cap each old interpreter at its last compatible release.
32+
websockets>=9.1,<12; python_version == "3.7"
33+
websockets>=9.1,<14; python_version == "3.8"
34+
websockets>=9.1,<16; python_version == "3.9"
35+
websockets>=16.1.1,<17; python_version >= "3.10"
3336

3437
# websocket-client
3538
websocket-client>=1,<2

0 commit comments

Comments
 (0)