mirror of
https://github.com/zed-industries/zed.git
synced 2026-06-01 03:14:56 +07:00
python: Remove a redundant pip install call (#38449)
I confirmed that the pip packages match for: ```sh pip install python-lsp-server && pip install 'python-lsp-server[all]' pip install 'python-lsp-server[all]' ``` Originally introduced here: - https://github.com/zed-industries/zed/pull/20358 Release Notes: - N/A
This commit is contained in:
parent
11212b80f9
commit
530225a06a
1 changed files with 0 additions and 11 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in a new issue