Package Details: pylance-language-server 2020.10.0-1

Git Clone URL: https://aur.archlinux.org/pylance-language-server.git (read-only, click to copy)
Package Base: pylance-language-server
Description: Python language server based on pylance vscode extension.
Upstream URL: https://marketplace.visualstudio.com/items?itemName=ms-python.vscode-pylance
Keywords: lsp
Licenses: custom: commercial
Conflicts: pylance-language-server
Provides: pylance-language-server
Submitter: sainnhe
Maintainer: None
Last Packager: sainnhe
Votes: 0
Popularity: 0.000000
First Submitted: 2020-07-26 11:29
Last Updated: 2020-10-11 10:37

Pinned Comments

sainnhe commented on 2020-10-11 22:40

Note:

  1. Installing and using this package may violate the license, use it at your own risk.
  2. This package will get the latest version number automatically, which is exactly like devel packages with -git postfix. To update this package, simply execute makepkg -si.
  3. There is a break change in commit 128f3dd5734f, you may need to update your configuration, otherwise the language server will fail to start.

A deletion request has been refused, so this package still exists in AUR in spite of the possible license violation. Anyway, I'm not going to continue to maintain this package.

Latest Comments

alenpaul2001 commented on 2021-04-03 03:24

Does this package can be used with code (vscode opensource version)?

sainnhe commented on 2020-10-11 22:40

Note:

  1. Installing and using this package may violate the license, use it at your own risk.
  2. This package will get the latest version number automatically, which is exactly like devel packages with -git postfix. To update this package, simply execute makepkg -si.
  3. There is a break change in commit 128f3dd5734f, you may need to update your configuration, otherwise the language server will fail to start.

A deletion request has been refused, so this package still exists in AUR in spite of the possible license violation. Anyway, I'm not going to continue to maintain this package.

sainnhe commented on 2020-10-11 10:30

@Grelek: No. You can receive the update only when the .SRCINFO is modified.

The upstream updates this extension so frequently and does not provide any notifications, so I'm unable to update this package in time. I can't find out a better solution currently.

Grelek commented on 2020-10-11 10:17

@sainnhe: The patch you provided works. However I don't think that this is the "correct" way to do it. Would autoupdate work if newer version comes out?

sainnhe commented on 2020-10-11 09:32

@Grelek: Could apply this patch and try again?

diff --git a/version.sh b/version.sh
index eaa2970..464ec78 100755
--- a/version.sh
+++ b/version.sh
@@ -1,6 +1,7 @@
 #!/usr/bin/env sh

-curl -sL "https://marketplace.visualstudio.com/items?itemName=ms-python.vscode-pylance" |\
-    grep -Po '\"Version\":\"20.*?\"' |\
-    sed -r -e 's/^.*\":\"//' \
-    -e 's/\"$//'
+curl -sL "https://github.com/microsoft/pylance-release/raw/master/CHANGELOG.md" |\
+    grep '##' |\
+    head -n 1 |\
+    sed -r -e 's/^## //' \
+    -e 's/ \(.*\)//'

Grelek commented on 2020-10-11 08:59

@sainnhe: The script is executable but the package won't build neither via yay nor makepkg. I also tried echoing the result of sed but it just prints blank line.

sainnhe commented on 2020-10-11 08:25

@Grelek: This package uses a script to get the latest version of pylance, you can check if version.sh can be run correctly.

Grelek commented on 2020-10-11 07:20

Hi, I'm getting following error when installing through yay.

==> ERROR: pkgver is not allowed to be empty.