From a2e120f7ef3cad13f4d2231329156e9a29a7958d Mon Sep 17 00:00:00 2001 From: Joshua Li Date: Fri, 2 Oct 2026 17:03:50 -0700 Subject: [PATCH 1/2] ci: upgrade ubuntu 20.04/22.04 runners to 24.04 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 358a6a31..ef36cab8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ on: jobs: linting: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 From 1c5422c2b8f0e28e91b4ada581f6055116c22aa2 Mon Sep 17 00:00:00 2001 From: Joshua Li Date: Fri, 2 Oct 2026 17:08:07 -0700 Subject: [PATCH 2/2] ci: install Python 3.10 for the linting job tox's precom and mypy envs pin python3.10, which only the ubuntu-22.04 runner image had preinstalled. ubuntu-24.04 ships 3.12, so linting failed with "could not find python interpreter matching any of the specs python3.10". Install it explicitly with setup-python. Co-Authored-By: Claude Sonnet 5.5 --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ef36cab8..cb17a623 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,6 +14,10 @@ jobs: steps: - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 + # tox's `precom` env pins python3.10, which only ubuntu-22.04 had preinstalled. + - uses: actions/setup-python@7f4fc3e22c37d6ff65e88745f38bd3157c663f7c # v4 + with: + python-version: '3.10' - name: Install dependencies run: | python -m pip install tox