From 22e47e38bba354f85a55c875688bc447fd618bcc Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Sun, 10 May 2026 14:36:29 +0300 Subject: [PATCH] Simplify setting PYTHON_GIL --- .github/workflows/test.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d90cc805a..154455e1a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -51,10 +51,6 @@ jobs: include: - { python-version: "3.12", PYTHONOPTIMIZE: 1, REVERSE: "--reverse" } - { python-version: "3.11", PYTHONOPTIMIZE: 2 } - # Free-threaded - - { python-version: "3.15t", disable-gil: true } - - { python-version: "3.14t", disable-gil: true } - - { python-version: "3.13t", disable-gil: true } # Intel - { os: "macos-26-intel", python-version: "3.10" } exclude: @@ -79,7 +75,7 @@ jobs: "pyproject.toml" - name: Set PYTHON_GIL - if: "${{ matrix.disable-gil }}" + if: endsWith(matrix.python-version, 't') run: | echo "PYTHON_GIL=0" >> $GITHUB_ENV