tkf / emacs-jedi

Python auto-completion for Emacs
http://tkf.github.io/emacs-jedi/latest/
666 stars 89 forks source link

binding broken with jedi >= 0.18 #352

Closed parisni closed 3 years ago

parisni commented 3 years ago

jedi v 0.18 have removed deprecated signatures such goto-definition / assignement (see https://jedi.readthedocs.io/en/latest/docs/changelog.html#id1)

then the binding is broken (workaround: keep jedi 0.17.2)

glyph commented 3 years ago

I just hit this, goto-definition provokes deferred error : (error "\"AttributeError(\\\"type object 'Script' has no attribute 'goto_assignments'\\\")\"")

pagabuc commented 3 years ago

I am not sure if this is the correct way to downgrade the jedi package, but this did the trick for me:

 ~/.emacs.d/.python-environments/default/bin/pip install jedi==0.17.2