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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nb7 #158

Open
8 tasks done
parmentelat opened this issue Jul 31, 2023 · 2 comments
Open
8 tasks done

nb7 #158

parmentelat opened this issue Jul 31, 2023 · 2 comments

Comments

@parmentelat
Copy link
Owner

parmentelat commented Jul 31, 2023

the default install of notebook being now nb7, there are a few changes that need to be done for a smooth transition

  • provide a means for courses to stick to nb6

    • dockerhub exposes a notebook-6.5.4 tag
    • we need a way to rebuild the nbhosting corresponding images
    • warn users that their course's Dockerfile will need to adapt:
  • write a jupyterlab-nbhosting jlab extension that customizes the default notebook menus and such, so that we get something alike the patchy nb-classic menus - ongoing work in https://github.com/parmentelat/jupyterlab-nbhosting

    • remove spurrious / not so useful entries
    • add our 3 additions : reset to original, share static version, show student id
  • there may be a need for this extension to behave differently whether we run in mooc mode (customization needed) or not (less crucial and maybe even harmful); in which case the simplest way could be to use an environment variable to switch between both mode;

@parmentelat
Copy link
Owner Author

mostly this is done by now, remains to deploy

  • with ensip
  • with the x-* courses

@parmentelat
Copy link
Owner Author

parmentelat commented Dec 7, 2023

also there might be a need to tweak the nbh script to take into account the following messages isued within nb7 containers

<the-date thurst container: [W the-date >
LabApp] 'notebook_dir' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
LabApp] 'base_url' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
LabApp] 'token' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config b
efore our next release.
LabApp] 'password' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your confi
g before our next release.
LabApp] 'disable_check_xsrf' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update
your config before our next release.
ServerApp] notebook_dir is deprecated, use root_dir
ServerApp] ServerApp.token config is deprecated in 2.0. Use IdentityProvider.token.
NotebookApp] 'ip' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
NotebookApp] 'ip' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
NotebookApp] 'port' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
NotebookApp] 'port' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
NotebookApp] 'tornado_settings' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
NotebookApp] 'tornado_settings' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.

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

1 participant