From c8272d9eeaa210c7b8ab7a5c9dd51852e852e5e5 Mon Sep 17 00:00:00 2001 From: Krzysztof kuhy Rudnicki Date: Sun, 1 Nov 2026 20:15:00 +0100 Subject: [PATCH] ci: pin pylint shard to Python 3.14 (pygame) pygame 2.6.1 has no cp315 wheel; its source build fails on 3.15. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01WzxdWYdwRAtMg7ki6TKxuU --- .github/workflows/pre-commit.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 9dbdd619..b8ebb4e2 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -58,7 +58,9 @@ jobs: - uses: actions/setup-python@v5 id: setup-python with: - python-version: "3.x" + # pylint shard: pygame 2.6.1 (newest) has no cp315 wheel and its + # source build fails on 3.15. Revisit when pygame ships 3.15 support. + python-version: ${{ matrix.group == 'pylint' && '3.14' || '3.x' }} - uses: astral-sh/setup-uv@v10.2.0 # Every hook brings its own environment except the `language: system`