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) }) }