Public bug reported: Binary package hint: python-virtualenv
python-virtualenv 1.3.3-1ubuntu1 in lucid installs an old version of setuptools: ast...@computer:~$ dpkg -L python-virtualenv | grep setuptools /usr/share/pyshared/support-files/setuptools-0.6c9-py2.6.egg /usr/share/pyshared/support-files/setuptools-0.6c9-py2.5.egg ast...@computer:~$ apt-cache show python-setuptools | grep Version Version: 0.6.10-1ubuntu1 Python-Version: 2.5, 2.6 Running the following script results in a traceback. ------------- start of test script #!/bin/bash set -e TARGET=PYst rm -rf foo rm -rf $TARGET cat > setup.py <<EOF from setuptools import setup setup(name='foo', version='1.0', packages=['foo'], zip_safe=False, ) EOF mkdir foo touch foo/__init__.py virtualenv $TARGET $TARGET/bin/python setup.py install ------------- end of test script The traceback is: Traceback (most recent call last): File "setup.py", line 6, in <module> zip_safe=False, File "/usr/lib/python2.6/distutils/core.py", line 113, in setup _setup_distribution = dist = klass(attrs) File "/tmp/PYst/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/dist.py", line 223, in __init__ File "/usr/lib/python2.6/distutils/dist.py", line 270, in __init__ self.finalize_options() File "/tmp/PYst/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/dist.py", line 256, in finalize_options File "/tmp/PYst/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/pkg_resources.py", line 1918, in load while parts and parts[-1]=='00000000': ImportError: <module 'setuptools.dist' from '/tmp/PYst/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/dist.py'> has no 'check_packages' attribute Rebuilding virtualenv 1.3.3-1ubuntu1 does not fix the issue, but installing virtualenv 1.4.5 fixes the issue. (I used 1.4.5-1 from my PPA.) ** Affects: python-virtualenv (Ubuntu) Importance: Undecided Status: New -- [lucid] installs old version of setuptools https://bugs.launchpad.net/bugs/517390 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs