python-virtualenv doesn't work with Python 2.6.x
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
python-setuptools (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
python-virtualenv (Ubuntu) |
Fix Released
|
High
|
Matthias Klose | ||
python2.6 (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
python3.0 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: python-virtualenv
kklimonda@ubuntu:~$ lsb_release -rd
Description: Ubuntu jaunty (development branch)
Release: 9.04
kklimonda@ubuntu:~$ virtualenv --version
1.0.1dev
kklimonda@ubuntu:~$ apt-cache policy python-virtualenv |grep Installed
Installed: 1.1-1
Why does virtualenv return version 1.0.1dev when package is 1.1-1?
Also the newest virtualenv version is 1.3.2 and version 1.3.1 includes full python 2.6 support (I guess that's the real culprit as those missing modules are part of it).
kklimonda@ubuntu:~$ virtualenv test
New python executable in test/bin/python
'import site' failed; use -v for traceback
Installing setuptools.
Complete output from command test/bin/python -c "#!python
\"\"\"Bootstrap setuptoo...
" --always-copy -U setuptools:
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "<string>", line 53, in <module>
File "/home/
import posixpath as path
File "/home/
import warnings
ImportError: No module named warnings
-------
...Installing setuptools...done.
Traceback (most recent call last):
File "/usr/bin/
load_
File "/usr/lib/
unzip_
File "/usr/lib/
install_
File "/usr/lib/
cwd=cwd)
File "/usr/lib/
% (cmd_desc, proc.returncode))
OSError: Command test/bin/python -c "#!python
\"\"\"Bootstrap setuptoo...
" --always-copy -U setuptools failed with error code 1
kklimonda@ubuntu:~$
Even if I link all required python modules (warnings.py*, linecache.py*, _abcoll.py*, abc.py) I get another error:
File "<string>", line 7, in <module>
(...a lot of those lines...)
File "<string>", line 7, in <module>
File "/home/
if head and head != '/'*len(head):
RuntimeError: maximum recursion depth exceeded in cmp
(...)
" --always-copy -U setuptools failed with error code 1
kklimonda@ubuntu:~$
Changed in python-virtualenv (Ubuntu): | |
status: | In Progress → Confirmed |
Changed in python2.6 (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in python-virtualenv (Ubuntu): | |
assignee: | wgrant → doko |
this issue is unrelated to the linux kernel, closing the linux task