Closed fskpf closed 1 year ago
ipywidgets 8 is incompatible with the current widget.
For now, we should at least limit the required version of ipywidgets to the compatible version range. Currently, it just states
install_requires=[
'ipywidgets>=7.6.0'
],
Which installs the current, incompatible version 8 of ipywidgets.
This should be changed to
install_requires=[
'ipywidgets>=7.6.0,<8'
],
Eventually, we should also make it compatible with ipywidgets 8, see #19.
Describe the bug Widget fails with
AttributeError: 'super' object has no attribute '_ipython_display_'
To Reproduce For example, install the widget in a fresh environment:
Then inspect the
ipywidgets
version that has been installed implicitly by theyfiles-jupyter-graphs
widgetIt'll show
ipywidgets 8.x.x
.Then try to run the widget in a
jupyter lab
notebook. Among other errors, it'll throwAttributeError: 'super' object has no attribute '_ipython_display_'
Expected behavior It should just work.