FS#63822 - [ipython] IPython crashes on launch with python-prompt_toolkit 2.0.9-1

Attached to Project: Community Packages
Opened by Danilo Pianini (danysk) - Wednesday, 18 September 2019, 14:52 GMT
Last edited by Antonio Rojas (arojas) - Wednesday, 18 September 2019, 15:29 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Upon launch, IPython crashes complainng about prompt_toolkit.formatted_text

$ ipython
Traceback (most recent call last):
File "/usr/bin/ipython", line 4, in <module>
from IPython import start_ipython
File "/usr/lib/python3.7/site-packages/IPython/__init__.py", line 55, in <module>
from .terminal.embed import embed
File "/usr/lib/python3.7/site-packages/IPython/terminal/embed.py", line 16, in <module>
from IPython.terminal.interactiveshell import TerminalInteractiveShell
File "/usr/lib/python3.7/site-packages/IPython/terminal/interactiveshell.py", line 20, in <module>
from prompt_toolkit.formatted_text import PygmentsTokens
ModuleNotFoundError: No module named 'prompt_toolkit.formatted_text'

Downgrading community/python-prompt_toolkit from 2.0.9-1 to 2.0.8-1 fixes the issue.

Package version:
community/ipython 7.6.1-1

Steps to reproduce:
1. Install ipython
2. Upgrade your system, you should get, as of 2019-09-18T16:51:09+02:00, ipython 7.6.1-1 and python-prompt_toolkit 2.0.9-1
3. Launch ipython from a terminal
This task depends upon

Closed by  Antonio Rojas (arojas)
Wednesday, 18 September 2019, 15:29 GMT
Reason for closing:  Not a bug
Additional comments about closing:  prompt_toolkit 2.0.9 does certainly contain formatted_text

Loading...