Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

python: Remove a redundant pip install call (#38449)

Peter Tripp530225a06a4a
diff --git a/crates/languages/src/python.rs b/crates/languages/src/python.rs
index 4451054cfd2..91c1c675f80 100644
--- a/crates/languages/src/python.rs
+++ b/crates/languages/src/python.rs
@@ -1555,17 +1555,6 @@ impl LspInstaller for PyLspAdapter {
) -> Result<LanguageServerBinary> {
let venv = self.base_venv(delegate).await.map_err(|e| anyhow!(e))?;
let pip_path = venv.join(BINARY_DIR).join("pip3");
- ensure!(
- util::command::new_smol_command(pip_path.as_path())
- .arg("install")
- .arg("python-lsp-server")
- .arg("--upgrade")
- .output()
- .await?
- .status
- .success(),
- "python-lsp-server installation failed"
- );
ensure!(
util::command::new_smol_command(pip_path.as_path())
.arg("install")