#9808: Upgrade numpy to 1.5.0 and scipy to 0.8
----------------------------------------------------------------------------------+
   Reporter:  maldun                                                            
  |       Owner:  maldun                                        
       Type:  task                                                              
  |      Status:  needs_work                                    
   Priority:  major                                                             
  |   Milestone:  sage-4.6                                      
  Component:  packages                                                          
  |    Keywords:  numpy, scipy                                  
     Author:  Stefan Reiterer, Francois Bissey                                  
  |    Upstream:  Reported upstream. Developers acknowledge bug.
   Reviewer:  Karl-Dieter Crisman, David Kirkby, Leif Leonhardy, Francois 
Bissey  |      Merged:                                                
Work_issues:                                                                    
  |  
----------------------------------------------------------------------------------+
Changes (by drkirkby):

  * upstream:  N/A => Reported upstream. Developers acknowledge bug.


Comment:

 I see this problem on my !OpenSolaris machine too, which I expected would
 be the case.

 On my !OpenSolaris machine, Python's header file pyconfig.h has in it:

 {{{
 /* Define to 1 if you have the declaration of `isfinite', and to 0 if you
    don't. */
 #define HAVE_DECL_ISFINITE 0
 }}}

 but Numpy's config.h has in it:

 {{{
 #define HAVE_DECL_ISFINITE
 }}}

 Someone by the usename of 'pv' has said on the Numpy bug report
 http://projects.scipy.org/numpy/ticket/1625

 {{{
 However, the code at numpy/core/setup.py:218 is wrong, since it checks for
 #ifdef and not #if for Python's HAVE_DECL_ISFINITE.
 }}}

 So it seems this is a bug, and one which should be easy to fix. Note the
 fix does not need to be Solaris-specific, as the code is basically wrong
 on any platform - you just happen to get away with it on systems where the
 header file defines {{{isfinite}}} even though the code is not built C99.

 It's gone midnight here, I'm tired and have a lot to do all this week. But
 if nobody else patches this, I'll be able to do it in the next day or two.

 Dave

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