Skip to content

Commit 16e409a

Browse files
committed
Test 3.13t (free-threaded) from Quansight-Labs/setup-python on Linux/macOS
1 parent e4b07cc commit 16e409a

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ jobs:
4242
]
4343
python-version: [
4444
"pypy3.10",
45+
"3.13t",
4546
"3.13",
4647
"3.12",
4748
"3.11",
@@ -52,23 +53,22 @@ jobs:
5253
- { python-version: "3.11", PYTHONOPTIMIZE: 1, REVERSE: "--reverse" }
5354
- { python-version: "3.10", PYTHONOPTIMIZE: 2 }
5455
# Free-threaded
55-
- { os: "ubuntu-latest", python-version: "3.13-dev", disable-gil: true }
56+
- { python-version: "3.13t", disable-gil: true }
5657
# M1 only available for 3.10+
5758
- { os: "macos-13", python-version: "3.9" }
5859
exclude:
5960
- { os: "macos-latest", python-version: "3.9" }
6061

6162
runs-on: ${{ matrix.os }}
62-
name: ${{ matrix.os }} Python ${{ matrix.python-version }} ${{ matrix.disable-gil && 'free-threaded' || '' }}
63+
name: ${{ matrix.os }} Python ${{ matrix.python-version }}
6364

6465
steps:
6566
- uses: actions/checkout@v4
6667
with:
6768
persist-credentials: false
6869

6970
- name: Set up Python ${{ matrix.python-version }}
70-
uses: actions/setup-python@v5
71-
if: "${{ !matrix.disable-gil }}"
71+
uses: Quansight-Labs/setup-python@v5
7272
with:
7373
python-version: ${{ matrix.python-version }}
7474
allow-prereleases: true
@@ -77,13 +77,6 @@ jobs:
7777
".ci/*.sh"
7878
"pyproject.toml"
7979
80-
- name: Set up Python ${{ matrix.python-version }} (free-threaded)
81-
uses: deadsnakes/[email protected]
82-
if: "${{ matrix.disable-gil }}"
83-
with:
84-
python-version: ${{ matrix.python-version }}
85-
nogil: ${{ matrix.disable-gil }}
86-
8780
- name: Set PYTHON_GIL
8881
if: "${{ matrix.disable-gil }}"
8982
run: |

0 commit comments

Comments
 (0)