This is an automated email from the ASF dual-hosted git repository.
Gerrrr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/otava.git
The following commit(s) were added to refs/heads/master by this push:
new 48ec08d Fix setup-uv allowlist failure in CI (#164)
48ec08d is described below
commit 48ec08d3bb3d328b38b7f8a3d3ea70b5d78e26af
Author: Alex Sorokoumov <[email protected]>
AuthorDate: Sat Jul 25 16:05:12 2026 -0700
Fix setup-uv allowlist failure in CI (#164)
---
.github/workflows/python-app.yml | 6 ++++--
tox.ini | 2 +-
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml
index 1c03584..4bc40b6 100644
--- a/.github/workflows/python-app.yml
+++ b/.github/workflows/python-app.yml
@@ -45,9 +45,10 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install uv
- uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 #
v7.6.0
+ uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 #
v9.0.0
with:
python-version: ${{ matrix.python-version }}
+ prune-cache: true
- name: Install the project
run: uv sync --all-extras --dev
@@ -76,9 +77,10 @@ jobs:
python-version: "3.10"
- name: Install uv
- uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 #
v7.6.0
+ uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 #
v9.0.0
with:
python-version: "3.14"
+ prune-cache: true
- name: Install the project
run: uv sync --all-extras --dev
diff --git a/tox.ini b/tox.ini
index 62beada..63bdc9e 100644
--- a/tox.ini
+++ b/tox.ini
@@ -47,7 +47,7 @@ setenv =
lint: FLAKE8_OPTS =
lint: UV_OPTS = --quiet
commands_pre =
- uv pip install -e ".[dev]" {env:UV_OPTS}
+ uv sync --active --locked --all-extras {env:UV_OPTS}
commands =
ruff check {env:RUFF_OPTS} --diff .
autoflake {env:AUTOFLAKE_OPTS} --check .