holoviz / pyviz_comms

Bidirectional communication for the HoloViz ecosystem
BSD 3-Clause "New" or "Revised" License
32 stars 15 forks source link

Install fails with Jupyterlab 3.0.7 #73

Open MaxUdk opened 3 years ago

MaxUdk commented 3 years ago

Hey there, nice work sofa. Unfortunately install fails with Jupyterlab 3.0.7 on Mac (Big Sur).

ValueError: The extension "@pyviz/jupyterlab_pyviz" does not yet support the current version of JupyterLab.

Conflicting Dependencies: JupyterLab Extension Package

=3.0.4 <3.1.0 >=2.0.0 <3.0.0 @jupyterlab/application =3.0.3 <3.1.0 >=2.0.0 <3.0.0 @jupyterlab/apputils =3.0.4 <3.1.0 >=2.0.0 <3.0.0 @jupyterlab/notebook =3.0.3 <3.1.0 >=2.0.0 <3.0.0 @jupyterlab/rendermime-interfaces =6.0.3 <6.1.0 >=5.0.0 <6.0.0 @jupyterlab/services See the log file for details: /var/folders/k4/9l0_d86n3qn8wp609m1c6tmc0000gn/T/jupyterlab-debug-wlhnr7lj.log

Regards

philippjfr commented 3 years ago

You no longer have to install the extension explicitly, it is automatically installed when you install the Python package. We've also updated documentation about everywhere (but in some cases the docs have not yet been rebuilt).

philippjfr commented 3 years ago

I guess, we could actually upload the updated extension to NPM so this at least doesn't error.

ae3e commented 3 years ago

It doesn't seem to work with Jupyter 3.0.9 without the extension... I installed with the following command

conda update -c pyviz holoviews bokeh

Then it works with matplotlib image

but not with Bokeh (nothing renders...) image

by th way, Bokeh, by itself, works: image

Here are the installed extensions : image

Did I miss something?

===============EDIT========================= Don't know exactly what changed (Probably a mixed between channels (default and conda-forge) when updating some packages?) but now it works... Sorry for the inconvenience!

fcollonval commented 3 years ago

Dear maintainers, in the referenced issue on plotly, installing pyviz_comms breaks plotly. Looking at the package.json file in this project, you may have trouble with the shared package @jupyter-widgets/jupyterlab-manager.

fcollonval commented 3 years ago

Configuration and implementation inspired from https://github.com/voila-dashboards/voila-gridstack/blob/master/packages/jupyterlab-gridstack/src/widgets/index.ts may be better than the use of require and the current configuration. I'll try to set up a PR.

philippjfr commented 3 years ago

@fcollonval If you could look into it that would be incredibly helpful!

fcollonval commented 3 years ago

Short update here. After investigation, the trouble in plotly was not due to pyviz_comms.

sophiamyang commented 2 years ago

@philippjfr is there an issue remaining here or can this be closed?