Skip to content

Commit 3213f9e

Browse files
committed
CI: prefer uv-managed Python (runner Pythons are PEP 668 locked)
1 parent e51e7ff commit 3213f9e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎.github/workflows/test.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ jobs:
3030
env:
3131
# use system python for uv
3232
UV_SYSTEM_PYTHON: 1
33+
# force uv-managed Python: runner system Pythons are PEP 668
34+
# externally-managed, so `uv pip install` refuses them
35+
UV_PYTHON_PREFERENCE: only-managed
3336

3437
# Steps represent a sequence of tasks that will be executed as part of the job
3538
steps:

0 commit comments

Comments
 (0)