The latest release is causing a problem to render the widgets in jupyterlab as it was reported in #239 . Digging into the issue, some findings came up:
When checking jupyter labextension list command, at the very bottom of the output, a message says that ...source extensions are overshadowed by older prebuilt extensions... and it is referring to jupyterlab widgets/manager, it means that the extension has two different versions, a "source extension" and a "prebuilt extension", this is happening because here we are installing ipywidgets using pip and later at the end we are adding the labextension install @jupyter-widgets/jupyterlab-manager.
This conflict started with newer ipywidgets versions that now depend on jupyterlab_widgets which after jupyter v.3 doesn't require anymore the jupyter labextension installation, because they are are installing it automatically.
Additionally, latest ipywidgets>=8 doesn't support voila (yet) , so we have to install a previous version..
When installing ipywidgets 7.6.5 it will install (by mistake)jypyterlab_widgets>2, which is incompatible with ipywidgets<8, so, to overcome it, ipywidgets==7.7.2 has to be pinned to install jupyterlab_widgets<2.
In short:
remove source extension installation due to overshaded problem
set ipywidgets<8 due to incompatibility with voila.
I've tested it in a different environment, so it would be nice if we can build on test to check if it works.
The latest release is causing a problem to render the widgets in
jupyterlab
as it was reported in #239 . Digging into the issue, some findings came up:When checking
jupyter labextension list
command, at the very bottom of the output, a message says that...source extensions are overshadowed by older prebuilt extensions...
and it is referring tojupyterlab widgets/manager
, it means that the extension has two different versions, a "source extension" and a "prebuilt extension", this is happening because here we are installingipywidgets
using pip and later at the end we are adding the labextension install@jupyter-widgets/jupyterlab-manager
.This conflict started with newer ipywidgets versions that now depend on
jupyterlab_widgets
which after jupyter v.3 doesn't require anymore the jupyter labextension installation, because they are are installing it automatically.Additionally, latest
ipywidgets>=8
doesn't support voila (yet) , so we have to install a previous version..When installing
ipywidgets 7.6.5
it will install (by mistake)jypyterlab_widgets>2
, which is incompatible with ipywidgets<8, so, to overcome it, ipywidgets==7.7.2 has to be pinned to install jupyterlab_widgets<2.In short:
I've tested it in a different environment, so it would be nice if we can build on test to check if it works.