Activity log for bug #839588

Date Who What changed Old value New value Message
2011-09-02 13:54:05 Domen Kožar bug added bug
2011-09-02 14:15:25 Launchpad Janitor python2.7 (Ubuntu): status New Confirmed
2011-09-08 20:23:35 Barry Warsaw python2.7 (Ubuntu): importance Undecided Medium
2011-09-08 20:23:37 Barry Warsaw python2.7 (Ubuntu): assignee Barry Warsaw (barry)
2011-09-08 20:23:41 Barry Warsaw python2.7 (Ubuntu): milestone ubuntu-11.10-beta-2
2011-09-08 20:32:22 Launchpad Janitor branch linked lp:ubuntu/python-virtualenv
2011-09-10 08:53:01 Domen Kožar description This bug breaks any C dependant code in virtualenv when using Python 2.6 and should be considered as serious issue. For example, it's impossible to install egenix-mx-base inside virtualenv-2.7 $ virtualenv --no-site-packages -p python2.6 test $ cd test && bin/python2.7 import sysconfig sysconfig.get_config_h_filename() Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/sysconfig.py", line 397, in get_config_h_filename inc_dir = get_path('platinclude').replace("/usr/local","/usr",1)+(sys.pydebug and "_d" or "") File "/usr/lib/python2.7/sysconfig.py", line 426, in get_path return get_paths(scheme, vars, expand)[name] File "/usr/lib/python2.7/sysconfig.py", line 417, in get_paths return _expand_vars(scheme, vars) File "/usr/lib/python2.7/sysconfig.py", line 172, in _expand_vars _extend_dict(vars, get_config_vars()) File "/usr/lib/python2.7/sysconfig.py", line 457, in get_config_vars _init_posix(_CONFIG_VARS) File "/usr/lib/python2.7/sysconfig.py", line 310, in _init_posix raise IOError(msg) IOError: invalid Python installation: unable to open /home/ielectric/code/test/local/lib/python2.7/config/Makefile (No such file or directory) This bug breaks any C dependant code in virtualenv when using Python 2.7 and should be considered as serious issue. For example, it's impossible to install egenix-mx-base inside virtualenv-2.7 $ virtualenv --no-site-packages -p python2.6 test $ cd test && bin/python2.7 import sysconfig sysconfig.get_config_h_filename() Traceback (most recent call last):   File "<stdin>", line 1, in <module>   File "/usr/lib/python2.7/sysconfig.py", line 397, in get_config_h_filename     inc_dir = get_path('platinclude').replace("/usr/local","/usr",1)+(sys.pydebug and "_d" or "")   File "/usr/lib/python2.7/sysconfig.py", line 426, in get_path     return get_paths(scheme, vars, expand)[name]   File "/usr/lib/python2.7/sysconfig.py", line 417, in get_paths     return _expand_vars(scheme, vars)   File "/usr/lib/python2.7/sysconfig.py", line 172, in _expand_vars     _extend_dict(vars, get_config_vars())   File "/usr/lib/python2.7/sysconfig.py", line 457, in get_config_vars     _init_posix(_CONFIG_VARS)   File "/usr/lib/python2.7/sysconfig.py", line 310, in _init_posix     raise IOError(msg) IOError: invalid Python installation: unable to open /home/ielectric/code/test/local/lib/python2.7/config/Makefile (No such file or directory)
2011-09-14 15:36:03 Barry Warsaw nominated for series Ubuntu Lucid
2011-09-14 15:36:03 Barry Warsaw bug task added python2.7 (Ubuntu Lucid)
2011-09-14 15:36:03 Barry Warsaw nominated for series Ubuntu Oneiric
2011-09-14 15:36:03 Barry Warsaw bug task added python2.7 (Ubuntu Oneiric)
2011-09-14 15:36:11 Barry Warsaw python2.7 (Ubuntu Oneiric): status Confirmed Fix Committed
2011-09-14 15:36:26 Barry Warsaw python2.7 (Ubuntu Oneiric): status Fix Committed Fix Released
2014-08-27 00:16:39 Robert Collins nominated for series Ubuntu Precise
2015-06-17 12:13:17 Rolf Leggewie python2.7 (Ubuntu Lucid): status New Won't Fix