[issue18045] get_python_version is not import in bdist_rpm.py

2014-03-12 Thread Éric Araujo
Éric Araujo added the comment: Thanks for the report and patches. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___

[issue18045] get_python_version is not import in bdist_rpm.py

2014-03-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 677327810121 by Éric Araujo in branch '2.7': Fix missing import in bdist_rpm (#18045) http://hg.python.org/cpython/rev/677327810121 -- nosy: +python-dev ___ Python tracker

[issue18045] get_python_version is not import in bdist_rpm.py

2013-09-04 Thread Lukas Wunner
Lukas Wunner added the comment: The attached patch adds just the missing import statement (which already exists in all 3.x versions) and changes nothing else. -- nosy: +l Added file: http://bugs.python.org/file31591/issue18045-py27.diff ___ Python tr

[issue18045] get_python_version is not import in bdist_rpm.py

2013-06-03 Thread Nick Coghlan
Changes by Nick Coghlan : -- nosy: +ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue18045] get_python_version is not import in bdist_rpm.py

2013-05-30 Thread Dmi Baranov
Dmi Baranov added the comment: I would agree that the patch is incorrect, if it was produced with additional refactoring or changes in functionality, not described in the issue. It's just a PEP8 compliance at package level. -- ___ Python tracker

[issue18045] get_python_version is not import in bdist_rpm.py

2013-05-30 Thread Éric Araujo
Éric Araujo added the comment: Thanks for catching this. I think the patch is incorrect when it replaces “from sysconfig import get_python_version” by “from distutils.sysconfig import get_python_version”; it should only add the missing import in bdist_rpm.py, not touch the other modules. ---

[issue18045] get_python_version is not import in bdist_rpm.py

2013-05-30 Thread Berker Peksag
Changes by Berker Peksag : -- stage: -> patch review type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue18045] get_python_version is not import in bdist_rpm.py

2013-05-27 Thread Dmi Baranov
Dmi Baranov added the comment: Added a patch. Not covered by test, because this case require external module in test package definition. -- keywords: +patch nosy: +dmi.baranov Added file: http://bugs.python.org/file30392/issue18045.patch ___ Python t

[issue18045] get_python_version is not import in bdist_rpm.py

2013-05-23 Thread Matt Mao
New submission from Matt Mao: Python version : 2.7.5 OS : CentOS 6.3 When I tried to build a rpm with "python ./setup.py bdist_rpm", I get the following error : Traceback (most recent call last): File "setup.py", line 221, in ... and much more ;)""" File "/usr/local/pytho