Closed AckslD closed 1 year ago
I am running into the same issue.
Was facing this on Arch after upgrading python-pygls to v1.0.1-2
Downgrading pygls to v1.0.1-1
worked.
If you're not using arch packages, I think downgrading pygls to a version before typeguard was updated might make the language server work.
I guess jedi-language-server needs to be updated to use newer typeguard as well.
jedi-language-server has no direct dependency on typeguard, nothing should need to be changed on this project
the latest published pygls (1.0.1) has an explicit dependency requiring a version of typeguard before version 3:
curl -s https://pypi.org/pypi/pygls/json | jq '.info.requires_dist'
[
"lsprotocol",
"typeguard (<3,>=2.10.0)",
...
so if any of you are getting typeguard 3.0 or higher with jedi-language-server then you should take that up with whatever tool it is you are using to install it.
I don't think this has anything to do with typeguard
, I have <3.0. However downgrading pygls
from 1.0.1-2
to 1.0.1-1
does work.
this sounds like arch nonsense, there is no such thing as pygls 1.0.1-1 and 1.0.1-2 - https://pypi.org/project/pygls/#history
complain to the arch people if they have made a mess of packaging pygls, there is nothing that this repository can do about that
Fair enough, fyi for anyone else with the same issue, seems to be fixed with 1.0.1-3
again
When running eg
jedi-language-server --version
I get:Which is weird since the decorator of that function does seem to indeed use
lsprotocol.types.CompletionOptions
.My versions are:
jedi-language-server
: 0.40.0pygls
: 1.0.1lsprotocol
: 2023.0.0a1