Skip to content

Commit 66abbca

Browse files
authored
Fix tests in libs/python/pythontest not to install seed packages (#4828)
With PyPI blocked it was failing with: ``` × Failed to install seed packages ├─▶ No solution found when resolving: `pip`, `setuptools`, `wheel` ├─▶ Failed to fetch: `https://pypi.org/simple/wheel/` ├─▶ Request failed after 3 retries ├─▶ error sending request for url (https://pypi.org/simple/wheel/) ├─▶ client error (Connect) ╰─▶ invalid peer certificate: UnknownIssuer ``` ## Tests ``` % go test ./libs/python/... -count=1 ok github.com/databricks/cli/libs/python 0.455s ok github.com/databricks/cli/libs/python/pythontest 0.718s ```
1 parent 1572b1a commit 66abbca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libs/python/pythontest/pythontest.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ func CreatePythonEnv(opts *VenvOpts) error {
4444
opts.Name = testutil.RandomName("test-venv-")
4545
}
4646

47-
cmd := exec.Command("uv", "venv", opts.Name, "--python", opts.PythonVersion, "--seed", "-q")
47+
cmd := exec.Command("uv", "venv", opts.Name, "--python", opts.PythonVersion, "-q")
4848
cmd.Stdout = os.Stdout
4949
cmd.Stderr = os.Stderr
5050
cmd.Dir = opts.Dir

0 commit comments

Comments
 (0)