File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
6365set_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
You can’t perform that action at this time.
0 commit comments