Remove sagenb from "sage --notebook"
jhpalmieri opened this issue · 12 comments
- Remove
sagenbas a documented argument to thesage-notebookscript, and remove the code to start the SageNB server. - Rewrite the error when
sagenbis passed as an argument. - Change the default from
SageNBExporttoNotebookJupyter.
Component: scripts
Author: John Palmieri
Branch/Commit: f5853f9
Reviewer: Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/29885
Commit: 62bfb51
New commits:
62bfb51 | trac 29885: sage-notebook: remove sagenb as an option, |
I am okay with this. I would just add something like the last line here:
print('See https://wiki.sagemath.org/Python3-Switch')
print('Use sage --notebook=export to export sagenb notebooks to Jupyter')
By the way, see #17590 and possibly elsewhere. But since 9.2 will (apparently) not support Py2, perhaps it's indeed better to simply remove sagenb than to keep it as an optional package that can't be launched from the command line.
Branch pushed to git repo; I updated commit sha1. New commits:
f5853f9 | trac 29885: add to the error message for "sage -n sagenb" |
Here is an expansion of the "sage -n sagenb" error message.
Here is an expansion of the "sage -n sagenb" error message.
Thanks. The code looks good, someone who can test the branch should just confirm that this works, and that tests pass - I can imagine some stray doctest somewhere needing the class?
LGTM.
Reviewer: Travis Scrimshaw
Changed branch from u/jhpalmieri/no-sagenb-in-sage-notebook to f5853f9