FS#67575 - [python-jedi] Not compatible with python-parso 0.8.0

Attached to Project: Community Packages
Opened by Eike (trallafitti) - Thursday, 13 August 2020, 12:29 GMT
Last edited by freswa (frederik) - Saturday, 10 October 2020, 22:12 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jelle van der Waa (jelly)
Levente Polyak (anthraxx)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 5
Private No

Details

Description:
Version 0.8.0-1 breaks python-jedi<0.18. jedi-0.18 is supposed to be compatible when it is released in a few days/weeks (see https://github.com/davidhalter/jedi/issues/1648#issuecomment-669516613) until then parso should be downgraded to 0.7.0-1.
The only other package depending on python-parso is spyder, which is compatible with 0.7 according to their stated dependencies.

Steps to reproduce:
Install python-language-server (pulling in python-jedi and python-parso respectively) and observe jedi breaking.
Fixed by downgrading python-parso to 0.7.0-1
This task depends upon

Closed by  freswa (frederik)
Saturday, 10 October 2020, 22:12 GMT
Reason for closing:  Won't implement
Additional comments about closing:  We'll track the spyder compatibility here:  FS#68192 
Comment by Eike (trallafitti) - Monday, 17 August 2020, 08:56 GMT
Is there any update on this? Do you intend to wait for jedi 0.18 or is there a possibility for a downgrade?

If the last few major versions of jedi are anything to go by, the update will most likely break compatibility with the current python-language-server and others when it ships.
Comment by Agustín Dall'Alba (Nitsuga) - Friday, 21 August 2020, 12:01 GMT
python-parso 0.8.0 also broke tab completion in ipython. To reproduce, run ipython, import os, and type os.<tab>. There are no completions with python-parso 0.8.0 installed, but after downgrading the package to 0.7.1 it works again.
Comment by Stefan Husmann (stefanhusmann) - Saturday, 10 October 2020, 21:48 GMT
  • Field changed: Percent Complete (100% → 0%)
"The only other package depending on python-parso is spyder, which is compatible with 0.7 according to their stated dependencies."

This is correct, but it means that a downgrade to 0.7.0 is needed, not to 0.7.1.
Comment by Levente Polyak (anthraxx) - Saturday, 10 October 2020, 21:51 GMT
there isnt anything wrong here. spyder is overly restrictive of pinned dependencies. there has been no API related changes in 0.7.1 and the egg restrictions in spyder should simply be relaxed

Loading...