Skip to content

Commit

Permalink
chore: Nudge uv a bit harder
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Jan 12, 2025
1 parent 821f34b commit 1e8043d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,9 @@ jobs:
- name: Set up Python ${{ matrix.python-version }}
if: endsWith(matrix.python-version, 't')
run: |
uv python install ${IMPL}-${VERSION}-${OS%-*}-${ARCH}-${LIBC}
echo "UV_PYTHON=${IMPL}-${VERSION}-${OS%-*}-${ARCH}-${LIBC}" >> $GITHUB_ENV
source $GITHUB_ENV
uv python install $UV_PYTHON
env:
IMPL: cpython
VERSION: ${{ matrix.python-version }}
Expand All @@ -215,9 +217,7 @@ jobs:
run: python -c "import sys; print(sys.version)"
- name: Install tox
run: |
uv tool install tox --with=git+https://github.com/effigies/tox-gh-actions@abiflags --with=tox-uv
env:
UV_PYTHON: ${{ matrix.python-version }}
uv tool install -v tox --with=git+https://github.com/effigies/tox-gh-actions@abiflags --with=tox-uv
- name: Show tox config
run: tox c
- name: Run tox
Expand Down
2 changes: 2 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ pass_env =
NO_COLOR
CLICOLOR
CLICOLOR_FORCE
# uv needs help in this case
py313t-x86: UV_PYTHON
set_env =
pre: PIP_EXTRA_INDEX_URL=https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
pre: UV_EXTRA_INDEX_URL=https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
Expand Down

0 comments on commit 1e8043d

Please sign in to comment.