-
Notifications
You must be signed in to change notification settings - Fork 958
Closed
Description
We are building RPM packges in Fedora with the latest Python 3.11 beta 1 nad ipywidgets fails:
=================================== FAILURES ===================================
___________________________ test_interact_noinspect ____________________________
def test_interact_noinspect():
a = u'hello'
> c = interactive(print, a=a)
ipywidgets/widgets/tests/test_interaction.py:706:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ipywidgets/widgets/interaction.py:201: in __init__
self.kwargs_widgets = self.widgets_from_abbreviations(new_kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = interactive(_dom_classes=('widget-interact',))
seq = [('sep', ' ', ' '), ('end', '\n', '\n'), ('file', None, None), ('flush', False, False)]
def widgets_from_abbreviations(self, seq):
"""Given a sequence of (name, abbrev, default) tuples, return a sequence of Widgets."""
result = []
for name, abbrev, default in seq:
widget = self.widget_from_abbrev(abbrev, default)
if not (isinstance(widget, ValueWidget) or isinstance(widget, fixed)):
if widget is None:
> raise ValueError("{!r} cannot be transformed to a widget".format(abbrev))
E ValueError: None cannot be transformed to a widget
ipywidgets/widgets/interaction.py:301: ValueError
Metadata
Metadata
Assignees
Labels
No labels