Package Control marks LSP-pyright as "incompatible" when starting Sublime
genericusername3 opened this issue · comments
I'm not doing any syncing or the likes
Pyright works fine after dismissing this as far as I can tell
Does it only popup one time, or this happens everytime you start ST?
No, this is every time
We do have some changes for LSP-pyright in https://github.com/sublimelsp/repository/blob/dc7ef04096b9d2758ce15a8ef9960727e40ae138/repository.json#L642-L651. But from my test, I can install it with clean ST 4148 without any error. Can you try to reinstall it?
Or try "Package Control: Upgrade Package"
It tells me no packages are upgradeable (and I tried reinstalling first because the message told me to) and the issue still persists, the package-metadata.json
in the package file has "version": "1.2.29", "sublime_text": "3154 - 4147"
, is that an outdated package version?
(sorry about the previous comment, I was on the go and didn't read properly before replying)
It should use "version": "1.2.29", "sublime_text": ">=4148"
.
Can you run from pathlib import Path; import shutil; shutil.rmtree(Path(sublime.cache_path()) / 'Package Control')
in ST console to delete Package Control's cache. And then restart ST?
Clearing the cache alone didn't fix it, but a reinstall after that did the trick, thank you very much!