#17268: Wrong version of sagenb imported
----------------------------+------------------------
Reporter: jdemeyer | Owner:
Type: defect | Status: new
Priority: blocker | Milestone: sage-6.4
Component: notebook | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
----------------------------+------------------------
Description changed by jdemeyer:
Old description:
> With sage-6.4.rc0:
>
> {{{
> $ ./sage -tp --long --sagenb
> too many failed tests, not using stored timings
> Running doctests with ID 2014-10-31-14-01-49-cac56b83.
> Doctesting the Sage notebook.
> Sorting sources by runtime so that slower doctests are run first....
> Doctesting 51 files using 4 threads.
> sage -t --long local/lib/python2.7/site-
> packages/sagenb-0.10.7.2-py2.7.egg/sagenb/misc/sphinxify.py
> **********************************************************************
> File "local/lib/python2.7/site-
> packages/sagenb-0.10.7.2-py2.7.egg/sagenb/misc/sphinxify.py", line 69, in
> sagenb.misc.sphinxify.sphinxify
> Failed example:
> sphinxify('A test')
> Expected:
> '\n<div class="docstring">\n \n <p>A test</p>\n\n\n</div>'
> Got:
> '<div class="docstring">\n \n <p>A test</p>\n\n\n</div>'
> **********************************************************************
> File "local/lib/python2.7/site-
> packages/sagenb-0.10.7.2-py2.7.egg/sagenb/misc/sphinxify.py", line 71, in
> sagenb.misc.sphinxify.sphinxify
> Failed example:
> sphinxify('**Testing**\n`monospace`')
> Expected:
> '\n<div class="docstring"...<strong>Testing</strong>\n<span
> class="math"...</p>\n\n\n</div>'
> Got:
> '<div class="docstring">\n \n <p><strong>Testing</strong>\n<span
> class="math">monospace</span></p>\n\n\n</div>'
> **********************************************************************
> File "local/lib/python2.7/site-
> packages/sagenb-0.10.7.2-py2.7.egg/sagenb/misc/sphinxify.py", line 73, in
> sagenb.misc.sphinxify.sphinxify
> Failed example:
> sphinxify('`x=y`')
> Expected:
> '\n<div class="docstring">\n \n <p><span
> class="math">x=y</span></p>\n\n\n</div>'
> Got:
> '<div class="docstring">\n \n <p><span
> class="math">x=y</span></p>\n\n\n</div>'
> **********************************************************************
> }}}
New description:
With sage-6.4.rc0, the wrong version of sagenb is used. Even after an
explicit `./sage -f sagenb` installing `sagenb-0.11.0`, Sage still thinks
I want to use an older version.
This leads to the following doctest failure:
{{{
$ ./sage -tp --long --sagenb
too many failed tests, not using stored timings
Running doctests with ID 2014-10-31-14-01-49-cac56b83.
Doctesting the Sage notebook.
Sorting sources by runtime so that slower doctests are run first....
Doctesting 51 files using 4 threads.
sage -t --long local/lib/python2.7/site-
packages/sagenb-0.10.7.2-py2.7.egg/sagenb/misc/sphinxify.py
**********************************************************************
File "local/lib/python2.7/site-
packages/sagenb-0.10.7.2-py2.7.egg/sagenb/misc/sphinxify.py", line 69, in
sagenb.misc.sphinxify.sphinxify
Failed example:
sphinxify('A test')
Expected:
'\n<div class="docstring">\n \n <p>A test</p>\n\n\n</div>'
Got:
'<div class="docstring">\n \n <p>A test</p>\n\n\n</div>'
**********************************************************************
File "local/lib/python2.7/site-
packages/sagenb-0.10.7.2-py2.7.egg/sagenb/misc/sphinxify.py", line 71, in
sagenb.misc.sphinxify.sphinxify
Failed example:
sphinxify('**Testing**\n`monospace`')
Expected:
'\n<div class="docstring"...<strong>Testing</strong>\n<span
class="math"...</p>\n\n\n</div>'
Got:
'<div class="docstring">\n \n <p><strong>Testing</strong>\n<span
class="math">monospace</span></p>\n\n\n</div>'
**********************************************************************
File "local/lib/python2.7/site-
packages/sagenb-0.10.7.2-py2.7.egg/sagenb/misc/sphinxify.py", line 73, in
sagenb.misc.sphinxify.sphinxify
Failed example:
sphinxify('`x=y`')
Expected:
'\n<div class="docstring">\n \n <p><span
class="math">x=y</span></p>\n\n\n</div>'
Got:
'<div class="docstring">\n \n <p><span
class="math">x=y</span></p>\n\n\n</div>'
**********************************************************************
}}}
--
--
Ticket URL: <http://trac.sagemath.org/ticket/17268#comment:1>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.