diff --git a/.claude/skills/managing-dependencies/SKILL.md b/.claude/skills/managing-dependencies/SKILL.md index ac19670c3..b709db715 100644 --- a/.claude/skills/managing-dependencies/SKILL.md +++ b/.claude/skills/managing-dependencies/SKILL.md @@ -19,7 +19,7 @@ The convention resolves this without dropping old-Python support. Pin each inter ## File-layout convention -Each file lists **one dependency per section**: Name of the dependency, an optional rationale note (starting with `Note:`, explaining why a version is pinned or split), then the requirement line(s), separated from the next section by a blank line. This makes every pin self-documenting. +Each file lists **one dependency per section**: Name of the dependency, an optional rationale note (starting with `Note:`, explaining why a version is pinned or split), then the requirement line(s), separated from the next section by a blank line. This makes every pin self-documenting. Keep the note to the *why*; do not restate the per-interpreter ceilings or floors that are already readable on the requirement lines below, and omit the note entirely when the split is self-evident (as the `websockets` entry does). ``` # pytest diff --git a/requirements/optional.txt b/requirements/optional.txt index 449bb4b05..88c89911e 100644 --- a/requirements/optional.txt +++ b/requirements/optional.txt @@ -35,4 +35,7 @@ websockets>=9.1,<16; python_version == "3.9" websockets>=16.1.1,<17; python_version >= "3.10" # websocket-client -websocket-client>=1,<2 +websocket-client>=1,<1.6.2; python_version == "3.7" +websocket-client>=1,<1.9.0; python_version == "3.8" +websocket-client>=1,<1.9.1; python_version == "3.9" +websocket-client>=1.9.1,<2; python_version >= "3.10"