Skip to content

Commit 011d3b6

Browse files
WilliamBergaminClaude
andcommitted
chore(deps): cap websockets per-interpreter for Python 3.7/3.8/3.9
websockets raised its minimum Python in stages (>=3.8 at 12.0, >=3.9 at 14.0, >=3.10 at 16.0), so the flat >=16.1.1 floor left pip with nothing installable on 3.7/3.8/3.9. Split into python_version-marked lines that partition the matrix: each old interpreter keeps its last compatible release while 3.10+ takes the requested >=16.1.1,<17. Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
1 parent e97ee53 commit 011d3b6

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)