Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate moving to Retrolab (JupyterLab with classic notebook interface) rather than Jupyter notebook #673

Open
lesteve opened this issue Nov 24, 2022 · 2 comments
Labels
infrastructure Infrastructure (CI, tools, etc ...) to be more productive when working on the MOOC
Milestone

Comments

@lesteve
Copy link
Collaborator

lesteve commented Nov 24, 2022

One day the classical notebook will be gone. More details here for example. Full disclosure: I haven't read it 馃槈.

What need to change:

  • environment to install Retrolab dependencies
  • local instructions to launch Retrolab
  • binder link to use RetroLab
  • other things?

There may be a few issues:

  • a while ago there was no way of opening .md or .py files as notebook by default you needed to right-click -> "Open as notebook" in the files view. Edit: actually this may have been fixed see Open linked .md files as notebooks in Jupyter Lab聽mwouts/jupytext#271 (comment). Cases which could be an issue:
    • full-index.md but the script generating it could easily be converted to create a notebook with a single markdown cell instead
    • I think it is quite rare to open .py and .md files from the files menu otherwise ...
  • does it affect FUN? Ideally we don't need have to change much and FUN can stay with the classical notebook interface if they want
  • other things?
@lesteve lesteve added this to the MOOC 4.0 milestone Nov 24, 2022
@lesteve lesteve added the infrastructure Infrastructure (CI, tools, etc ...) to be more productive when working on the MOOC label Nov 28, 2022
@glemaitre
Copy link
Collaborator

From the JEP regarding the development of the v7 notebook:

https://jupyter.org/enhancement-proposals/79-notebook-v7/notebook-v7.html

I seems that it should be based on retrolab so it should be safe to experiment with retrolab.

@lesteve
Copy link
Collaborator Author

lesteve commented Dec 12, 2022

Using RetroLab would also allow us to use https://github.com/executablebooks/jupyterlab-myst, a JupyterLab extension that supports MyST inside notebooks, potentially simplifying some of our hacky scripts like https://github.com/INRIA/scikit-learn-mooc/blob/main/build_tools/convert-python-script-to-notebook.py#L96

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infrastructure Infrastructure (CI, tools, etc ...) to be more productive when working on the MOOC
Projects
None yet
Development

No branches or pull requests

2 participants