#11334: Update numpy to 1.7.0
--------------------------------------------------------------+-------------
       Reporter:  jason                                       |         Owner:  
tbd       
           Type:  task                                        |        Status:  
needs_work
       Priority:  major                                       |     Milestone:  
sage-5.9  
      Component:  packages: standard                          |    Resolution:  
          
       Keywords:  sd40.5                                      |   Work issues:  
          
Report Upstream:  Fixed upstream, in a later stable release.  |     Reviewers:  
          
        Authors:                                              |     Merged in:  
          
   Dependencies:  #12415, #13992                              |      Stopgaps:  
          
--------------------------------------------------------------+-------------

Comment (by strogdon):

 I've now tested 5.9.beta3 on two different machines and I get the
 following numpy-related warnings which I also saw with 5.9.beta2.
 {{{
 ./sage -t --long devel/sage/sage/matrix/matrix2.pyx
 devel/sage/sage/symbolic/expression.pyx
 Running doctests with ID 2013-04-04-12-42-24-9b2fa346.
 Doctesting 2 files.
 sage -t --long devel/sage/sage/matrix/matrix2.pyx
 **********************************************************************
 File "devel/sage/sage/matrix/matrix2.pyx", line 11476, in
 sage.matrix.matrix2.Matrix.diagonal.plot
 Failed example:
     A.plot()
 Expected nothing
 Got:
     doctest:146: RuntimeWarning: numpy.dtype size changed, may indicate
 binary incompatibility
     doctest:146: RuntimeWarning: numpy.ufunc size changed, may indicate
 binary incompatibility
     doctest:3: RuntimeWarning: numpy.dtype size changed, may indicate
 binary incompatibility
     doctest:3: RuntimeWarning: numpy.ufunc size changed, may indicate
 binary incompatibility
     doctest:148: RuntimeWarning: numpy.dtype size changed, may indicate
 binary incompatibility
     doctest:148: RuntimeWarning: numpy.ufunc size changed, may indicate
 binary incompatibility
     doctest:150: RuntimeWarning: numpy.dtype size changed, may indicate
 binary incompatibility
     doctest:150: RuntimeWarning: numpy.ufunc size changed, may indicate
 binary incompatibility
     <BLANKLINE>
 **********************************************************************
 1 item had failures:
    1 of   7 in sage.matrix.matrix2.Matrix.diagonal.plot
     [2000 tests, 1 failure, 38.68 s]
 sage -t --long devel/sage/sage/symbolic/expression.pyx
 **********************************************************************
 File "devel/sage/sage/symbolic/expression.pyx", line 8747, in
 sage.symbolic.expression.Expression.find_root
 Failed example:
     f.find_root(-2, 3)
 Expected:
     1.0
 Got:
     doctest:146: RuntimeWarning: numpy.dtype size changed, may indicate
 binary incompatibility
     doctest:146: RuntimeWarning: numpy.ufunc size changed, may indicate
 binary incompatibility
     doctest:3: RuntimeWarning: numpy.dtype size changed, may indicate
 binary incompatibility
     doctest:3: RuntimeWarning: numpy.ufunc size changed, may indicate
 binary incompatibility
     doctest:148: RuntimeWarning: numpy.dtype size changed, may indicate
 binary incompatibility
     doctest:148: RuntimeWarning: numpy.ufunc size changed, may indicate
 binary incompatibility
     doctest:150: RuntimeWarning: numpy.dtype size changed, may indicate
 binary incompatibility
     doctest:150: RuntimeWarning: numpy.ufunc size changed, may indicate
 binary incompatibility
     1.0
 **********************************************************************
 1 item had failures:
    1 of  29 in sage.symbolic.expression.Expression.find_root
     [2041 tests, 1 failure, 36.88 s]
 ----------------------------------------------------------------------
 sage -t --long devel/sage/sage/matrix/matrix2.pyx  # 1 doctest failed
 sage -t --long devel/sage/sage/symbolic/expression.pyx  # 1 doctest failed
 ----------------------------------------------------------------------
 Total time for all tests: 77.1 seconds
     cpu time: 72.3 seconds
     cumulative wall time: 75.6 seconds
 }}}
 What is really odd is that the seemingly offending lines when run from the
 Sage prompt give _no_ warnings. And I don't see where in the .pyx files
 {{{RuntimeWarnings}}} are explicitly turned on or off. It is as if
 warnings are only being turned on during doctesting or perhaps something
 else is up.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11334#comment:114>
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to