Bug 506153

Summary: python2.5-config does not work w/o python-devel
Product: [Fedora] Fedora Reporter: Simo Sorce <ssorce>
Component: pythonAssignee: James Antill <james.antill>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: medium    
Version: 10CC: ivazqueznet, james.antill, jonathansteffan, katzj
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-07-04 21:37:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Simo Sorce 2009-06-15 18:49:34 UTC
/usr/bin/python2.5-config is in python-2.5.2-1.fc10.i386 but it appears to be totally broken if python-devel is not also installed:

traceback in that case:
# `/usr/bin/python2.5-config --cflags`
# Traceback (most recent call last):
#   File "/usr/bin/python2.5-config", line 26, in <module>
#     pyver = sysconfig.get_config_var('VERSION')
#   File "/usr/lib/python2.5/distutils/sysconfig.py", line 535, in get_config_var
#     return get_config_vars().get(name)
#   File "/usr/lib/python2.5/distutils/sysconfig.py", line 493, in get_config_vars
#     func()
#   File "/usr/lib/python2.5/distutils/sysconfig.py", line 352, in _init_posix
#     raise DistutilsPlatformError(my_msg)
# distutils.errors.DistutilsPlatformError: invalid Python installation: unable to open /usr/lib/python2.5/config/Makefile (No such file or directory)

Comment 1 Jonathan Steffan 2009-07-04 21:16:20 UTC
Moved to python-devel for all active branches. Waiting on builds.

Comment 3 Fedora Update System 2009-07-04 21:51:50 UTC
python-2.5.2-4.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/python-2.5.2-4.fc10

Comment 4 Fedora Update System 2009-07-04 21:51:55 UTC
python-2.6-11.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/python-2.6-11.fc11