Bug ID | 1103013 |
---|---|
Summary | python3-prompt_toolkit 2.0.4 Is Incompatible with python3-jupyter_ipython 6.4.0 |
Classification | openSUSE |
Product | openSUSE Tumbleweed |
Version | Current |
Hardware | x86-64 |
OS | Other |
Status | NEW |
Severity | Major |
Priority | P5 - None |
Component | Other |
Assignee | bnc-team-screening@forge.provo.novell.com |
Reporter | ron163264@gmail.com |
QA Contact | qa-bugs@suse.de |
Found By | --- |
Blocker | --- |
The ipython3 programs fails to start: lovells@ron5tum:~$ ipython3 Traceback (most recent call last): File "/usr/bin/ipython3", line 4, in <module> from IPython import start_ipython File "/usr/lib/python3.6/site-packages/IPython/__init__.py", line 55, in <module> from .terminal.embed import embed File "/usr/lib/python3.6/site-packages/IPython/terminal/embed.py", line 16, in <module> from IPython.terminal.interactiveshell import TerminalInteractiveShell File "/usr/lib/python3.6/site-packages/IPython/terminal/interactiveshell.py", line 22, in <module> from prompt_toolkit.shortcuts import create_prompt_application, create_eventloop, create_prompt_layout, create_output ImportError: cannot import name 'create_prompt_application' It appears that python3-prompt_toolkit 2.0.4-1.1 is incompatible with the current python3-jupyter_ipython 6.4.0-1.4. On my other Linux installations (Sid and Rawhide), both using python3-prompt_toolkit 1.0.15, IPython/terminal/interactiveshell.py imports function create_prompt_application() from prompt_toolkit/shortcuts.py. In Tumbleweed snapshot 20180726, there is no shortcuts.py, and prompt_toolkit/shortcuts/ is a directory. There is no module create_prompt_application under it, nor is the function create_prompt_application defined in prompt_toolkit/__init__.py nor prompt_toolkit/shortcupts/__init__.py. According to https://python-prompt-toolkit.readthedocs.io/en/master/, the prompt_toolit 2.0 branch is incompatible with the 1.0 branch, requiring application changes. Was the 2.0.4 upgrade getting ahead of ourselves, at least with respect to IPython?