Revert "avoid the warning 'WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.' (#729)"

This reverts commit 33089ebbe9.
This commit is contained in:
Roey Darwish Dror
2021-06-09 16:06:28 +03:00
parent e7fb299e1a
commit 8d0c124d16

View File

@@ -203,12 +203,12 @@ pub fn run_pipx_update(run_type: RunType) -> Result<()> {
} }
pub fn run_pip3_update(run_type: RunType) -> Result<()> { pub fn run_pip3_update(run_type: RunType) -> Result<()> {
let python3 = utils::require("python3")?; let pip3 = utils::require("pip3")?;
print_separator("pip3"); print_separator("pip3");
run_type run_type
.execute(&python3) .execute(&pip3)
.args(&["-m", "pip", "install", "--upgrade", "--user", "pip"]) .args(&["install", "--upgrade", "--user", "pip"])
.check_run() .check_run()
} }