From f22140ad5ae1b4b30703cd369965be92e94b643c Mon Sep 17 00:00:00 2001 From: Alex Tomkins Date: Sat, 14 Nov 2026 12:44:30 +0000 Subject: [PATCH 1/3] Upgrade GitHub Actions --- .github/workflows/ci.yml | 16 ++++++++-------- .github/workflows/publish.yml | 12 ++++++------ 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2dcb879..0825177 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,12 +10,12 @@ jobs: runs-on: ubuntu-24.04 steps: - name: Checkout - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false ref: ${{ github.event.pull_request.head.sha }} - name: Setup Python - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 + uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0 with: python-version: "3.14" cache: "pip" @@ -38,12 +38,12 @@ jobs: fail-fast: false steps: - name: Checkout - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false ref: ${{ github.event.pull_request.head.sha }} - name: Setup Python - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 + uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0 with: python-version: ${{ matrix.python }} cache: "pip" @@ -53,7 +53,7 @@ jobs: pip install $(grep -E "^(tox|tox-uv)==" requirements/local.txt) tox -e ${{ matrix.tox_env }} - name: Upload coverage data - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: name: coverage-data-${{ matrix.tox_env }} include-hidden-files: true @@ -67,18 +67,18 @@ jobs: if: always() steps: - name: Checkout - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false ref: ${{ github.event.pull_request.head.sha }} - name: Setup Python - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 + uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0 with: python-version: "3.14" cache: "pip" cache-dependency-path: "requirements/*.txt" - name: Download coverage data - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 + uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 with: pattern: coverage-data-* merge-multiple: true diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ca01219..fb750a1 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,11 +17,11 @@ jobs: steps: - name: Checkout - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Setup Python - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 + uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0 with: python-version: "3.14" - name: Build packages @@ -29,7 +29,7 @@ jobs: pip install -r requirements/testing.txt make package - name: Upload packages - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: name: python-package-distributions path: dist/ @@ -48,12 +48,12 @@ jobs: steps: - name: Download packages - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 + uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 with: name: python-package-distributions path: dist/ - name: Publish to PyPI - uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0 + uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # v1.14.3 github-release: name: Publish package on GitHub Releases @@ -68,7 +68,7 @@ jobs: steps: - name: Download packages - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 + uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 with: name: python-package-distributions path: dist/ From 9b8dc6d2a1787337a906a5886234fe1b2f498d90 Mon Sep 17 00:00:00 2001 From: Alex Tomkins Date: Sat, 14 Nov 2026 12:44:58 +0000 Subject: [PATCH 2/3] Python 3.15 for GitHub Actions --- .github/workflows/ci.yml | 4 ++-- .github/workflows/publish.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0825177..7b1f8e9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: - name: Setup Python uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0 with: - python-version: "3.14" + python-version: "3.15" cache: "pip" cache-dependency-path: "requirements/*.txt" - name: Run tox @@ -74,7 +74,7 @@ jobs: - name: Setup Python uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0 with: - python-version: "3.14" + python-version: "3.15" cache: "pip" cache-dependency-path: "requirements/*.txt" - name: Download coverage data diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index fb750a1..3a0aad7 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -23,7 +23,7 @@ jobs: - name: Setup Python uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0 with: - python-version: "3.14" + python-version: "3.15" - name: Build packages run: | pip install -r requirements/testing.txt From 353f30403e55e2aa3e0633f8222f694e4e0b3653 Mon Sep 17 00:00:00 2001 From: Alex Tomkins Date: Sat, 14 Nov 2026 12:45:31 +0000 Subject: [PATCH 3/3] Ubuntu 26.04 for GitHub Actions --- .github/workflows/ci.yml | 6 +++--- .github/workflows/publish.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7b1f8e9..c98bc39 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ permissions: {} jobs: matrix: name: Build test matrix - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 steps: - name: Checkout uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 @@ -30,7 +30,7 @@ jobs: test: name: Test -- ${{ matrix.tox_env }} - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 needs: matrix strategy: matrix: @@ -62,7 +62,7 @@ jobs: coverage: name: Coverage - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 needs: test if: always() steps: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3a0aad7..b7fd6eb 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -10,7 +10,7 @@ permissions: {} jobs: build: name: Build packages - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 environment: publish permissions: contents: read @@ -39,7 +39,7 @@ jobs: name: Publish package on PyPI needs: - build - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 environment: name: pypi url: https://pypi.org/project/${{ github.event.repository.name }}/${{ github.ref_name }}/ @@ -59,7 +59,7 @@ jobs: name: Publish package on GitHub Releases needs: - build - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 environment: name: github-releases url: ${{ github.server_url }}/${{ github.repository }}/releases/tag/${{ github.ref_name }}