jupyterhub / mybinder.org-user-guide

Turn a Git repo into a collection of interactive notebooks. This is Binder's user documentation repository.
https://mybinder.readthedocs.io
BSD 3-Clause "New" or "Revised" License
159 stars 103 forks source link

make the jupyter-extension section current #177

Closed fomightez closed 4 years ago

fomightez commented 4 years ago

make the jupyter-extension portion consistent with current repo Readme at https://github.com/binder-examples/jupyter-extension/blob/master/README.md

choldgraf commented 4 years ago

excellent! thanks for following up on this :-)

dg-data commented 3 years ago

https://github.com/binder-examples/jupyter-extension is not compatible with current version

"@jupyter-widgets/jupyterlab-manager@0.38.1" is not compatible with the current JupyterLab

fomightez commented 3 years ago

@dg-data I pointed this out back in September last year. See here. The current listing of incompatibilities looks more troubling now. I haven't come across an example that has extension working in JupyterLab version 2.2.0 launched from MyBinder recently to learn if there is a magic incantation to update to make it work again for now. Maybe locking in things in by adding an environment.yml file with older versions?

That fix will just be temporary though because I imagine soon the default JupyterLab version on MyBinder will be JupyterLab 3.

The system for extensions in JupyterLab 3 is much different. See the section 'Faster more compact Binders' here. The current example I know of is here. That example still uses Conda though. At present the example lists an extension.

dg-data commented 3 years ago

Thanks for responding! Now I see what's going on and why. As Freddie Mercury sang, it's a kind of magic. The gist linked above looks good for now, installing extensions with pip makes life easier.

(Apparently the Jupyterlab version on MyBinder is 3.0)