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:
Peter Tripp 2025-09-18 16:40:06 -04:00 committed by GitHub
parent 11212b80f9
commit 530225a06a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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