#11619: linux kernel 3.0 causes headaches with some python modules
------------------------+---------------------------------------------------
   Reporter:  fbissey   |          Owner:  tbd                                  
         
       Type:  defect    |         Status:  new                                  
         
   Priority:  critical  |      Milestone:  sage-4.7.2                           
         
  Component:  packages  |       Keywords:                                       
         
Work_issues:            |       Upstream:  Reported upstream. Developers 
acknowledge bug.
   Reviewer:            |         Author:                                       
         
     Merged:            |   Dependencies:                                       
         
------------------------+---------------------------------------------------
 This is quite fun. Python setup looks at linux major version number and
 will build some modules in a folder normally called plat-linux2. With
 linux 3.0 it looks for the non-existent plat-linux3.
 Upstream report is here:
 http://bugs.python.org/issue12326
 Not completely sure if there are implication for sage or any of its
 components apart from matplotlib where they updated some code to avoid the
 problem:
 
https://github.com/matplotlib/matplotlib/commit/aaef94485cf71ed3181e0adc5577d1a8911f6544

 One of main problem is that a lot of packages use
 {{{
 sys.platform == 'linux2'
 }}}
 when they should use something like
 {{{
 sys.platform.startswith('linux')
 }}}
 So we will have to fix python (I will do something in #9958 once I figured
 out what upstream is doing) and potentially some other packages which are
 looking for linux2.

 I think it is too late to do something for 4.7.1 but we should look into
 fixing 4.7.2.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11619>
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