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 | 991 | util::command::new_smol_command(pip_path.as_path()) |
| 992 | 992 | .arg("install") |
| 993 | 993 | .arg("python-lsp-server") |
| 994 | + .arg("-U") | |
| 994 | 995 | .output() |
| 995 | 996 | .await? |
| 996 | 997 | .status |
| @@ -1001,6 +1002,7 @@ impl LspAdapter for PyLspAdapter { · 4 unmodified lines | ||
| 1001 | 1002 | util::command::new_smol_command(pip_path.as_path()) |
| 1002 | 1003 | .arg("install") |
| 1003 | 1004 | .arg("python-lsp-server[all]") |
| 1005 | + .arg("-U") | |
| 1004 | 1006 | .output() |
| 1005 | 1007 | .await? |
| 1006 | 1008 | .status |
| @@ -1011,6 +1013,7 @@ impl LspAdapter for PyLspAdapter { · 4 unmodified lines | ||
| 1011 | 1013 | util::command::new_smol_command(pip_path) |
| 1012 | 1014 | .arg("install") |
| 1013 | 1015 | .arg("pylsp-mypy") |
| 1016 | + .arg("-U") | |
| 1014 | 1017 | .output() |
| 1015 | 1018 | .await? |
| 1016 | 1019 | .status |