#9958: Upgrade python to 2.7
---------------------------+------------------------------------------------
Reporter: mhampton | Owner: tbd
Type: enhancement | Status: needs_work
Priority: major | Milestone:
Component: packages | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies: #11156 #11236 #11244 #11264
#11339 #11363 #11376
---------------------------+------------------------------------------------
Comment(by fbissey):
Replying to [comment:82 strogdon]:
> Here are the failures I get on x86:
>
> {{{
> sage -t -long -force_lib devel/sage-main/sage/libs/cremona/newforms.pyx
# 1 doctests failed
> sage -t -long -force_lib devel/sage-main/sage/misc/sageinspect.py # 1
doctests failed
> sage -t -long -force_lib devel/sage-main/sage/misc/randstate.pyx # 1
doctests failed
> sage -t -long -force_lib devel/sage-main/sage/rings/real_mpfr.pyx # 1
doctests failed
> sage -t -long -force_lib devel/sage-main/sage/stats/intlist.pyx # 1
doctests failed
> sage -t -long -force_lib devel/sage-
main/sage/schemes/hyperelliptic_curves/hyperelliptic_finite_field.py # 1
doctests failed
> sage -t -long -force_lib devel/sage-main/sage/combinat/e_one_star.py #
1 doctests failed
> sage -t -long -force_lib devel/sage-main/sage/geometry/polyhedra.py # 1
doctests failed
> sage -t -long -force_lib devel/sage-
main/sage/crypto/mq/mpolynomialsystem.py # Killed/crashed
> sage -t -long -force_lib devel/sage-main/sage/symbolic/callable.py # 5
doctests failed
> sage -t -long -force_lib devel/sage-
main/sage/functions/transcendental.py # 1 doctests failed
> sage -t -long -force_lib devel/sage-
main/sage/categories/finite_crystals.py # 1 doctests failed
> }}}
>
> The failures newforms.pyx, real_mpfr.pyx and intlist.pyx are all of the
form:
>
> {{{
> File "/storage/sage/sage-4.7.2.alpha1/devel/sage-
main/sage/libs/cremona/newforms.pyx", line 53:
> sage: ECModularSymbol(E)
> Expected:
> Traceback (most recent call last):
> ...
> OverflowError: long int too large to convert to int
> Got:
> Traceback (most recent call last):
> File "/storage/sage/sage-4.7.2.alpha1/local/bin/ncadoctest.py",
line 1231, in run_one_test
> self.run_one_example(test, example, filename, compileflags)
> File "/storage/sage/sage-4.7.2.alpha1/local/bin/sagedoctest.py",
line 38, in run_one_example
> OrigDocTestRunner.run_one_example(self, test, example, filename,
compileflags)
> File "/storage/sage/sage-4.7.2.alpha1/local/bin/ncadoctest.py",
line 1172, in run_one_example
> compileflags, 1) in test.globs
> File "<doctest __main__.example_1[11]>", line 1, in <module>
> ECModularSymbol(E)###line 53:
> sage: ECModularSymbol(E)
> File "newforms.pyx", line 69, in
sage.libs.cremona.newforms.ECModularSymbol.__init__
(sage/libs/cremona/newforms.cpp:1820)
> a6 = new_bigint(int(E.a6()))
> OverflowError: Python int too large to convert to C long
> }}}
>
> These tests do not fail on amd64 because "long int too large to convert
to int" is returned as the OverflowError instead of "Python int too large
to convert to C long".
Steve, what about
{{{
sage -t -long -force_lib devel/sage-
main/sage/rings/polynomial/polynomial_rational_flint.pyx
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9958#comment:88>
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.