Skip to content

Commit 37d06ad

Browse files
leliaclaude
andcommitted
fix(dependency-review): use runner Python, forbid uv interpreter download
.python-version pins 3.12.7; setup-python provides 3.12.13, so `uv sync` tried to download the exact managed CPython from GitHub, which Socket Firewall's TLS interception blocked (UnknownIssuer). Set UV_PYTHON=3.12 + UV_PYTHON_DOWNLOADS=never so uv uses the runner interpreter and only PyPI package fetches route through sfw. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent bca454d commit 37d06ad

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/dependency-review.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,14 @@ jobs:
136136
# re-resolving, so the firewall inspects precisely what would install.
137137
# Note: uv's sfw integration is quieter than npm/pip -- it does not
138138
# print the "N packages fetched" footer, but interception is active.
139+
#
140+
# Use the runner's setup-python interpreter and forbid managed-Python
141+
# downloads: .python-version pins an exact patch (3.12.7) that uv would
142+
# otherwise fetch from GitHub, which the firewall's TLS interception
143+
# blocks. The firewall is here to vet PyPI installs, not the toolchain.
144+
env:
145+
UV_PYTHON: "3.12"
146+
UV_PYTHON_DOWNLOADS: never
139147
run: sfw uv sync --locked --extra test --extra dev
140148

141149
- name: Import smoke test

0 commit comments

Comments
 (0)