cbouy / mols2grid

Interactive molecule viewer for 2D structures

Home Page:https://mols2grid.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Investigate incompatibilities between ipywidgets and jupyterlab

cbouy opened this issue · comments

The latest version of jupyterlab (4) seem to be incompatible with the version of ipywidgets specified in the dependencies.
As a result, selections aren't communicated to Python as this line returns undefined, although this object should be created here.

Upgrading to ipywidgets==8.1.1 seem to fix the issue

Hello, regarding the FEgrow link above. It seems to be the same issue in which we could not get selections from mols2grid. This in my case appeared to be caused by notebook 7.0.0 - 7.0.6 versions. The previous version of the notebook (6.5.3) worked fine. The tests were done with ipywidgets==7.8.0.

Ah yes, looks like jupyterlab 4 & notebook 7 are part of the same release cycle that changed quite a few things and I'd need to update some of the dependencies for full compatibility.
I'll see when I get some time to actually test this 😅