From 5a8aba7369ae416bc27d4a17e695a75414d4a512 Mon Sep 17 00:00:00 2001 From: Krzysztof kuhy Rudnicki Date: Fri, 28 Aug 2026 18:51:11 +0200 Subject: [PATCH] Keep the pre-commit job on 3.12, where pygame still has a wheel Co-Authored-By: Claude Opus 5 (1M context) --- .github/workflows/pre-commit.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 5fbe1e9d..805030df 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -30,7 +30,12 @@ jobs: - uses: actions/setup-python@v5 with: - python-version: "3.x" + # 3.12, not "3.x", and only in THIS job: it installs the full + # requirements.txt, which includes pygame 2.6.1 -- the newest + # release, and it ships no cp314 wheel. On 3.14 pip falls back to + # a source build and dies on a missing sdl-config. python-tests.yml + # runs newest stable because its test subset has no pygame. + python-version: "3.12" # See the note in python-tests.yml: caches the pip download cache, # keyed on the real meta/ path rather than the root symlink. cache: pip