@@ -13,12 +13,16 @@ jobs:
1313strategy :
1414matrix :
1515os-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" ]
1717exclude :
1818 -os-type :macos
1919python-version :" 3.7" # Not available for the ARM-based macOS runners.
20+ -os-type :macos
21+ python-version :" 3.13t"
2022 -os-type :windows
2123python-version :" 3.13" # FIXME: Fix and enable Python 3.13 on Windows (#1955).
24+ -os-type :windows
25+ python-version :" 3.13t"
2226include :
2327 -os-ver :latest
2428 -os-type :ubuntu
@@ -40,11 +44,20 @@ jobs:
4044fetch-depth :0
4145
4246 -name :Set up Python ${{ matrix.python-version }}
47+ if :|-
48+ !endsWith(matrix.python-version, 't')
4349uses :actions/setup-python@v5
4450with :
4551python-version :${{ matrix.python-version }}
4652allow-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)
4962if :matrix.os-type == 'windows'
5063uses :Vampire/setup-wsl@v5.0.0