Ipython: Deprecation warning on autocompletion with jedi 0.16

Created on 26 Mar 2020  ·  9Comments  ·  Source: ipython/ipython

With jedi 0.16:

In [1]: import warnings                                                                                                                                   
In [2]: warnings.filters.remove(('ignore', None, DeprecationWarning, None, 0))                                                                            
In [3]: a=0                                                                                                                                               
In [4]: a.<TAB>

throws a deprecation warning:

/usr/lib/python3.8/site-packages/jedi/cache.py:111: DeprecationWarning: Deprecated since version 0.16.0. Use get_signatures()[...].params
  result = method(self, *args, **kwargs)
good first issue help wanted

Most helpful comment

I am seeing this issue in the latest release 7.14.0. In the meantime, before the next release, anyone looking to resolve this can install straight off of github. It now works perfectly for me.

pip install git+https://github.com/ipython/ipython.git

All 9 comments

Can you guide me in resolving the issue? @antonio-rojas @Carreau

QtConsole:

\lib\site-packages\jedi\cache.py:111: DeprecationWarning: Deprecated since version 0.16.0. Use get_signatures()[...].params
  result = method(self, *args, **kwargs)

\lib\site-packages\ipykernel\ipkernel.py:454: DeprecationWarning: `input_splitter` is deprecated since IPython 7.0, prefer `input_transformer_manager`.
  status, indent_spaces = self.shell.input_splitter.check_complete(code)

https://github.com/ipython/ipykernel/issues/375

In[1]: import mlflow as m
\lib\site-packages\ipykernel\ipkernel.py:454: DeprecationWarning: `input_splitter` is deprecated since IPython 7.0, prefer `input_transformer_manager`.
  status, indent_spaces = self.shell.input_splitter.check_complete(code)

In[2]: m.set_tracking_uri("http://127.0.0.1:5000/")

Hey guys, what is the status of this issue? Is there someone working on it?

Well, I'm trying to fix it but just FYI I'm having starting problems with this issue.

Ooops this is already being seen: https://github.com/ipython/ipython/pull/12218/

Fixed by #12227?

No, fixed by 1e79c167a41d13eee673b8bb54798cb2f920f957

I am seeing this issue in the latest release 7.14.0. In the meantime, before the next release, anyone looking to resolve this can install straight off of github. It now works perfectly for me.

pip install git+https://github.com/ipython/ipython.git

I can also see this in release 7.19.0

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jakirkham picture jakirkham  ·  4Comments

sataliulan picture sataliulan  ·  4Comments

ipython picture ipython  ·  3Comments

hexhexd picture hexhexd  ·  4Comments

zhao-ji picture zhao-ji  ·  4Comments