#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 leif):
So, I did test this with Sage 4.7.2.alpha2 on my "last" 32-bit machine, a
Pentium4 Prescott (which has SSE3) running Ubuntu 9.04; my other Pentium4
(Northwood, without SSE3 / PNI) recently died, and I won't revive it in
the near future.
The good news are: The patches all still apply to 4.7.2.alpha2, though
many hunks with partially large offsets, but no fuzz.
The bad news: I expected some numerical noise because of 32-bit
architecture with (there rather rare) SSE3 (`-mfpmath=sse`), but also
experienced at least one segfault (in `sage/rings/homset.py`). I'll have
to investigate the rest, for now just:
{{{
...
sage -t -long -force_lib "devel/sage/sage/geometry/polyhedra.py"
**********************************************************************
File
"/media/H-1TB-P6-linux2/Sage/sage-4.7.2.alpha2-gcc-4.5.1/devel/sage/sage/geometry/polyhedra.py",
line 4948:
sage: ppoints[0]
Expected:
(-1.92296268638e-15, -1.92296268638e-15)
Got:
(0.0, 0.0)
**********************************************************************
1 items had failures:
1 of 8 in __main__.example_171
***Test Failed*** 1 failures.
For whitespace errors, see the file
/home/leif/.sage//tmp/.doctest_polyhedra.py
[166.0 s]
----------------------------------------------------------------------
The following tests failed:
sage -t -long -force_lib
"devel/sage/sage/libs/cremona/newforms.pyx"
sage -t -long -force_lib
"devel/sage/sage/functions/transcendental.py"
sage -t -long -force_lib "devel/sage/sage/misc/randstate.pyx"
sage -t -long -force_lib
"devel/sage/sage/combinat/words/suffix_trees.py"
sage -t -long -force_lib
"devel/sage/sage/combinat/words/nfactor_enumerable_word.py"
sage -t -long -force_lib "devel/sage/sage/rings/morphism.pyx"
sage -t -long -force_lib "devel/sage/sage/rings/real_mpfr.pyx"
sage -t -long -force_lib "devel/sage/sage/rings/homset.py"
sage -t -long -force_lib "devel/sage/sage/stats/intlist.pyx"
sage -t -long -force_lib
"devel/sage/sage/schemes/generic/scheme.py"
sage -t -long -force_lib "devel/sage/sage/geometry/polyhedra.py"
Total time for all tests: 26263.8 seconds
make: *** [testlong] Error 128
real 439m23.357s
user 393m40.644s
sys 31m7.485s
leif@californication:~/Sage/sage-4.7.2.alpha2-gcc-4.5.1$
}}}
(The tail of the log. More to come later.)
Note that I didn't test in parallel, although with some other CPU-greedy
process running, but time-outs are unlikely. Vanilla 4.7.2.alpha2 passed
all tests in exactly the same setting (and I did rebuild all dependent
packages when installing the Python 2.7 spkg, modulo missing extension
module dependencies in `module_list.py`).
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9958#comment:98>
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.