#10792: Upgrade numpy to 1.5.1
------------------------+---------------------------------------------------
   Reporter:  jason     |       Owner:  tbd     
       Type:  task      |      Status:  new     
   Priority:  major     |   Milestone:  sage-4.7
  Component:  packages  |    Keywords:          
     Author:            |    Upstream:  N/A     
   Reviewer:            |      Merged:          
Work_issues:            |  
------------------------+---------------------------------------------------
Changes (by fbissey):

  * milestone:  sage-4.6.2 => sage-4.7


Comment:

 Updating should be straightforward but some doctest will break because of
 some extra verbosity:
 {{{
 sage -t -long -force_lib "devel/sage-main/sage/calculus/riemann.pyx"
 **********************************************************************
 File "/usr/share/sage/devel/sage-main/sage/calculus/riemann.pyx", line
 102:
     sage: m = Riemann_Map([lambda t: e^(I*t)], [lambda t: I*e^(I*t)], 0)
 # long time (4 sec)
 Expected nothing
 Got:
     doctest:1: ComplexWarning: Casting complex values to real discards the
 imaginary part
 **********************************************************************
 File "/usr/share/sage/devel/sage-main/sage/calculus/riemann.pyx", line
 563:
     sage: m = Riemann_Map([lambda t: e^(I*t) - 0.5*e^(-I*t)], [lambda t:
 I*e^(I*t) + 0.5*I*e^(-I*t)], 0)  # long time (4 sec)
 Expected nothing
 Got:
     doctest:1: ComplexWarning: Casting complex values to real discards the
 imaginary part
 **********************************************************************
 File "/usr/share/sage/devel/sage-main/sage/calculus/riemann.pyx", line
 613:
     sage: m = Riemann_Map([lambda t: e^(I*t) - 0.5*e^(-I*t)], [lambda t:
 I*e^(I*t) + 0.5*I*e^(-I*t)], 0)  # long time (4 sec)
 Expected nothing
 Got:
     doctest:1: ComplexWarning: Casting complex values to real discards the
 imaginary part
 **********************************************************************
 File "/usr/share/sage/devel/sage-main/sage/calculus/riemann.pyx", line
 676:
     sage: m = Riemann_Map([lambda t: e^(I*t) - 0.5*e^(-I*t)], [lambda t:
 I*e^(I*t) + 0.5*I*e^(-I*t)], 0)  # long time (4 sec)
 Expected nothing
 Got:
     doctest:1: ComplexWarning: Casting complex values to real discards the
 imaginary part
 **********************************************************************
 File "/usr/share/sage/devel/sage-main/sage/calculus/riemann.pyx", line
 760:
     sage: m = Riemann_Map([lambda t: e^(I*t) - 0.5*e^(-I*t)], [lambda t:
 I*e^(I*t) + 0.5*I*e^(-I*t)], 0)  # long time (4 sec)
 Expected nothing
 Got:
     doctest:1: ComplexWarning: Casting complex values to real discards the
 imaginary part
 **********************************************************************
 File "/usr/share/sage/devel/sage-main/sage/calculus/riemann.pyx", line
 822:
     sage: m = Riemann_Map([lambda t: e^(I*t) - 0.5*e^(-I*t)], [lambda t:
 I*e^(I*t) + 0.5*I*e^(-I*t)], 0)  # long time (4 sec)
 Expected nothing
 Got:
     doctest:1: ComplexWarning: Casting complex values to real discards the
 imaginary part
 **********************************************************************
 File "/usr/share/sage/devel/sage-main/sage/calculus/riemann.pyx", line
 152:
     sage: m = Riemann_Map([lambda t: e^(I*t) - 0.5*e^(-I*t)], [lambda t:
 I*e^(I*t) + 0.5*I*e^(-I*t)], 0)  # long time (4 sec)
 Expected nothing
 Got:
     doctest:1: ComplexWarning: Casting complex values to real discards the
 imaginaWarning: invalid value encountered in divide
 **********************************************************************
 File "/usr/share/sage/devel/sage-main/sage/calculus/riemann.pyx", line
 102:
     sage: m = Riemann_Map([lambda t: e^(I*t)], [lambda t: I*e^(I*t)], 0)
 # long time (4 sec)
 Expected nothing
 Got:
     doctest:1: ComplexWarning: Casting complex values to real discards the
 imaginary part
 **********************************************************************
 File "/usr/share/sage/devel/sage-main/sage/calculus/riemann.pyx", line
 563:
     sage: m = Riemann_Map([lambda t: e^(I*t) - 0.5*e^(-I*t)], [lambda t:
 I*e^(I*t) + 0.5*I*e^(-I*t)], 0)  # long time (4 sec)
 Expected nothing
 Got:
     doctest:1: ComplexWarning: Casting complex values to real discards the
 imaginary part
 **********************************************************************
 File "/usr/share/sage/devel/sage-main/sage/calculus/riemann.pyx", line
 613:
     sage: m = Riemann_Map([lambda t: e^(I*t) - 0.5*e^(-I*t)], [lambda t:
 I*e^(I*t) + 0.5*I*e^(-I*t)], 0)  # long time (4 sec)
 Expected nothing
 Got:
     doctest:1: ComplexWarning: Casting complex values to real discards the
 imaginary part
 **********************************************************************
 File "/usr/share/sage/devel/sage-main/sage/calculus/riemann.pyx", line
 676:
     sage: m = Riemann_Map([lambda t: e^(I*t) - 0.5*e^(-I*t)], [lambda t:
 I*e^(I*t) + 0.5*I*e^(-I*t)], 0)  # long time (4 sec)
 Expected nothing
 Got:
     doctest:1: ComplexWarning: Casting complex values to real discards the
 imaginary part
 **********************************************************************
 File "/usr/share/sage/devel/sage-main/sage/calculus/riemann.pyx", line
 760:
     sage: m = Riemann_Map([lambda t: e^(I*t) - 0.5*e^(-I*t)], [lambda t:
 I*e^(I*t) + 0.5*I*e^(-I*t)], 0)  # long time (4 sec)
 Expected nothing
 Got:
     doctest:1: ComplexWarning: Casting complex values to real discards the
 imaginary part
 **********************************************************************
 File "/usr/share/sage/devel/sage-main/sage/calculus/riemann.pyx", line
 822:
     sage: m = Riemann_Map([lambda t: e^(I*t) - 0.5*e^(-I*t)], [lambda t:
 I*e^(I*t) + 0.5*I*e^(-I*t)], 0)  # long time (4 sec)
 Expected nothing
 Got:
     doctest:1: ComplexWarning: Casting complex values to real discards the
 imaginary part
 **********************************************************************
 File "/usr/share/sage/devel/sage-main/sage/calculus/riemann.pyx", line
 152:
     sage: m = Riemann_Map([lambda t: e^(I*t) - 0.5*e^(-I*t)], [lambda t:
 I*e^(I*t) + 0.5*I*e^(-I*t)], 0)  # long time (4 sec)
 Expected nothing
 Got:
     doctest:1: ComplexWarning: Casting complex values to real discards the
 imaginary part
 **********************************************************************
 File "/usr/share/sage/devel/sage-main/sage/calculus/riemann.pyx", line
 196:
     sage: isinstance(Riemann_Map([lambda t: e^(I*t) - 0.5*e^(-I*t)],
 [lambda t: I*e^(I*t) + 0.5*I*e^(-I*t)], 0)._repr_(), str)  # lo
 ng time
 Expected:
     True
 Got:
     doctest:1: ComplexWarning: Casting complex values to real discards the
 imaginary part
     True
 **********************************************************************
 File "/usr/share/sage/devel/sage-main/sage/calculus/riemann.pyx", line
 208:
     sage: m = Riemann_Map([lambda t: e^(I*t) - 0.5*e^(-I*t)], [lambda t:
 I*e^(I*t) + 0.5*I*e^(-I*t)], 0)  # long time (4 sec)
 Expected nothing
 Got:
     doctest:1: ComplexWarning: Casting complex values to real discards the
 imaginary part
 **********************************************************************
 File "/usr/share/sage/devel/sage-main/sage/calculus/riemann.pyx", line
 308:
     sage: m = Riemann_Map([lambda t: e^(I*t) - 0.5*e^(-I*t)], [lambda t:
 I*e^(I*t) + 0.5*I*e^(-I*t)], 0)  # long time (4 sec)
 Expected nothing
 Got:
     doctest:1: ComplexWarning: Casting complex values to real discards the
 imaginary part
 **********************************************************************
 File "/usr/share/sage/devel/sage-main/sage/calculus/riemann.pyx", line
 376:
     sage: m = Riemann_Map([lambda t: e^(I*t) - 0.5*e^(-I*t)], [lambda t:
 I*e^(I*t) + 0.5*I*e^(-I*t)], 0)  # long time (4 sec)
 Expected nothing
 Got:
     doctest:1: ComplexWarning: Casting complex values to real discards the
 imaginary part
 **********************************************************************
 File "/usr/share/sage/devel/sage-main/sage/calculus/riemann.pyx", line
 417:
     sage: m = Riemann_Map([lambda t: e^(I*t) - 0.5*e^(-I*t)], [lambda t:
 I*e^(I*t) + 0.5*I*e^(-I*t)], 0)  # long time (4 sec)
 Expected nothing
 Got:
     doctest:1: ComplexWarning: Casting complex values to real discards the
 imaginary part
 **********************************************************************
 File "/usr/share/sage/devel/sage-main/sage/calculus/riemann.pyx", line
 487:
     sage: m = Riemann_Map([lambda t: e^(I*t) - 0.5*e^(-I*t)], [lambda t:
 I*e^(I*t) + 0.5*I*e^(-I*t)], 0)  # long time (4 sec)
 Expected nothing
 Got:
     doctest:1: ComplexWarning: Casting complex values to real discards the
 imaginary part
 **********************************************************************
 File "/usr/share/sage/devel/sage-main/sage/calculus/riemann.pyx", line
 513:
     sage: m = Riemann_Map([lambda t: e^(I*t) - 0.5*e^(-I*t)], [lambda t:
 I*e^(I*t) + 0.5*I*e^(-I*t)], 0)  # long time (4 sec)
 Expected nothing
 Got:
     doctest:1: ComplexWarning: Casting complex values to real discards the
 imaginary part
 **********************************************************************
 14 items had failures:
 }}}
 and
 {{{
 sage -t -long "devel/sage-main/sage/calculus/interpolators.pyx"
 **********************************************************************
 File "/usr/share/sage/devel/sage-main/sage/calculus/interpolators.pyx",
 line 52:
     sage: m = Riemann_Map([lambda x: ps.value(x)], [lambda x:
 ps.derivative(x)],0)
 Expected nothing
 Got:
     doctest:1: ComplexWarning: Casting complex values to real discards the
 imaginary part
 **********************************************************************
 File "/usr/share/sage/devel/sage-main/sage/calculus/interpolators.pyx",
 line 183:
     sage: m = Riemann_Map([lambda x: cs.value(x)], [lambda x:
 cs.derivative(x)], 0)
 Expected nothing
 Got:
     doctest:1: ComplexWarning: Casting complex values to real discards the
 imaginary part
 **********************************************************************
 2 items had failures:
 }}}
 I think that's all the failures related to numpy-1.5.1

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