Notebook 7 on mybinder.org and repo2docker

Notebook 7 was released a year ago, and we’re planning to upgrade the default version of notebook on mybinder.org in a couple of weeks. Notebook 7 is based on the same underlying components as JupyterLab, so extensions designed for Notebook 6 and earlier will need to be updated.

If you need the previous version of Jupyter notebook you should install notebook 6.* and jupyter-server 1.*. For example:

requirements.txt:

notebook==6.*
jupyter-server==1.*
jupyterlab==3.*

(jupyterlab 3 is required to avoid pip leaving a broken version of jupyterlab installed)

environment.yml:

name: example-environment
channels:
  - conda-forge
dependencies:
  - notebook=6
  - jupyter_server=1

This may change the installed version of JupyterLab, so only do this if you need the old version of notebook and do not need JupyterLab.

5 Likes

This is now live on mybinder.org! Older cached builds will still have notebook 6, new or uncached builds should have notebook 7.

2 Likes