From 7104037cd6ff58fb238a375c6211d10640070709 Mon Sep 17 00:00:00 2001 From: Jonathan Haas Date: Sat, 25 Apr 2026 11:33:25 -0700 Subject: [PATCH] =?UTF-8?q?[micro-agent]=20Swap=20pip=20=E2=86=92=20uv=20i?= =?UTF-8?q?n=20CI=20workflow(s)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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) --- .github/workflows/ci.yml | 7 ++++--- .github/workflows/release.yml | 4 +++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 22b0813..2fd81e7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,10 +18,11 @@ jobs: with: python-version: '3.12' + - name: Install uv + uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0 + - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install -e .[dev] + run: uv pip install --system -e '.[dev]' - name: Run tests env: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 49f5672..00e73b3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,9 +16,11 @@ jobs: - uses: actions/setup-python@v5 with: python-version: '3.12' + - name: Install uv + uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0 - name: Build sdist and wheel run: | - python -m pip install --upgrade pip build + uv pip install --system build python -m build - name: Publish to PyPI uses: pypa/gh-action-pypi-publish@release/v1