From 755b8de2b5cff36fbd4f93c65e94acb405c6742a Mon Sep 17 00:00:00 2001 From: Denis Bilenko Date: Wed, 18 Dec 2024 22:08:34 +0100 Subject: [PATCH] pass --python to "uv pip install" --- integration/bundle/init_default_python_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integration/bundle/init_default_python_test.go b/integration/bundle/init_default_python_test.go index da8ff0c2f..25f1f7748 100644 --- a/integration/bundle/init_default_python_test.go +++ b/integration/bundle/init_default_python_test.go @@ -60,10 +60,10 @@ func testDefaultPython(t *testing.T, pythonVersion string) { testcli.PrepareReplacementsUser(t, replacements, *user) } - tmpDir1 := pythontest.RequirePythonVENV(t, ctx, pythonVersion, true) + tmpDir1, pythonExe := pythontest.RequirePythonVENV(t, ctx, pythonVersion, true) extras, ok := extraInstalls[pythonVersion] if ok { - args := append([]string{"pip", "install"}, extras...) + args := append([]string{"pip", "install", "--python", pythonExe}, extras...) testutil.RunCommand(t, "uv", args...) }