Closes #ISSUE Release Notes: - Zed-managed pylsp installations will now correctly upgrade themselves
Unified · Split
| @@ -991,6 +991,7 @@ impl LspAdapter for PyLspAdapter { · 990 unmodified lines | |||
| 991 | util::command::new_smol_command(pip_path.as_path()) | 991 | util::command::new_smol_command(pip_path.as_path()) |
| 992 | .arg("install") | 992 | .arg("install") |
| 993 | .arg("python-lsp-server") | 993 | .arg("python-lsp-server") |
| 994 | .arg("-U") | ||
| 994 | .output() | 995 | .output() |
| 995 | .await? | 996 | .await? |
| 996 | .status | 997 | .status |
| @@ -1001,6 +1002,7 @@ impl LspAdapter for PyLspAdapter { · 4 unmodified lines | |||
| 1001 | util::command::new_smol_command(pip_path.as_path()) | 1002 | util::command::new_smol_command(pip_path.as_path()) |
| 1002 | .arg("install") | 1003 | .arg("install") |
| 1003 | .arg("python-lsp-server[all]") | 1004 | .arg("python-lsp-server[all]") |
| 1005 | .arg("-U") | ||
| 1004 | .output() | 1006 | .output() |
| 1005 | .await? | 1007 | .await? |
| 1006 | .status | 1008 | .status |
| @@ -1011,6 +1013,7 @@ impl LspAdapter for PyLspAdapter { · 4 unmodified lines | |||
| 1011 | util::command::new_smol_command(pip_path) | 1013 | util::command::new_smol_command(pip_path) |
| 1012 | .arg("install") | 1014 | .arg("install") |
| 1013 | .arg("pylsp-mypy") | 1015 | .arg("pylsp-mypy") |
| 1016 | .arg("-U") | ||
| 1014 | .output() | 1017 | .output() |
| 1015 | .await? | 1018 | .await? |
| 1016 | .status | 1019 | .status |