FS#56505 - [python2-ipywidgets] Package should depend on python2-ipykernel

Attached to Project: Community Packages
Opened by Bastian Beranek (totsilence) - Wednesday, 29 November 2017, 11:19 GMT
Last edited by Jelle van der Waa (jelly) - Saturday, 06 June 2020, 14:43 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Kyle Keen (keenerd)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The python-ipywidgets package should depend on python-ipykernel, otherwise importing fails:

Traceback (most recent call last):
File "final_fit.py", line 5, in <module>
from ipywidgets import interact
File "/usr/lib/python2.7/site-packages/ipywidgets/init.py", line 25, in <module>
from .widgets import *
File "/usr/lib/python2.7/site-packages/ipywidgets/widgets/init.py", line 4, in <module>
from .widget import Widget, CallbackDispatcher, register, widget_serialization, handle_version_comm_opened
File "/usr/lib/python2.7/site-packages/ipywidgets/widgets/widget.py", line 13, in <module>
from ipykernel.comm import Comm
ImportError: No module named ipykernel.comm

Same for the python2-ipywidgets package.
This task depends upon

Closed by  Jelle van der Waa (jelly)
Saturday, 06 June 2020, 14:43 GMT
Reason for closing:  Deferred
Additional comments about closing:  python2-ipywidgets has been removed from the repository
Comment by Eli Schwartz (eschwartz) - Wednesday, 29 November 2017, 12:26 GMT
  • Field changed: Summary ([python-ipywidgets] Package should depend on python-ipykernel → [python2-ipywidgets] Package should depend on python2-ipykernel)
  • Field changed: Status (Unconfirmed → Assigned)
  • Task assigned to Kyle Keen (keenerd)
*-ipywidgets already depends on jupyter-widgetsnbextension which causes python-ipykernel to be installed, but that only works for the Python 3 version, which you didn't test...
Comment by Bastian Beranek (totsilence) - Wednesday, 29 November 2017, 12:34 GMT
Thanks! Indeed I tested only python2-ipywidgets - sorry for not checking python3 at all - just assumed it was the same.

Loading...