Skip to content

Extension outdated with JupyterLab v2.0.1 #559

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
kir0ul opened this issue Mar 11, 2020 · 13 comments
Closed

Extension outdated with JupyterLab v2.0.1 #559

kir0ul opened this issue Mar 11, 2020 · 13 comments

Comments

@kir0ul
Copy link

kir0ul commented Mar 11, 2020

Description

Can't use jupyterlab-git with JupyterLab v2.0.1, it says jupyterlab-git is outdated.

Reproduce

  1. conda create -n testenv python=3.8
  2. conda activate testenv
  3. conda -c conda-forge install jupyterlab jupyterlab-git
  4. jupyter lab build outputs: [LabBuildApp] WARNING | The extension "@jupyterlab/git" is outdated.
  5. If I try jupyter labextension update --all, it outputs No compatible version found for @jupyterlab/git!

Expected behavior

I would really like to be able to use jupyterlab-git with JupyterLab v2.0.*.

Context

  • Python package version:
conda list jupyterlab-git
# packages in environment at /home/apierre/miniconda3/envs/testenv:
#
# Name                    Version                   Build  Channel
jupyterlab-git            0.9.0                      py_0    conda-forge
  • Extension version:
jupyter labextension list
JupyterLab v2.0.1
Known labextensions:
   app dir: /home/apierre/miniconda3/envs/testenv/share/jupyter/lab
        @jupyterlab/git v0.9.0  enabled   X
        nbdime-jupyterlab v2.0.0  enabled  OK

   The following extension are outdated:
        @jupyterlab/git
        
   Consider running "jupyter labextension update --all" to check for updates.
@kgryte
Copy link
Member

kgryte commented Mar 11, 2020

@kir0ul Feel free to try this PR. The need to support 2.0 has to be balanced with the need to support users unable to immediately migrate from 1.0.

@phish108
Copy link

phish108 commented Apr 3, 2020

Cheers,

I have just upgraded my docker containers and I don't see the point of not being able to migrate immediately from 1.2.x to 2.0.x - it works absolutely smoothly for me - just now the environment is without git support.

In other words: The upgrade from 1.2.x to 2.0.x is not immediately possible, only if the git extension is used :(

PR #520 also appears to be broken with the master branch and has no conda or npm release, which makes "trying out" more complicated in containerized environments.

Isn't it possible to branch off the version for JL 2.0.x and release it separately using semantic versioning? This would make sense for people who are able to use version pinning.

[EDIT] JL 2.1.x is around the corner, so the version gap increases.

@viotemp1
Copy link

viotemp1 commented Apr 5, 2020

Same issue:
Conflicting Dependencies:
JupyterLab Extension Package

=2.0.0 <2.1.0 >=1.1.0 <2.0.0 @jupyterlab/application
=2.0.0 <2.1.0 >=1.1.0 <2.0.0 @jupyterlab/apputils
=2.0.0 <2.1.0 >=1.1.0 <2.0.0 @jupyterlab/console
=4.0.0 <4.1.0 >=3.1.0 <4.0.0 @jupyterlab/coreutils
=2.0.0 <2.1.0 >=1.1.0 <2.0.0 @jupyterlab/filebrowser
=5.0.0 <5.1.0 >=4.1.0 <5.0.0 @jupyterlab/services
=2.0.0 <2.1.0 >=1.1.0 <2.0.0 @jupyterlab/terminal
=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
Can this be fixed?

@DraTeots
Copy link

DraTeots commented Apr 9, 2020

Cmon guys, you are breaking your own extenstion and make is useless

@kgryte
Copy link
Member

kgryte commented Apr 9, 2020

@DraTeots Feel free to use JupyterLab 1.x in the meantime.

@saravanabalagi
Copy link

@kgryte Thanks for the workaround. Have you planned any release date (if not is there an ETA) that you can let us know for shipping the update that works with jupyterlab 2?

@DraTeots
Copy link

DraTeots commented Apr 15, 2020

Now it is Jupyterlab 2.1

Don't get my previous post as offensive. The problem I see is that when our users do pip install jupyterlab they get 2.1 now. And it is hard to tame them to use old version.

At the same time Jupyterlab development model is such that "the later version is more stable" as I see it at this point.

@camelator
Copy link

hi!
Same issue here.

@farooq-omer
Copy link

I also received the following error and unable to use git in Jupyterlab:
(base) omer@Falcon-7:$ jupyter serverextension list
config dir: /home/omer/anaconda3/etc/jupyter
jupyterlab enabled
- Validating...
jupyterlab 2.1.1 OK
jupyterlab_git enabled
- Validating...
jupyterlab_git 0.10.0 OK
nbdime enabled
- Validating...
nbdime 2.0.0 OK
(base) omer@Falcon-7:
$ jupyter labextension list
JupyterLab v2.1.1
Known labextensions:
app dir: /home/omer/anaconda3/share/jupyter/lab
@jupyterlab/git v0.10.0 enabled X
nbdime-jupyterlab v2.0.0 enabled OK

The following extension are outdated:
@jupyterlab/git

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

(base) omer@Falcon-7:~$ jupyter labextension update --all
No compatible version found for @jupyterlab/git!
Extension 'nbdime-jupyterlab' already up to date

@fcollonval
Copy link
Member

Follow the issue #602 to see the progress of publication for JLab 2.

In the meantime, for those willing to test the upcoming release, you could try installing the release candidate using the following commands:

python -m pip install --pre jupyterlab-git==0.20.0rc0
jupyter lab build

@DaveDeCaprio
Copy link

DaveDeCaprio commented Apr 28, 2020 via email

@fcollonval
Copy link
Member

@DaveDeCaprio Thanks for reporting. Could you open an separate issue and provide as much details as possible? Especially because googling your error message is only pointing to an SQLite exception that has nothing to do with this extension (nor JupyterLab actually)...

@fcollonval
Copy link
Member

I'm closing this one as 0.20.0 has been released now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants