#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 strogdon):

 HereĀ on x86 I get only two failures:

 {{{

 sage -t -long  -force_lib devel/sage-main/sage/misc/randstate.pyx
 **********************************************************************
 File "/storage/sage/sage-4.7.2.rc0/devel/sage-
 main/sage/misc/randstate.pyx", line 61:
     sage: rtest()
 Expected:
     (978, 0.184109262667515, -3*x^2 - 1/12, (4,5), [ 0, 1, 1, 0, 0 ],
 1161603091, 603
 59, 0.83350776541997362)
 Got:
     (978, 0.184109262667515, -3*x^2 - 1/12, (4,5), [ 0, 1, 1, 0, 0 ],
 1161603091, 603
 59, 0.8335077654199736)
 **********************************************************************
 }}}

 and

 {{{
 sage -t -long  -force_lib devel/sage-
 main/sage/matrix/matrix_double_dense.pyx
 **********************************************************************
 File "/storage/sage/sage-4.7.2.rc0/devel/sage-
 main/sage/matrix/matrix_double_dense.py
 x", line 1046:
     sage: A.singular_values(eps='junk')
 Expected:
     Traceback (most recent call last):
     ...
     ValueError: invalid literal for float(): junk
 Got:
     Traceback (most recent call last):
       File "/storage/sage/sage-4.7.2.rc0/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.rc0/local/bin/sagedoctest.py", line
 38, in run_o
 ne_example
         OrigDocTestRunner.run_one_example(self, test, example, filename,
 compileflags
 )
       File "/storage/sage/sage-4.7.2.rc0/local/bin/ncadoctest.py", line
 1172, in run_
 one_example
         compileflags, 1) in test.globs
       File "<doctest __main__.example_19[37]>", line 1, in <module>
         A.singular_values(eps='junk')###line 1046:
     sage: A.singular_values(eps='junk')
       File "matrix_double_dense.pyx", line 1075, in
 sage.matrix.matrix_double_dense.M
 atrix_double_dense.singular_values
 (sage/matrix/matrix_double_dense.c:6338)
         eps = RDF(eps)
       File "parent.pyx", line 988, in
 sage.structure.parent.Parent.__call__ (sage/str
 ucture/parent.c:7326)
       File "coerce_maps.pyx", line 82, in
 sage.structure.coerce_maps.DefaultConvertMa
 p_unique._call_ (sage/structure/coerce_maps.c:3268)
       File "coerce_maps.pyx", line 77, in
 sage.structure.coerce_maps.DefaultConvertMa
 p_unique._call_ (sage/structure/coerce_maps.c:3171)
       File "real_double.pyx", line 548, in
 sage.rings.real_double.RealDoubleElement._
 _init__ (sage/rings/real_double.c:5567)
     ValueError: could not convert string to float: junk
 **********************************************************************
 }}}

 The latter also fails here the same way on amd64 and is documented on
 sage-devel

 http://groups.google.com/group/sage-
 devel/browse_thread/thread/8e1d7f665ac5be37

 but with some slight differences.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9958#comment:127>
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.

Reply via email to