@@ -113,7 +113,7 @@ jobs:
113
113
fail-fast : false
114
114
matrix :
115
115
os : ['ubuntu-latest', 'windows-latest', 'macos-13', 'macos-latest']
116
- python-version : ["3.9", "3.10", "3.11", "3.12"]
116
+ python-version : ["3.9", "3.10", "3.11", "3.12", "3.13t" ]
117
117
architecture : ['x64', 'x86', 'arm64']
118
118
dependencies : ['full', 'pre']
119
119
include :
@@ -125,10 +125,6 @@ jobs:
125
125
- os : ubuntu-latest
126
126
python-version : 3.9
127
127
dependencies : ' min'
128
- # NoGIL
129
- - os : ubuntu-latest
130
- python-version : ' 3.13-dev'
131
- dependencies : ' dev'
132
128
exclude :
133
129
# x86 for Windows + Python<3.12
134
130
- os : ubuntu-latest
@@ -139,6 +135,8 @@ jobs:
139
135
architecture : x86
140
136
- python-version : ' 3.12'
141
137
architecture : x86
138
+ - python-version : ' 3.13t'
139
+ architecture : x86
142
140
# arm64 is available for macos-14+
143
141
- os : ubuntu-latest
144
142
architecture : arm64
@@ -167,25 +165,29 @@ jobs:
167
165
with :
168
166
submodules : recursive
169
167
fetch-depth : 0
168
+ - name : Install the latest version of uv
169
+ uses : astral-sh/setup-uv@v3
170
170
- name : Set up Python ${{ matrix.python-version }}
171
- if : " !endsWith(matrix.python-version, '-dev ')"
171
+ if : " !endsWith(matrix.python-version, 't ')"
172
172
uses : actions/setup-python@v5
173
173
with :
174
174
python-version : ${{ matrix.python-version }}
175
175
architecture : ${{ matrix.architecture }}
176
176
allow-prereleases : true
177
177
- name : Set up Python ${{ matrix.python-version }}
178
- if : endsWith(matrix.python-version, '-dev')
179
- uses :
deadsnakes/[email protected]
180
- with :
181
- python-version : ${{ matrix.python-version }}
182
- nogil : true
178
+ if : endsWith(matrix.python-version, 't')
179
+ run : |
180
+ uv python install ${{ matrix.python-version }}
181
+ uv venv --python ${{ matrix.python-version }} ../.venv
182
+ . .venv/bin/activate
183
+ echo "PATH=$PATH" >> $GITHUB_ENV
184
+ echo "VIRTUAL_ENV=$VIRTUAL_ENV" >> $GITHUB_ENV
185
+ uv pip install pip
183
186
- name : Display Python version
184
187
run : python -c "import sys; print(sys.version)"
185
188
- name : Install tox
186
189
run : |
187
- python -m pip install --upgrade pip
188
- python -m pip install tox tox-gh-actions
190
+ uv tool install tox --with=tox-gh-actions --with=tox-uv
189
191
- name : Show tox config
190
192
run : tox c
191
193
- name : Run tox
0 commit comments