Skip to content

Commit c1302f6

Browse files
committed
pass --python to "uv pip install"
1 parent 775c84b commit c1302f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

integration/bundle/init_default_python_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ func testDefaultPython(t *testing.T, pythonVersion string) {
6060
testcli.PrepareReplacementsUser(t, replacements, *user)
6161
}
6262

63-
tmpDir1 := pythontest.RequirePythonVENV(t, ctx, pythonVersion, true)
63+
tmpDir1, pythonExe := pythontest.RequirePythonVENV(t, ctx, pythonVersion, true)
6464
extras, ok := extraInstalls[pythonVersion]
6565
if ok {
66-
args := append([]string{"pip", "install"}, extras...)
66+
args := append([]string{"pip", "install", "--python", pythonExe}, extras...)
6767
testutil.RunCommand(t, "uv", args...)
6868
}
6969

0 commit comments

Comments
 (0)