palantir / python-language-server

An implementation of the Language Server Protocol for Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

test/plugins/test_folding.py fails: extra range produced

juliangilbey opened this issue · comments

The test_folding test fails when using Python 3.9 and parso 0.8.1 (though I don't know whether that is the source of the change); inserting a new line:

                {'startLine': 9, 'endLine': 10},

in the expected list allows the test to pass, but I don't know whether this is showing up a bug somewhere.

This package doesn't support Parso 0.8 nor Jedi 0.18 yet.

Ah, thanks!

On the positive side: ipython/ipython#12740 (comment)
Best wishes, Julian

IPython is not related to this project, sorry.

I was referring to @davidhalter's comment that jedi will soon become stable:

Sorry for that. I did not realize that IPython with that fix was not released yet. I usually test IPython completions before doing a Jedi release, but not this time :/. It will probably also not happen in the future anymore, because I'm going to release Jedi 1.0 soon, so this is probably the last time for a long time that you have to deal with deprecations in Jedi.

Best wishes, Julian