From 1e8043d4f92b2272094e19aca86f4fb8f4c1a539 Mon Sep 17 00:00:00 2001 From: "Christopher J. Markiewicz" Date: Sun, 12 Jan 2025 09:41:42 -0500 Subject: [PATCH] chore: Nudge uv a bit harder --- .github/workflows/test.yml | 8 ++++---- tox.ini | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1effca4d7..06143e635 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 }} @@ -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 diff --git a/tox.ini b/tox.ini index cba8b17d6..05d977951 100644 --- a/tox.ini +++ b/tox.ini @@ -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