lux-org / lux

Automatically visualize your pandas dataframe via a single print! 📊 💡
Apache License 2.0
5.15k stars 365 forks source link

[BUG] Current Version of The-Littlest-Jupyter-Hub not Supported #499

Open KTBL-KristofferSchneider opened 1 year ago

KTBL-KristofferSchneider commented 1 year ago

Describe the bug I tried to set up lux on a server running the current version of the littlest Jupyterhub. In there I am currently using the Jupyterlab user interface. Therefore I tried to install it a stated in the documentation .

When installing the luxwidgets labextension an error occures due to incompatibility. Are there plans for updates?

When using the classical (notebook) user interface of jupyterhub, lux works as expected.

To Reproduce Open a Terminal in Jupyterhub and run:

sudo -E jupyter labextension install luxwidget

Output is:

/usr/local/lib/python3.9/dist-packages/jupyterlab/debuglog.py:56: UserWarning: An error occurred.
  warnings.warn("An error occurred.")
/usr/local/lib/python3.9/dist-packages/jupyterlab/debuglog.py:57: UserWarning: ValueError: The extension "luxwidget" does not yet support the current version of JupyterLab.
Conflicting Dependencies:
JupyterLabExtension        Package
>=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())
/usr/local/lib/python3.9/dist-packages/jupyterlab/debuglog.py:58: UserWarning: See the log file for details: /tmp/jupyterlab-debug-wtehpmgg.log
  warnings.warn(f"See the log file for details: {log_path!s}")

Expected behavior Installation success and usability in jupyterlab of jupyterhub.

Debugging information

Package Versions
----------------
               Version      
        python         3.9.7
           lux         0.5.1
        pandas         2.0.3
     luxwidget        0.1.11
    matplotlib         3.7.2
        altair         5.1.1
       IPython        8.14.0
     ipykernel        6.24.0
    ipywidgets         7.7.5
jupyter_client         8.3.0
  jupyter_core         5.3.1
jupyter_server        1.24.0
    jupyterlab         3.6.5
      nbclient         0.8.0
     nbconvert         7.6.0
      nbformat         5.9.1
      notebook         6.5.4
     qtconsole not installed
     traitlets         5.9.0

Widget Setup
-------------
✅ Jupyter Notebook Running
✅ luxwidget is enabled