@itachi Works for me
Search Criteria
Package Details: pylance-language-server 2020.10.0-1
Package Actions
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: | Nalivai |
Votes: | 0 |
Popularity: | 0.000000 |
First Submitted: | 2020-07-26 11:29 (UTC) |
Last Updated: | 2022-03-10 10:27 (UTC) |
Dependencies (1)
Required by (0)
Sources (1)
Latest Comments
Nalivai commented on 2022-05-04 20:36 (UTC)
itachi commented on 2021-04-03 03:24 (UTC)
Does this package can be used with code (vscode opensource version)?
sainnhe commented on 2020-10-11 22:40 (UTC) (edited on 2020-10-11 22:50 (UTC) by sainnhe)
Note:
- Installing and using this package may violate the license, use it at your own risk.
- This package will get the latest version number automatically, which is exactly like devel packages with
-git
postfix. To update this package, simply executemakepkg -si
. - 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 (UTC)
@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 (UTC)
@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 (UTC)
@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 (UTC) (edited on 2020-10-11 09:01 (UTC) by Grelek)
@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 (UTC) (edited on 2020-10-11 08:27 (UTC) by sainnhe)
@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 (UTC)
Hi, I'm getting following error when installing through yay.
==> ERROR: pkgver is not allowed to be empty.
Pinned Comments
sainnhe commented on 2020-10-11 22:40 (UTC) (edited on 2020-10-11 22:50 (UTC) by sainnhe)
Note:
-git
postfix. To update this package, simply executemakepkg -si
.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.