#9808: Upgrade numpy to 1.4.1 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      |    Upstream:  N/A         
   Reviewer:  Karl-Dieter Crisman  |      Merged:              
Work_issues:                       |  
-----------------------------------+----------------------------------------

Comment(by fbissey):

 Replying to [comment:113 kcrisman]:
 > Well, that seems to have helped...
 > {{{
 > gcc: scipy/special/c_misc/gammaincinv.c
 > }}}
 > and it keeps going!
 >
 > So it was the patches for G95 that were the problem.  Which one in
 particular (which command/line) caused the header confusion, do you think?
 I'm just curious, and don't know enough about this to say.
 >

 Well, there are 4 patches that were applied in case g95 was found as the
 fortran compiler. The faulty one is special.setup.py (or possibly
 setup.py.special) which
 replaces the file setup.py in the folder scipy/special.

 This setup.py file has changed quite a lot between version 0.7.0 and
 0.8.0.
 The lines at fault:
 {{{
     # C libraries
     config.add_library('sc_c_misc',sources=[join('c_misc','*.c')])
     config.add_library('sc_cephes',sources=[join('cephes','*.c')],
                        include_dirs=[get_python_inc(),
 get_numpy_include_dirs()],
                        macros=define_macros)
 }}}
 in version 0.7.0 and this is the code found in the "patch" file and
 {{{
     # C libraries
     config.add_library('sc_c_misc',sources=[join('c_misc','*.c')],
                        include_dirs=[get_python_inc(),
 get_numpy_include_dirs()],
                        macros=define_macros)
     config.add_library('sc_cephes',sources=[join('cephes','*.c')],
                        include_dirs=[get_python_inc(),
 get_numpy_include_dirs()],
                        macros=define_macros)
 }}}
 in version 0.8.0. This is a case were using patches rather copying files
 wholesale would have prevented the problem. Either the patch wouldn't have
 worked with the newer version and we would have known straight away or it
 would have applied with some fuzz without dommaging this particular
 section.

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