FS#25747 - python and python2 packages don't reflect kernel upgrade to 3.0
Attached to Project:
Arch Linux
Opened by Raphaël Bois (vdust) - Wednesday, 24 August 2011, 14:02 GMT
Last edited by Stéphane Gaudreault (stephane) - Monday, 17 October 2011, 14:07 GMT
Opened by Raphaël Bois (vdust) - Wednesday, 24 August 2011, 14:02 GMT
Last edited by Stéphane Gaudreault (stephane) - Monday, 17 October 2011, 14:07 GMT
|
Details
Description:
Python's module 'sys' has an attribute 'platform'. In python documentation (both 2.x and 3.x), you can find this line in the description: " For Unix systems, this is the lowercased OS name as returned by uname -s with the first part of the version as returned by uname -r appended, e.g. 'sunos5' or 'linux2', AT THE TIME WHEN PYTHON WAS BUILT. " I currently have linux 3.0 installed, but sys.platform still says 'linux2'. So python packages seems to need a rebuild. Additional info: * package version(s): python 3.2.1-1 python2 2.7.2-2 Steps to reproduce: $ uname -s -r Linux 3.0-ARCH $ python #or python2 ... >>> import sys >>> sys.platform 'linux2' |
This task depends upon
Closed by Stéphane Gaudreault (stephane)
Monday, 17 October 2011, 14:07 GMT
Reason for closing: Not a bug
Monday, 17 October 2011, 14:07 GMT
Reason for closing: Not a bug
Thanks for pointing this issue out, it will save us from busting python whenever we build it on a system with linux 3.x running.