Skip to content

Commit 1e8043d

Browse files
committed
chore: Nudge uv a bit harder
1 parent 821f34b commit 1e8043d

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/test.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,9 @@ jobs:
199199
- name: Set up Python ${{ matrix.python-version }}
200200
if: endsWith(matrix.python-version, 't')
201201
run: |
202-
uv python install ${IMPL}-${VERSION}-${OS%-*}-${ARCH}-${LIBC}
202+
echo "UV_PYTHON=${IMPL}-${VERSION}-${OS%-*}-${ARCH}-${LIBC}" >> $GITHUB_ENV
203+
source $GITHUB_ENV
204+
uv python install $UV_PYTHON
203205
env:
204206
IMPL: cpython
205207
VERSION: ${{ matrix.python-version }}
@@ -215,9 +217,7 @@ jobs:
215217
run: python -c "import sys; print(sys.version)"
216218
- name: Install tox
217219
run: |
218-
uv tool install tox --with=git+https://github.com/effigies/tox-gh-actions@abiflags --with=tox-uv
219-
env:
220-
UV_PYTHON: ${{ matrix.python-version }}
220+
uv tool install -v tox --with=git+https://github.com/effigies/tox-gh-actions@abiflags --with=tox-uv
221221
- name: Show tox config
222222
run: tox c
223223
- name: Run tox

tox.ini

+2
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ pass_env =
6060
NO_COLOR
6161
CLICOLOR
6262
CLICOLOR_FORCE
63+
# uv needs help in this case
64+
py313t-x86: UV_PYTHON
6365
set_env =
6466
pre: PIP_EXTRA_INDEX_URL=https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
6567
pre: UV_EXTRA_INDEX_URL=https://pypi.anaconda.org/scientific-python-nightly-wheels/simple

0 commit comments

Comments
 (0)