8000 Test 3.13t (free-threaded) from Quansight-Labs/setup-python on Windows · hugovk/Pillow@9bf5b55 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9bf5b55

Browse files
committed
Test 3.13t (free-threaded) from Quansight-Labs/setup-python on Windows
1 parent e4b07cc commit 9bf5b55

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

.github/workflows/test-windows.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,18 @@ concurrency:
2828

2929
env:
3030
COVERAGE_CORE: sysmon
31+
FORCE_COLOR: 1
3132

3233
jobs:
3334
build:
3435
runs-on: windows-latest
3536
strategy:
3637
fail-fast: false
3738
matrix:
38-
python-version: ["pypy3.10", "3.9", "3.10", "3.11", "3.12", "3.13"]
39+
python-version: ["pypy3.10", "3.9", "3.10", "3.11", "3.12", "3.13", "3.13t"]
40+
include:
41+
# Free-threaded
42+
- { python-version: "3.13t", disable-gil: true }
3943

4044
timeout-minutes: 30
4145

@@ -63,13 +67,18 @@ jobs:
6367

6468
# sets env: pythonLocation
6569
- name: Set up Python
66-
uses: actions/setup-python@v5
70+
uses: Quansight-Labs/setup-python@v5
6771
with:
6872
python-version: ${{ matrix.python-version }}
6973
allow-prereleases: true
7074
cache: pip
7175
cache-dependency-path: ".github/workflows/test-windows.yml"
7276

77+
- name: Set PYTHON_GIL
78+
if: "${{ matrix.disable-gil }}"
79+
run: |
80+
echo "PYTHON_GIL=0" >> $GITHUB_ENV
81+
7382
- name: Print build system information
7483
run: python3 .github/workflows/system-info.py
7584

@@ -78,7 +87,7 @@ jobs:
7887
python3 -m pip install --upgrade pip
7988
8089
- name: Install CPython dependencies
81-
if: "!contains(matrix.python-version, 'pypy')"
90+
if: "!contains(matrix.python-version, 'pypy') && !matrix.disable-gil"
8291
run: |
8392
python3 -m pip install PyQt6
8493

0 commit comments

Comments
 (0)
0