Install last wheel with regular 'pip'

This commit is contained in:
Denis Bilenko 2025-03-05 17:21:41 +01:00
parent ca0f3a13eb
commit 0b083e9ffe
1 changed files with 5 additions and 1 deletions

View File

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