NERSC / jupyterlab-slurm

BSD 3-Clause "New" or "Revised" License
92 stars 23 forks source link

Conflicting dependencies #41

Closed ndjones closed 2 years ago

ndjones commented 4 years ago

Hi, I'm trying to install the extension as follows though it looks like it might not work with the current version 2.x of JupyterLab. Happy to be told this isn't on the roadmap and for this to be closed if so. cheers.

jupyter labextension install jupyterlab-slurm
An error occured.
ValueError: The extension "jupyterlab-slurm" does not yet support the current version of JupyterLab.

Conflicting Dependencies:
JupyterLab              Extension         Package
>=2.1.2 <2.2.0          >=1.0.0 <2.0.0    @jupyterlab/application
>=2.1.1 <2.2.0          >=1.0.0 <2.0.0    @jupyterlab/apputils
>=4.1.0 <4.2.0          >=3.0.0 <4.0.0    @jupyterlab/coreutils
>=2.1.2 <2.2.0          >=1.0.0 <2.0.0    @jupyterlab/filebrowser
>=2.1.1 <2.2.0          >=1.0.0 <2.0.0    @jupyterlab/launcher
>=16.9.0 <16.10.0       >=16.8.4 <16.9.0  react
>=16.9.0 <16.10.0       >=16.8.4 <16.9.0  react-dom
felipeportella commented 3 years ago

I'm facing the same issue ... I tried to create many different conda environments with different versions of Python and Jupyterlab, but I couldn't found a combination that works for jupyterlab_slurm :(

I'm listing here just one, with the most current versions, for reproducibility investigation ...

conda create --name jupyterlabslurm python=3.8.5 jupyterlab=2.2.6 nodejs=10.13.0
conda activate jupyterlabslurm
pip install jupyterlab_slurm
jupyter labextension install jupyterlab-slurm

My output is "the same":

An error occurred.
ValueError: The extension "jupyterlab-slurm" does not yet support the current version of JupyterLab

Conflicting Dependencies:
JupyterLab              Extension         Package
>=2.1.2 <2.2.0          >=1.0.0 <2.0.0    @jupyterlab/application
>=2.1.1 <2.2.0          >=1.0.0 <2.0.0    @jupyterlab/apputils
>=4.1.0 <4.2.0          >=3.0.0 <4.0.0    @jupyterlab/coreutils
>=2.1.2 <2.2.0          >=1.0.0 <2.0.0    @jupyterlab/filebrowser
>=2.1.1 <2.2.0          >=1.0.0 <2.0.0    @jupyterlab/launcher
>=16.9.0 <16.10.0       >=16.8.4 <16.9.0  react
>=16.9.0 <16.10.0       >=16.8.4 <16.9.0  react-dom
See the log file for details: /tmp/jupyterlab-debug-fh72_0r5.log

The log files do not provide many clues of the issue ... I can only confirm there that it is trying to install the version 1.0.3 from jupyterlab-slurm.

The same happens changing the conda command to use jupyterlab versions 2.2.4, 2.1.5 or 2.0.2 (in this last case from conda-forge channel).

I'm using a RHEL 7.7 as OS ...

Can anyone confirm a version of jupyterlab that is known to work the extension?

Thanks

dwall17 commented 3 years ago

For what it's worth, I found that JupyterLab version 2.1.2 works with the extension.

ndjones commented 3 years ago

we're in the process of moving to version 3.x of Jupyter, with the same issue - it looks like dependencies support at most v2.1.2 https://github.com/NERSC/jupyterlab-slurm/blob/871c1dba18946aa884fcf382145719f71b4c59d5/package.json

mlhenderson commented 2 years ago

The extension currently supports JupyterLab 3.x. I'm closing this issue for v2, but if you have problems with v3 let us know.