jupyter-renderers icon indicating copy to clipboard operation
jupyter-renderers copied to clipboard

JupyterLab version incompatibility

Open vsoch opened this issue 7 years ago • 7 comments

hey jupyterlab!

I'm building a repo2docker / continuous build setup with a jupyter lab notebook, which means:

  • I have a Github repo with a binder folder
  • the binder folder has a requirements.txt and postBuild
  • it's building on CircleCI, pushing to DockerHub (and metadata back to Github pages).

I'm running into an error message about the line in the postBuild that installs extensions (from this repo). Specifically, this line:

jupyter labextension install @jupyterlab/[email protected] jupyterlab-drawio

results in this:

 ---> Running in 0e9ed56fc33d
> /usr/bin/npm pack @jupyterlab/geojson-extension
jupyterlab-geojson-extension-0.17.0.tgz

"@jupyterlab/[email protected]" is not compatible with the current JupyterLab
Conflicting Dependencies:
JupyterLab                        Extension          Package
>=0.4.3-0 <0.5.0-0                >=1.1.2-0 <2.0.0-0 @jupyterlab/rendermime-interfaces

Here are the original postBuild or requirements.txt:

traitlets>=4.3.1
ipython
pandas
vdom
jupyterlab_launcher>=0.5.0
  • It mentions updating via the package.json / npm, is this a part of repo2docker? Here is an example with jupyterlab-git --> https://github.com/jupyterlab/jupyterlab-git/issues/188 I tried updating the version (err, downgrading to an older one 0.0.16) and that didn't fix it.
  • I also tried installing from source, the same issue came up (and for both installs)

You can see more discussion (and things I've tried) here --> https://github.com/jupyter/repo2docker/issues/374#issuecomment-412268960 I am fairly new to jupyterlab and extensions and am not sure how to address the error but @betatim suggested I try one of your repos, and here i am! :)

vsoch avatar Aug 11 '18 15:08 vsoch

Hi @vsoch. It looks like your recipe is pulling in a much older version of JupyterLab. The current version is 0.33.8, and is compatible with @jupyterlab/[email protected].

blink1073 avatar Aug 12 '18 09:08 blink1073

Btw, the Rorschach test you have as an avatar is fascinating.

blink1073 avatar Aug 12 '18 09:08 blink1073

Btw, the Rorschach test you have as an avatar is fascinating.

Haha, thanks! I drew it in college, sort of wanted to make it look like a brain and a butterfly (kinda got the right effect?) and mostly made it so I could put hidden on posters and presentations. And now that I'm thinking this through, I think my advisor must have been internally /facepalming for years. Oh, what did you think it was, given Rorschach?

I did a bunch of debugging about this earlier today (this morning) and in case you have any insight --> https://github.com/jupyter/repo2docker/issues/374#issuecomment-412345727 I basically tested different ways to control the versions, and ultimately ended up with a version / dependency hell sort of situation (something with npm/node, a package.json? something with a circleci docker image used in the background?) I put immense notes there, in case the logic comes quickly to you. Thanks again for the pointer earlier!

vsoch avatar Aug 13 '18 02:08 vsoch

I'll take a look in the morning, my brain is out of gas for the day. I saw two terriers as conjoined twins.

blink1073 avatar Aug 13 '18 03:08 blink1073

Commented on the other issue. My initial gut reaction was hip bones, but I can definitely see the brain/butterfly if I squint :smile:.

blink1073 avatar Aug 13 '18 08:08 blink1073

ha! oh my.

vsoch avatar Aug 13 '18 10:08 vsoch

Can't hear that without thinking of Takei: https://www.youtube.com/watch?v=6nSKkwzwdW4

blink1073 avatar Aug 13 '18 10:08 blink1073