From cd582cacab2504c5b7c04b870cf246d4f7226bd6 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Tue, 8 Oct 2024 12:53:56 -0500 Subject: [PATCH] Fix GitHub Actions integration test (#8013) Fixes bug noted in https://github.com/astral-sh/uv/pull/8012 GitHub upgraded the 3.12 Python version so the path changed! --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 372e26b05..df5c362e1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -914,7 +914,7 @@ jobs: steps: - uses: actions/setup-python@v5 with: - python-version: "3.12" + python-version: "3.12.7" - name: "Download binary" uses: actions/download-artifact@v4 @@ -948,13 +948,13 @@ jobs: - name: "Sync to the system Python" run: ./uv sync -v --python 3.12 env: - UV_PROJECT_ENVIRONMENT: "/opt/hostedtoolcache/Python/3.12.6/x64" + UV_PROJECT_ENVIRONMENT: "/opt/hostedtoolcache/Python/3.12.7/x64" - name: "Attempt to sync to the system Python with an incompatible version" run: | ./uv sync -v --python 3.11 && { echo "ci: Error; should not succeed"; exit 1; } || { echo "ci: Ok; expected failure"; exit 0; } env: - UV_PROJECT_ENVIRONMENT: "/opt/hostedtoolcache/Python/3.12.6/x64" + UV_PROJECT_ENVIRONMENT: "/opt/hostedtoolcache/Python/3.12.7/x64" - name: "Attempt to sync to a non-Python environment directory" run: |