Skip to content

Commit 6d09bb6

Browse files
authored
Merge pull request #2011 from EliahKagan/nogil
Test free-threaded Python (but only on Linux)
2 parents 468f91a + 56038c3 commit 6d09bb6

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,16 @@ jobs:
1313
strategy:
1414
matrix:
1515
os-type: [ubuntu, macos, windows]
16-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
16+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.13t"]
1717
exclude:
1818
- os-type: macos
1919
python-version: "3.7" # Not available for the ARM-based macOS runners.
20+
- os-type: macos
21+
python-version: "3.13t"
2022
- os-type: windows
2123
python-version: "3.13" # FIXME: Fix and enable Python 3.13 on Windows (#1955).
24+
- os-type: windows
25+
python-version: "3.13t"
2226
include:
2327
- os-ver: latest
2428
- os-type: ubuntu
@@ -40,11 +44,20 @@ jobs:
4044
fetch-depth: 0
4145

4246
- name: Set up Python ${{ matrix.python-version }}
47+
if: |-
48+
!endsWith(matrix.python-version, 't')
4349
uses: actions/setup-python@v5
4450
with:
4551
python-version: ${{ matrix.python-version }}
4652
allow-prereleases: ${{ matrix.experimental }}
4753

54+
- name: Set up Python ${{ matrix.python-version }} (free-threaded)
55+
if: endsWith(matrix.python-version, 't')
56+
uses: Quansight-Labs/setup-python@v5
57+
with:
58+
python-version: ${{ matrix.python-version }}
59+
allow-prereleases: ${{ matrix.experimental }}
60+
4861
- name: Set up WSL (Windows)
4962
if: matrix.os-type == 'windows'
5063
uses: Vampire/setup-wsl@v5.0.0

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy