-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
nixos/jupyter: migrate service to jupyter 7 setup #367106
base: master
Are you sure you want to change the base?
Conversation
Thanks for this. |
c306cf1
to
672818d
Compare
@GaetanLepage Updated. Thanks for the guidance |
The current commit message is |
Updated 🫡 |
1d673a5
to
e842be7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Blocked until the above comments are resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a release notes too.
I’ll implement the changes either on the 31st or in the new year. |
@JohnRTitor MR is updated |
1151605
to
4368108
Compare
@JohnRTitor I have added the change into the release-notes. I hope that is the correct place. Notebook config is now included again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be backported to 24.11 as notebook 7 exists there too. Please add a release-notes for 24.11 as well.
Diff LGTM, will merge after testing.
5b4a927
to
9775de7
Compare
… current versions Signed-off-by: Maximilian Ehlers <[email protected]> Signed-off-by: John Titor <[email protected]>
NixOS/nixpkgs#367106 Signed-off-by: John Titor <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did some minor nitpicks.
And tested the module like this JohnRTitor/nix-conf@b6c504a
Lets me login now (with a previously generated password). But when I tried to generate a new one it showed an error. Could you investigate?
I am using a pretty basic config. https://github.com/JohnRTitor/nix-conf/blob/b6c504ab5ad36af2e4e0191fa4ca9fa67e04efa4/dev-environment/jupyter.nix
The above code snippet works if I use the server from
nix-shell -p 'python3.withPackages (ps: with ps; [jupyter])' --run 'jupyter notebook'
The current implementation has problems after the jupyter project introduced changes: https://jupyter-notebook.readthedocs.io/en/latest/migrate_to_notebook7.html
This MR:
jupyter notebook
commandThe last 2 changes come with an example in order to add export to WebPDF.
Closes #355046
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.