-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump jedi versions (and its dependency parso) #86073
Conversation
Seems to break python-language-server. |
Not sure if jedi 0.17 indeed breaks pyls: https://github.com/palantir/python-language-server/blob/develop/setup.py#L38 |
Yes. pyls needs palantir/python-language-server#781 before it works with this jedi version. |
Then it is better to wait until they support newer |
We could downgrade |
Actually there's no need to downgrade pythonFiles/completion.py: digits = jedi.__version__.split('.')
pythonFiles/completion.py: raise RuntimeError('Jedi version %s too old, requires >= 0.13.0' % (jedi.__version__)) I was having problem because I use |
I think pyls now works with jedi 0.17.0. |
Yes we have it in |
@@ -2,17 +2,13 @@ | |||
|
|||
buildPythonPackage rec { | |||
pname = "jedi"; | |||
version = "0.15.2"; | |||
version = "0.17.0"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -6,11 +6,11 @@ | |||
|
|||
buildPythonPackage rec { | |||
pname = "parso"; | |||
version = "0.5.2"; | |||
version = "0.7.0"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
version = "0.7.0"; |
}; | ||
|
||
postPatch = '' | ||
substituteInPlace requirements.txt --replace "parso==0.1.0" "parso" | ||
''; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I cherry-picked this change here: https://github.com/NixOS/nixpkgs/pull/90641/files
Motivation for this change
I'm using
coc.nvim
as my auto-completion helper innvim
. Upon updating it, it requires a newer version ofjedi
(0.17.0
instead of0.15.2
). So I'd like to upgradejedi
to the latest version.parso
is ajedi
dependency. The latestjedi
requires a newer version of this, so I updated that too.Things done
I've put these derivations to a local overlay, and they seem to be working on macOS.
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)