File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -199,7 +199,18 @@ jobs:
199
199
- name : Set up Python ${{ matrix.python-version }}
200
200
if : endsWith(matrix.python-version, 't')
201
201
run : |
202
- uv python install ${{ matrix.python-version }}
202
+ uv python install ${IMPL}-${VERSION}-${OS%-*}-${ARCH}-${LIBC}
203
+ env :
204
+ IMPL : cpython
205
+ VERSION : ${{ matrix.python-version }}
206
+ # uv expects linux|macos|windows, we can drop the -* but need to rename ubuntu
207
+ OS : ${{ matrix.os == 'ubuntu-latest' && 'linux' || matrix.os }}
208
+ # uv expects x86, x86_64, aarch64 (among others)
209
+ ARCH : ${{ matrix.architecture == 'x64' && 'x86_64' ||
210
+ matrix.architecture == 'arm64' && 'aarch64' ||
211
+ matrix.architecture }}
212
+ # windows and macos have no options, gnu is the only option for the archs
213
+ LIBC : ${{ matrix.os == 'ubuntu-latest' && 'gnu' || 'none' }}
203
214
- name : Display Python version
204
215
run : python -c "import sys; print(sys.version)"
205
216
- name : Install tox
You can’t perform that action at this time.
0 commit comments