Skip to content

Commit 89576b7

Browse files
Kowserclaude
andcommitted
fix(ci): drop pip cache from agent-e2e setup-python
actions/setup-python's `cache: pip` hard-fails when the repo has no requirements.txt or pyproject.toml to hash for the cache key — true for this repo, where Python exists only to run mcp-testkit. Carried over from the Python SDK's agent-e2e workflow, where a pyproject.toml exists. First observed on PR #131: the job died in "Set up Python" before any test ran, and the silently-empty guard correctly reported 0/0. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 46bf0f1 commit 89576b7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/agent-e2e.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ jobs:
4141
uses: actions/setup-python@v5
4242
with:
4343
python-version: '3.12'
44-
cache: 'pip'
44+
# no `cache: pip` — it requires a requirements.txt/pyproject.toml
45+
# to key on, and this repo has neither (Python is mcp-testkit only)
4546

4647
- name: Set up Java
4748
uses: actions/setup-java@v4

0 commit comments

Comments
 (0)