dask / dask-labextension

JupyterLab extension for Dask
BSD 3-Clause "New" or "Revised" License
311 stars 62 forks source link

Conflicting dependencies with jupyterlab=4.0.2 #264

Open roxyboy opened 1 year ago

roxyboy commented 1 year ago

First and foremost, I truly appreciate this package. Thank you for developing and maintaining it!

I'm trying to install the labextension to jupyterlab=4.0.2 but I've been getting the following error:

$ jupyter labextension install dask-labextension
(Deprecated) Installing extensions with the jupyter labextension install command is now deprecated and will be removed in a future major version of JupyterLab.

Users should manage prebuilt extensions with package managers like pip and conda, and extension authors are encouraged to distribute their extensions as prebuilt packages 
/tank/spectre/tuchida/miniconda3/envs/dmd/lib/python3.9/site-packages/jupyterlab/debuglog.py:56: UserWarning: An error occurred.
  warnings.warn("An error occurred.")
/tank/spectre/tuchida/miniconda3/envs/dmd/lib/python3.9/site-packages/jupyterlab/debuglog.py:57: UserWarning: ValueError: The extension "dask-labextension" does not yet support the current version of JupyterLab.

Conflicting Dependencies:
JupyterLab                  Extension        Package
>=4.0.2 <4.1.0              >=3.0.0 <4.0.0   @jupyterlab/application
>=4.1.2 <4.2.0              >=3.0.0 <4.0.0   @jupyterlab/apputils
>=4.0.2 <4.1.0              >=3.0.0 <4.0.0   @jupyterlab/codeeditor
>=4.0.2 <4.1.0              >=3.0.0 <4.0.0   @jupyterlab/console
>=6.0.2 <6.1.0              >=5.0.0 <6.0.0   @jupyterlab/coreutils
>=4.0.2 <4.1.0              >=3.0.0 <4.0.0   @jupyterlab/mainmenu
>=4.0.2 <4.1.0              >=3.0.0 <4.0.0   @jupyterlab/notebook
>=7.0.2 <7.1.0              >=6.0.0 <7.0.0   @jupyterlab/services
>=4.0.2 <4.1.0              >=3.0.0 <4.0.0   @jupyterlab/settingregistry
>=4.0.2 <4.1.0              >=3.0.0 <4.0.0   @jupyterlab/statedb
>=4.0.2 <4.1.0              >=3.0.0 <4.0.0   @jupyterlab/ui-components
>=2.0.0 <3.0.0              >=1.3.3 <2.0.0   @lumino/algorithm
>=2.0.0 <3.0.0              >=1.5.3 <2.0.0   @lumino/coreutils
>=2.0.0 <3.0.0              >=1.2.3 <2.0.0   @lumino/domutils
>=2.0.0 <3.0.0              >=1.7.1 <2.0.0   @lumino/dragdrop
>=2.0.0 <3.0.0              >=1.4.3 <2.0.0   @lumino/messaging
>=2.0.0 <3.0.0              >=1.0.4 <2.0.0   @lumino/polling
>=2.0.0 <3.0.0              >=1.4.3 <2.0.0   @lumino/signaling
>=2.0.1 <3.0.0              >=1.17.0 <2.0.0  @lumino/widgets
>=18.2.0 <19.0.0            >=17.0.1 <18.0.0 react
>=18.2.0 <19.0.0            >=17.0.1 <18.0.0 react-dom
  warnings.warn(msg[-1].strip())
/tank/spectre/tuchida/miniconda3/envs/dmd/lib/python3.9/site-packages/jupyterlab/debuglog.py:58: UserWarning: See the log file for details: /tmp/jupyterlab-debug-8bmxc670.log
  warnings.warn(f"See the log file for details: {log_path!s}")

As a temporary fix, should I revert to older jupyterlab versions?

jrbourbeau commented 1 year ago

Thanks for the issue @roxyboy. cc @jacobtomlinson @mahendrapaipuri who are working on JupyterLab 4 support at the moment (xref https://github.com/dask/dask-labextension/pull/263)

As a temporary fix, should I revert to older jupyterlab versions?

That sounds like a good temporary workaround for now (that's what I'm doing)

mahendrapaipuri commented 1 year ago

@roxyboy, Would you mind testing the patch in #263? That would be of great help actually!

roxyboy commented 1 year ago

@jrbourbeau Thank you for your quick reply!

Upon running jupyter labextension list, it seems that the dask-labextension is now installed as default for jupyterlab=4.0.2 ?

$ jupyter labextension list
JupyterLab v4.0.2
/tank/spectre/tuchida/miniconda3/envs/dmd/share/jupyter/labextensions
        jupyterlab_pygments v0.2.2 enabled  X (python, jupyterlab_pygments)
        dask-labextension v6.1.0 enabled  X (python, dask_labextension)
        @jupyterhub/jupyter-server-proxy v4.0.0 enabled  X

   The following extensions are outdated:
        jupyterlab_pygments
        dask-labextension
        @jupyterhub/jupyter-server-proxy

   Consider running "jupyter labextension update --all" to check for updates.