From d7ec546e71bedbc13bf1b83879e434c9f0421714 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Wed, 11 Sep 2024 14:25:09 -0500 Subject: [PATCH] Add Python 3.13 system test for Linux (#7302) Previously we only had coverage on Windows e.g. for more test coverage in cases like https://github.com/astral-sh/uv/pull/7300#discussion_r1755343870 I picked Linux over macOS because the 3.13 prereleases are not available via HomeBrew? --- .github/workflows/ci.yml | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1fa9fe29e1ed..9fb218abf0f9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1356,7 +1356,7 @@ jobs: system-test-pyenv: timeout-minutes: 10 needs: build-binary-linux - name: "check system | python via pyenv" + name: "check system | python3.9 via pyenv" runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -1380,6 +1380,33 @@ jobs: - name: "Validate global Python install" run: python3.9 scripts/check_system_python.py --uv ./uv + system-test-linux-313: + timeout-minutes: 10 + needs: build-binary-linux + name: "check system | python3.13" + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-python@v5 + with: + python-version: 3.13 + allow-prereleases: true + + - name: "Download binary" + uses: actions/download-artifact@v4 + with: + name: uv-linux-${{ github.sha }} + + - name: "Prepare binary" + run: chmod +x ./uv + + - name: "Print Python path" + run: echo $(which python3.13) + + - name: "Validate global Python install" + run: python3.13 scripts/check_system_python.py --uv ./uv + system-test-conda: timeout-minutes: 10 needs: