#13717: Upgrade to sagenb 0.10.3
-------------------------------+--------------------------------------------
Reporter: jason | Owner: tbd
Type: enhancement | Status: new
Priority: major | Milestone: sage-5.6
Component: packages | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Jason Grout | Merged in:
Dependencies: | Stopgaps:
-------------------------------+--------------------------------------------
Comment (by jason):
It looks like we have two failing doctests:
{{{
sage -t -force_lib "devel/sagenb-main/sagenb/misc/sphinxify.py"
**********************************************************************
File "/Users/grout/sage-trees/sage-5.4/devel/sagenb-
main/sagenb/misc/sphinxify.py", line 57:
sage: sphinxify('`x=y`')
Expected:
'\n<div class="docstring">\n \n <p><span
class="math">\\(x=y\\)</span></p>\n\n\n</div>'
Got:
'\n<div class="docstring">\n \n <p><span
class="math">x=y</span></p>\n\n\n</div>'
**********************************************************************
1 items had failures:
1 of 9 in __main__.example_1
***Test Failed*** 1 failures.
For whitespace errors, see the file
/Users/grout/.sage//tmp/sphinxify_78034.py
[3.1 s]
sage -t -force_lib "devel/sagenb-main/sagenb/misc/support.py"
**********************************************************************
File "/Users/grout/sage-trees/sage-5.4/devel/sagenb-
main/sagenb/misc/support.py", line 246:
sage: D = docstring("r.lm", globs=globals())
Exception raised:
Traceback (most recent call last):
File "/Users/grout/sage-trees/sage-5.4/local/bin/ncadoctest.py",
line 1231, in run_one_test
self.run_one_example(test, example, filename, compileflags)
File "/Users/grout/sage-trees/sage-5.4/local/bin/sagedoctest.py",
line 38, in run_one_example
OrigDocTestRunner.run_one_example(self, test, example, filename,
compileflags)
File "/Users/grout/sage-trees/sage-5.4/local/bin/ncadoctest.py",
line 1172, in run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_4[3]>", line 1, in <module>
D = docstring("r.lm", globs=globals())###line 246:
sage: D = docstring("r.lm", globs=globals())
File "/Users/grout/sage-
trees/sage-5.4/devel/sagenb/sagenb/misc/support.py", line 275, in
docstring
return html_markup(s.decode('utf-8'))
File "/Users/grout/sage-
trees/sage-5.4/devel/sagenb/sagenb/misc/support.py", line 280, in
html_markup
return sphinxify(s)
File "/Users/grout/sage-
trees/sage-5.4/devel/sagenb/sagenb/misc/sphinxify.py", line 79, in
sphinxify
filed.write(docstring)
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2018' in
position 370: ordinal not in range(128)
**********************************************************************
1 items had failures:
1 of 5 in __main__.example_4
***Test Failed*** 1 failures.
}}}
jhpalmieri, these both seem to be in your area of expertise. What do you
think?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13717#comment:2>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.