Skip to content

Commit 60d7efa

Browse files
haasonsaasclaude
andauthored
[micro-agent] Swap pip → uv in CI workflow(s) (#1)
Swap the `python -m pip install` setup steps in `ci.yml` and `release.yml` for `uv pip install --system`, gated on `astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0`. Drops the `pip install -U pip` warmup; version pins for project deps (`.[dev]`, `build`) are unchanged. The `python -m build` and `pypa/gh-action-pypi-publish` steps are left intact. Cross-references the resilience pattern landed in evalops/maestro-internal#1492. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 30bf2d1 commit 60d7efa

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,11 @@ jobs:
1818
with:
1919
python-version: '3.12'
2020

21+
- name: Install uv
22+
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
23+
2124
- name: Install dependencies
22-
run: |
23-
python -m pip install --upgrade pip
24-
pip install -e .[dev]
25+
run: uv pip install --system -e '.[dev]'
2526

2627
- name: Run tests
2728
env:

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,11 @@ jobs:
1616
- uses: actions/setup-python@v5
1717
with:
1818
python-version: '3.12'
19+
- name: Install uv
20+
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
1921
- name: Build sdist and wheel
2022
run: |
21-
python -m pip install --upgrade pip build
23+
uv pip install --system build
2224
python -m build
2325
- name: Publish to PyPI
2426
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)