Skip to content

Commit e1bacb4

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 e1bacb4

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

requirements/optional.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,10 @@ 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+
websockets>=9.1,<12; python_version == "3.7"
32+
websockets>=9.1,<14; python_version == "3.8"
33+
websockets>=9.1,<16; python_version == "3.9"
34+
websockets>=16.1.1,<17; python_version >= "3.10"
3335

3436
# websocket-client
3537
websocket-client>=1,<2

0 commit comments

Comments
 (0)