You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran into some problems using ipywidgets and voila when I upgraded to ipywidgets 8.0.2. Effectively I no longer see any of the widgets, e.g. buttons when deploying with Voila. When opening the development console in Edge I notice a series of errors, complaining about non registered versions (Error: Module @jupyter-widgets/base, semver range ^2.0.0 is not registered as a widget module).
I do see widgets when I use a notebook instead.
When I downgrade ipywidgets to version 7.7.1 instead, I do get working widgets when using Voila. E.g. changing the pyproject.toml file and running poetry update works.
I am using poetry to set up the Python environment (3.10.2 on Windows 10) using the following configuration:
The notebook I use to test is very simple, and run the notebook using voila NOTEBOOKNAME.ipynb. For the 7.7.1 version I see a button and for 8.0.2 I do not.
import ipywidgets as widgets
from IPython.display import display
b = widgets.Button(description="Go!")
display(b)
The text was updated successfully, but these errors were encountered:
@pswdemcon,
it is my understanding that voila does not yet support ipywidgets 8, I have seen a few approaches explored on their github, please refer to this issue which has the most recent comments: voila-dashboards/voila#1188
I ran into some problems using ipywidgets and
voila
when I upgraded to ipywidgets 8.0.2. Effectively I no longer see any of the widgets, e.g. buttons when deploying with Voila. When opening the development console in Edge I notice a series of errors, complaining about non registered versions (Error: Module @jupyter-widgets/base, semver range ^2.0.0 is not registered as a widget module
).I do see widgets when I use a notebook instead.
When I downgrade ipywidgets to version 7.7.1 instead, I do get working widgets when using Voila. E.g. changing the pyproject.toml file and running
poetry update
works.I am using poetry to set up the Python environment (3.10.2 on Windows 10) using the following configuration:
pip list
with ipywidgets version 8.0.2 installedThe notebook I use to test is very simple, and run the notebook using
voila NOTEBOOKNAME.ipynb
. For the 7.7.1 version I see a button and for 8.0.2 I do not.The text was updated successfully, but these errors were encountered: