Skip to content

Commit 317fdc4

Browse files
committed
update pylsp submodule
1 parent 306cacd commit 317fdc4

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[submodule "pylsp"]
22
path = pylsp
3-
url = git@github.com:Hoblovski/python-lsp-server.git
3+
url = https://github.com/Hoblovski/python-lsp-server.git
44
branch = abc

lang/python/lib.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,14 @@ func InstallLanguageServer() (string, error) {
6666
}
6767
// git submodule init
6868
log.Error("Installing pylsp...")
69-
if err := exec.Command("git", "clone", "https://github.com/Hoblovski/python-lsp-server.git", "pylsp").Run(); err != nil {
69+
if err := exec.Command("git", "submodule", "update", "--remote", "--init", "-f").Run(); err != nil {
7070
log.Error("git clone failed: %v", err)
7171
return "", err
7272
}
7373
// python -m pip install -e projectRoot/pylsp
7474
log.Error("Running `python3 -m pip install -e pylsp/` .\nThis might take some time, make sure the network connection is ok.")
75-
if err := exec.Command("python3", "-m", "pip", "install", "-e", "pylsp/").Run(); err != nil {
76-
log.Error("python -m pip install failed: %v", err)
75+
if err := exec.Command("python3", "-m", "pip", "install", "--break-system-packages", "-e", "pylsp/").Run(); err != nil {
76+
log.Error("python3 -m pip install failed: %v", err)
7777
return "", err
7878
}
7979
if err := exec.Command("pylsp", "--version").Run(); err != nil {

pylsp

Submodule pylsp updated 65 files

0 commit comments

Comments
 (0)