Opened 7 years ago

Closed 6 years ago

#54031 closed defect (fixed)

py-ipython: dependency on jedi missing?

Reported by: cdeil (Christoph Deil) Owned by: lpsinger (Leo Singer)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: lpsinger (Leo Singer), seanfarley (Sean Farley), stromnov (Andrey Stromnov), ionic
Port: py-ipython

Description

I just updated to py35-ipython @6.0.0_0 and wanted to try out the new tab completion feature (see http://ipython.readthedocs.io/en/stable/whatsnew/version6.html#new-completion-api-and-interface).

Blew right up in my face: https://gist.github.com/cdeil/e87b6033fa70117ec48c1c9a04d6cef1

Is it just that the dependency on jedi is missing? Or is this a bug? Can you make it better?

Change History (13)

comment:1 Changed 7 years ago by lpsinger (Leo Singer)

Owner: set to lpsinger
Status: newaccepted

Wow, that's a pretty long traceback! I added the dependency on jedi, and it looks like you have it installed. I'll try to reproduce on my own machine.

comment:2 Changed 7 years ago by lpsinger (Leo Singer)

I get the same error on my machine.

comment:3 Changed 7 years ago by lpsinger (Leo Singer)

I uninstalled an reinstalled py36-jedi and it worked.

comment:4 Changed 7 years ago by cdeil (Christoph Deil)

Uninstalling and reinstalling py-jedi doesn't help for me with Python 3.5 and 3.6. Same issue.

comment:5 Changed 7 years ago by lpsinger (Leo Singer)

Do you have the file /opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/jedi/parser/python/grammar3.5.txt?

comment:6 Changed 7 years ago by cdeil (Christoph Deil)

No, I don't have that file.

Here's the list of files I have from py35-jedi: https://gist.github.com/cdeil/e47dad0ec16a86d912fe23d7a937e3c9

comment:7 Changed 7 years ago by lpsinger (Leo Singer)

What happens if you uninstall py35-jedi and reinstall it from source?

$ sudo port -vs install py35-jedi

comment:8 Changed 7 years ago by cdeil (Christoph Deil)

If I install jedi from source as you suggest, the file is there and the ipython tab completion issue is gone.

Full log: https://gist.github.com/cdeil/91bf26ec1ba29b0be2888f0dc6a99bfd

comment:9 Changed 7 years ago by lpsinger (Leo Singer)

@stromnov, would you please try revbumping py-jedi?

comment:10 Changed 7 years ago by Ionic (Mihai Moldovan)

Cc: ionic added

I had to revbump py-jedi due to a pseudo-stealth update. Can this ticket be closed?

comment:11 Changed 6 years ago by petrrr

Is this fixed?

comment:12 Changed 6 years ago by cdeil (Christoph Deil)

I think this issue is resolved and can be closed.

comment:13 Changed 6 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: acceptedclosed
Note: See TracTickets for help on using tickets.