File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ jobs:
103103
104104 - name : Prepare environment
105105 run : |
106- echo "UV_PYTHON=${{ matrix.python }}" >>$GITHUB_ENV
106+ # Need this since pyproject.toml doesn't apply to $SRC_DIR.
107107 echo "UV_PYTHON_PREFERENCE=only-managed" >>$GITHUB_ENV
108108
109109 case "${{ runner.os }}" in
@@ -122,6 +122,7 @@ jobs:
122122 - name : Install uv
123123 uses : astral-sh/setup-uv@3259c6206f993105e3a61b142c2d97bf4b9ef83d # v7.1.0
124124 with :
125+ python-version : ${{ matrix.python }}
125126 version-file : " pyproject.toml"
126127 enable-cache : false
127128
Original file line number Diff line number Diff line change @@ -45,4 +45,5 @@ skip-magic-trailing-comma = false
4545
4646[tool .uv ]
4747required-version = " ~=0.9"
48+ python-preference = " only-managed"
4849package = false
You can’t perform that action at this time.
0 commit comments