From 0b083e9ffee95fa3e96bfa55a5a9cad323bbab10 Mon Sep 17 00:00:00 2001 From: Denis Bilenko Date: Wed, 5 Mar 2025 17:21:41 +0100 Subject: [PATCH] Install last wheel with regular 'pip' --- libs/patchwheel/patch_test.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libs/patchwheel/patch_test.go b/libs/patchwheel/patch_test.go index 8022ec66d..fae09aaed 100644 --- a/libs/patchwheel/patch_test.go +++ b/libs/patchwheel/patch_test.go @@ -173,7 +173,11 @@ func TestPatchWheel(t *testing.T) { require.NoError(t, err) require.Greater(t, patchedWheel3, patchedWheel) - runCmd(t, tempDir, "uv", "pip", "install", "-q", patchedWheel3) + // Now use regular pip to re-install the wheel. First install pip. + runCmd(t, tempDir, "uv", "pip", "install", "-q", "pip") + + pippath := filepath.Join(".venv", getPythonScriptsDir(), "pip") + runCmd(t, tempDir, pippath, "install", "-q", patchedWheel3) verifyVersion(t, tempDir, patchedWheel3) }) }