From 8396d7cd63034b2c1bb84dce094e1918cbc8ce8c Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Fri, 28 Mar 2025 20:35:44 -0400 Subject: [PATCH] Use Python 3.13 for most CI jobs (#17053) --- .github/workflows/build-binaries.yml | 2 +- .github/workflows/ci.yaml | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-binaries.yml b/.github/workflows/build-binaries.yml index b869988d4a..c5f6b28aa6 100644 --- a/.github/workflows/build-binaries.yml +++ b/.github/workflows/build-binaries.yml @@ -28,7 +28,7 @@ permissions: {} env: PACKAGE_NAME: ruff MODULE_NAME: ruff - PYTHON_VERSION: "3.11" + PYTHON_VERSION: "3.13" CARGO_INCREMENTAL: 0 CARGO_NET_RETRY: 10 CARGO_TERM_COLOR: always diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f12dca5979..1a896c815e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -18,7 +18,7 @@ env: CARGO_TERM_COLOR: always RUSTUP_MAX_RETRIES: 10 PACKAGE_NAME: ruff - PYTHON_VERSION: "3.12" + PYTHON_VERSION: "3.13" jobs: determine_changes: @@ -748,7 +748,8 @@ jobs: - uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5 with: - python-version: ${{ env.PYTHON_VERSION }} + # installation fails on 3.13 and newer + python-version: "3.12" - uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4 name: Download development ruff binary