Ipython: jedi0.16によるオートコンプリートに関する非推奨の警告

作成日 2020年03月26日  ·  9コメント  ·  ソース: ipython/ipython

ジェダイ0.16の場合:

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

非推奨の警告をスローします:

/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

最も参考になるコメント

この問題は最新リリース7.14.0で発生しています。 それまでの間、次のリリースの前に、これを解決しようとしている人は誰でもgithubから直接インストールできます。 今では完璧に機能します。

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

全てのコメント9件

問題を解決するためのガイドをいただけますか? @ antonio -rojas

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/")

やあみんな、この問題の状況はどうですか? 誰かがそれに取り組んでいますか?

まあ、私はそれを修正しようとしていますが、参考までに私はこの問題で問題を始めています。

おっと、これはすでに見られています: https

#12227で修正されましたか?

いいえ、1e79c167a41d13eee673b8bb54798cb2f920f957で修正されました

この問題は最新リリース7.14.0で発生しています。 それまでの間、次のリリースの前に、これを解決しようとしている人は誰でもgithubから直接インストールできます。 今では完璧に機能します。

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

これはリリース7.19.0でも見ることができます

このページは役に立ちましたか?
0 / 5 - 0 評価