-
-
Notifications
You must be signed in to change notification settings - Fork 514
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
Add a deprecation message at the top of most sage.server.* files #7534
Comments
comment:1
How about
? |
comment:2
See sage-notebook. |
Adds the recommended deprecation message (with typo correction) |
comment:3
Attachment: trac_7534-deprecation-message.gz This should do the job. |
comment:4
This causes some failures in tests in sage/server/ |
Author: Tim Dumol |
Reviewer: Mike Hansen |
comment:5
{{{ sage -t devel/sage-main/sage/server/notebook/notebook_object.py # 4 doctests failed |
comment:6
Replying to @mwhansen:
Since the code isn't being run and is officially "deprecated", one option is to put a nodoctest.py file in the directory (or #nodoctest at the top of the file) so that the code isn't tested. |
Adds |
comment:7
Attachment: trac_7534-deprecation-message_v2.patch.gz V2 suppresses doctesting for the "deprecated" files. |
comment:8
Looks good to me now. |
Merged: sage-4.3.rc1 |
To avoid confusion, we should add a message to the top of each old Sage notebook .py file stating that one should work on SageNB instead.
This should be a patch to the core Sage library.
CC: @TimDumol @williamstein
Component: notebook
Author: Tim Dumol
Reviewer: Mike Hansen
Merged: sage-4.3.rc1
Issue created by migration from https://trac.sagemath.org/ticket/7534
The text was updated successfully, but these errors were encountered: