-
Notifications
You must be signed in to change notification settings - Fork 70
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
Switch to using nbclassic NotebookApp #76
Conversation
This is awesome. Great work! |
@linuxrider cool work. Just for me to understand, does appmode still support notebook after this change? |
@danielhollas As far as I understand appmode stopped working at least for notebook >= 7. With this change it will not work for notebook < 7 anymore. It will now work with nbclassic, independent of notebook being installed or not. |
Oh, that is good to know. Would it be hard to support both? @oschuett just checking if this was indeed an intention? In AiiDAlab we currently still on notebook<7.0. Our plan was to upgrade to notebook==7.0 when possible, but I guess now I am not sure what is the direction here. |
I don't know how hard it would be to make it work for both nbclassic and notebook. By the way, I updated it to use it with AiiDAlab. |
Thank you for the info and implementation, that makes sense. My fear is that at least according to original plans laid in JEP 79,
Oh cool! If you run into any issues when using nbclassic or anything else, please feel free to open issues or even PRs, e.g here https://github.com/aiidalab/aiidalab or https://github.com/aiidalab/aiidalab-docker-stack. It would help us a lot as we move in this direction. |
True. Maybe I find time to have a look. |
I forgot to mention |
If there are no objections, I would make a new release soon. |
The new release will drop notebook support for notebook~=6.x if I understand correctly the above discussion, so we will not be able to use it straightaway in the current AiiDAlab docker images. But we're pinning the appmode version so I guess it's fine. Cc @unkcpz |
Yes, this PR is the only significant change since the last release. So, you can just pin v0.9.0 for the time being. One thing that is puzzling me now is the binder/environment.yml. Shouldn't the setup.py be sufficient to install all requirements? |
I would expect the setup.py to be enough. As far as I remember I took it from template I generated from the copier template at https://github.com/jupyterlab/extension-template I' m not finished integrating it with the existing appmode. |
Hi all! Thanks! I pinged @dou-du who merged osscar-org/appmode-jupyterlab#2 and will make a release soon. |
Hi Giovanni, It's great that osscar-org/appmode-jupyterlab#2 got merged after all. I actually wouldn't mind to keep |
Just let you know I have already released it through PyPi. |
With this change it is possible to run the appmode with nbclassic.
It reuses
NotebookApp
from nbclassic with minimal changes.