Skip to content

Commit 1b97570

Browse files
haasonsaasclaude
andcommitted
[cd-dspy] Swap pip → uv in CI workflow
Replace `python -m pip install --upgrade pip && python -m pip install -e .[dev]` in both jobs (`test`, `coq-smoke`) with `astral-sh/setup-uv@v8.1.0` (pinned by SHA) followed by `uv pip install --system -e '.[dev]'`. No version pin changes. Hardens CI against the PyPI partial-read timeouts that took down post-merge evals on `main` in evalops/maestro-internal#1492. `uv` resumes partial downloads and retries on connection drops by default. No CLI tool installs in this workflow, so no `uv tool install` retry wrapper is needed yet. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 11da0c6 commit 1b97570

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,11 @@ jobs:
2323
with:
2424
python-version: ${{ matrix.python-version }}
2525

26+
- name: Install uv
27+
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
28+
2629
- name: Install dependencies
27-
run: python -m pip install --upgrade pip && python -m pip install -e .[dev]
30+
run: uv pip install --system -e '.[dev]'
2831

2932
- name: Lint
3033
run: python -m ruff check --select F,B,W291,W292,W293,I001,UP006,UP045,UP035,D212,D202,RUF010,UP015,D205,D200,RUF013,PTH123,E722,SIM102,SIM117,SIM105,RUF001,D415,N806,D102,E741,RUF015,RUF059,RUF022 .
@@ -44,8 +47,11 @@ jobs:
4447
with:
4548
python-version: "3.12"
4649

50+
- name: Install uv
51+
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
52+
4753
- name: Install Python dependencies
48-
run: python -m pip install --upgrade pip && python -m pip install -e .[dev]
54+
run: uv pip install --system -e '.[dev]'
4955

5056
- name: Install Coq
5157
run: |

0 commit comments

Comments
 (0)