mirror of https://github.com/databricks/cli.git
pass --python to "uv pip install"
This commit is contained in:
parent
e7b77eb8bc
commit
755b8de2b5
|
@ -60,10 +60,10 @@ func testDefaultPython(t *testing.T, pythonVersion string) {
|
||||||
testcli.PrepareReplacementsUser(t, replacements, *user)
|
testcli.PrepareReplacementsUser(t, replacements, *user)
|
||||||
}
|
}
|
||||||
|
|
||||||
tmpDir1 := pythontest.RequirePythonVENV(t, ctx, pythonVersion, true)
|
tmpDir1, pythonExe := pythontest.RequirePythonVENV(t, ctx, pythonVersion, true)
|
||||||
extras, ok := extraInstalls[pythonVersion]
|
extras, ok := extraInstalls[pythonVersion]
|
||||||
if ok {
|
if ok {
|
||||||
args := append([]string{"pip", "install"}, extras...)
|
args := append([]string{"pip", "install", "--python", pythonExe}, extras...)
|
||||||
testutil.RunCommand(t, "uv", args...)
|
testutil.RunCommand(t, "uv", args...)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue