Jupyter notebooks and ipywidgets

Have you seen an older hack to do it (JuypterLab 1.x)?
(I have not yet worked with venvShellHook)

JuypterLab 3.x is out and you could use this/the new way of installing extensions via pip (only)