Your message dated Mon, 17 Nov 2014 19:33:51 +0000 with message-id <[email protected]> and subject line Bug#751827: fixed in python-pip 1.5.6-3 has caused the Debian Bug report #751827, regarding python-virtualenv: version of pip in virtualenvs fails to uninstall some packages to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 751827: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=751827 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: python-virtualenv Version: 1.11.6-2 Severity: important Dear Maintainer, (I am unsure if this is because of interaction of pip with the virtualenv, so I am reporting against python-virtualenv, not python-pip. Feel free to reassign!) When creating a virtualenv, the version of pip that gets installed does not properly uninstall some packages. Consider the following script: ----------------->pip_fail.sh>------------------- #!/bin/sh set -x unset PIP_DOWNLOAD_CACHE virtualenv some_venv . some_venv/bin/activate pip install six==1.4.1 pip uninstall -y six pip freeze ls -la $VIRTUAL_ENV/lib/python2.7/site-packages/ ls -la $VIRTUAL_ENV/lib/python2.7/site-packages/six*egg* cat $VIRTUAL_ENV/lib/python2.7/site-packages/six*egg*/installed-files.txt rm -rf some_venv -----------------<pip_fail.sh<------------------- On my system, the uninstall fails with Can't uninstall 'six'. No files were found to uninstall. The installed-files.txt looks allright: + cat /tmp/some_venv/lib/python2.7/site-packages/six-1.4.1-py2.7.egg-info/installed-files.txt ../six.py ../six.pyc ./ top_level.txt dependency_links.txt SOURCES.txt PKG-INFO Replacing 'six==1.4.1' with 'six==1.5.1' in the script above, the uninstall completes without error. The obvious difference is that six==1.5.1 uses a wheel, six==1.4.1 doesn't. Installing pip from pypi, while keeping six==1.4.1, also fixes the problem: ----------------->pip_win.sh>-------------------- #!/bin/sh set -x unset PIP_DOWNLOAD_CACHE virtualenv some_venv . some_venv/bin/activate pip install pip==1.5.4 pip install pip==1.5.6 pip install six==1.4.1 pip uninstall -y six pip freeze ls -la $VIRTUAL_ENV/lib/python2.7/site-packages/ ls -la $VIRTUAL_ENV/lib/python2.7/site-packages/six*egg* cat $VIRTUAL_ENV/lib/python2.7/site-packages/six*egg*/installed-files.txt rm -rf some_venv -----------------<pip_win.sh<-------------------- Output of both scripts below. Thanks, Alex ----------------->pip_fail.sh output>------------------- + unset PIP_DOWNLOAD_CACHE + virtualenv some_venv New python executable in some_venv/bin/python2 Also creating executable in some_venv/bin/python Installing setuptools, pip...done. Running virtualenv with interpreter /usr/bin/python2 + . some_venv/bin/activate ++ deactivate nondestructive ++ unset pydoc ++ '[' -n '' ']' ++ '[' -n '' ']' ++ '[' -n /bin/sh -o -n '' ']' ++ hash -r ++ '[' -n '' ']' ++ unset VIRTUAL_ENV ++ '[' '!' nondestructive = nondestructive ']' ++ VIRTUAL_ENV=/home/alex/some_venv ++ export VIRTUAL_ENV ++ _OLD_VIRTUAL_PATH=/opt/msp430-gcc-4.4.3/bin/:/home/alex/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games ++ PATH=/home/alex/some_venv/bin:/opt/msp430-gcc-4.4.3/bin/:/home/alex/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games ++ export PATH ++ '[' -n '' ']' ++ '[' -z '' ']' ++ _OLD_VIRTUAL_PS1= ++ '[' x '!=' x ']' +++ basename /home/alex/some_venv ++ '[' some_venv = __ ']' +++ basename /home/alex/some_venv ++ PS1='(some_venv)' ++ export PS1 ++ alias 'pydoc=python -m pydoc' ++ '[' -n /bin/sh -o -n '' ']' ++ hash -r + pip install six==1.4.1 Downloading/unpacking six==1.4.1 Downloading six-1.4.1.tar.gz Running setup.py (path:/home/alex/some_venv/build/six/setup.py) egg_info for package six Installing collected packages: six Running setup.py install for six Successfully installed six Cleaning up... + pip uninstall -y six Can't uninstall 'six'. No files were found to uninstall. + pip freeze argparse==1.2.1 six==1.4.1 wsgiref==0.1.2 + ls -la /home/alex/some_venv/lib/python2.7/site-packages/ total 304 drwxr-xr-x 8 alex alex 4096 Jun 17 02:38 . drwxr-xr-x 4 alex alex 4096 Jun 17 02:38 .. -rw-r--r-- 1 alex alex 126 Jun 17 02:38 easy_install.py -rw-r--r-- 1 alex alex 320 Jun 17 02:38 easy_install.pyc drwxr-xr-x 2 alex alex 4096 Jun 17 02:38 _markerlib drwxr-xr-x 5 alex alex 4096 Jun 17 02:38 pip drwxr-xr-x 2 alex alex 4096 Jun 17 02:38 pip-1.5.6.dist-info -rw-r--r-- 1 alex alex 101161 Jun 17 02:38 pkg_resources.py -rw-r--r-- 1 alex alex 108892 Jun 17 02:38 pkg_resources.pyc drwxr-xr-x 4 alex alex 4096 Jun 17 02:38 setuptools drwxr-xr-x 2 alex alex 4096 Jun 17 02:38 setuptools-4.0.1.dist-info drwxr-xr-x 2 alex alex 4096 Jun 17 02:38 six-1.4.1-py2.7.egg-info -rw-r--r-- 1 alex alex 20588 Jun 17 02:38 six.py -rw-r--r-- 1 alex alex 21384 Jun 17 02:38 six.pyc + ls -la /home/alex/some_venv/lib/python2.7/site-packages/six-1.4.1-py2.7.egg-info total 28 drwxr-xr-x 2 alex alex 4096 Jun 17 02:38 . drwxr-xr-x 8 alex alex 4096 Jun 17 02:38 .. -rw-r--r-- 1 alex alex 1 Jun 17 02:38 dependency_links.txt -rw-r--r-- 1 alex alex 80 Jun 17 02:38 installed-files.txt -rw-r--r-- 1 alex alex 1422 Jun 17 02:38 PKG-INFO -rw-r--r-- 1 alex alex 121 Jun 17 02:38 SOURCES.txt -rw-r--r-- 1 alex alex 4 Jun 17 02:38 top_level.txt + cat /home/alex/some_venv/lib/python2.7/site-packages/six-1.4.1-py2.7.egg-info/installed-files.txt ../six.py ../six.pyc ./ dependency_links.txt SOURCES.txt PKG-INFO top_level.txt + rm -rf some_venv -----------------<pip_fail.sh output<------------------- ----------------->pip_win.sh output>-------------------- + unset PIP_DOWNLOAD_CACHE + virtualenv some_venv New python executable in some_venv/bin/python2 Also creating executable in some_venv/bin/python Installing setuptools, pip...done. Running virtualenv with interpreter /usr/bin/python2 + . some_venv/bin/activate ++ deactivate nondestructive ++ unset pydoc ++ '[' -n '' ']' ++ '[' -n '' ']' ++ '[' -n /bin/sh -o -n '' ']' ++ hash -r ++ '[' -n '' ']' ++ unset VIRTUAL_ENV ++ '[' '!' nondestructive = nondestructive ']' ++ VIRTUAL_ENV=/home/alex/some_venv ++ export VIRTUAL_ENV ++ _OLD_VIRTUAL_PATH=/opt/msp430-gcc-4.4.3/bin/:/home/alex/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games ++ PATH=/home/alex/some_venv/bin:/opt/msp430-gcc-4.4.3/bin/:/home/alex/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games ++ export PATH ++ '[' -n '' ']' ++ '[' -z '' ']' ++ _OLD_VIRTUAL_PS1= ++ '[' x '!=' x ']' +++ basename /home/alex/some_venv ++ '[' some_venv = __ ']' +++ basename /home/alex/some_venv ++ PS1='(some_venv)' ++ export PS1 ++ alias 'pydoc=python -m pydoc' ++ '[' -n /bin/sh -o -n '' ']' ++ hash -r + pip install pip==1.5.5 Downloading/unpacking pip==1.5.5 Installing collected packages: pip Found existing installation: pip 1.5.6 Uninstalling pip: Successfully uninstalled pip Successfully installed pip Cleaning up... + pip install pip==1.5.6 Downloading/unpacking pip==1.5.6 Installing collected packages: pip Found existing installation: pip 1.5.5 Uninstalling pip: Successfully uninstalled pip Successfully installed pip Cleaning up... + pip install six==1.4.1 Downloading/unpacking six==1.4.1 Downloading six-1.4.1.tar.gz Running setup.py (path:/home/alex/some_venv/build/six/setup.py) egg_info for package six Installing collected packages: six Running setup.py install for six Successfully installed six Cleaning up... + pip uninstall -y six Uninstalling six: Successfully uninstalled six + pip freeze argparse==1.2.1 wsgiref==0.1.2 + ls -la /home/alex/some_venv/lib/python2.7/site-packages/ total 252 drwxr-xr-x 7 alex alex 4096 Jun 17 02:39 . drwxr-xr-x 4 alex alex 4096 Jun 17 02:39 .. -rw-r--r-- 1 alex alex 126 Jun 17 02:39 easy_install.py -rw-r--r-- 1 alex alex 320 Jun 17 02:39 easy_install.pyc drwxr-xr-x 2 alex alex 4096 Jun 17 02:39 _markerlib drwxr-xr-x 6 alex alex 4096 Jun 17 02:39 pip drwxr-xr-x 2 alex alex 4096 Jun 17 02:39 pip-1.5.6.dist-info -rw-r--r-- 1 alex alex 101161 Jun 17 02:39 pkg_resources.py -rw-r--r-- 1 alex alex 108892 Jun 17 02:39 pkg_resources.pyc drwxr-xr-x 4 alex alex 4096 Jun 17 02:39 setuptools drwxr-xr-x 2 alex alex 4096 Jun 17 02:39 setuptools-4.0.1.dist-info + ls -la '/home/alex/some_venv/lib/python2.7/site-packages/six*egg*' ls: cannot access /home/alex/some_venv/lib/python2.7/site-packages/six*egg*: No such file or directory + cat '/home/alex/some_venv/lib/python2.7/site-packages/six*egg*/installed-files.txt' cat: /home/alex/some_venv/lib/python2.7/site-packages/six*egg*/installed-files.txt: No such file or directory + rm -rf some_venv -----------------<pip_win.sh output<-------------------- -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.14-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages python-virtualenv depends on: ii python 2.7.6-2 ii python-pip-whl 1.5.6-2 ii python-pkg-resources 4.0.1-1 ii python-setuptools-whl 4.0.1-1 Versions of packages python-virtualenv recommends: ii virtualenv 1.11.6-2 python-virtualenv suggests no packages. -- no debconf information
--- End Message ---
--- Begin Message ---Source: python-pip Source-Version: 1.5.6-3 We believe that the bug you reported is fixed in the latest version of python-pip, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Stefano Rivera <[email protected]> (supplier of updated python-pip package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Mon, 17 Nov 2014 11:18:13 -0800 Source: python-pip Binary: python-pip python3-pip python-pip-whl Architecture: source all Version: 1.5.6-3 Distribution: unstable Urgency: medium Maintainer: Debian Python Modules Team <[email protected]> Changed-By: Stefano Rivera <[email protected]> Description: python-pip - alternative Python package installer python-pip-whl - alternative Python package installer python3-pip - alternative Python package installer - Python 3 version of the pa Closes: 751827 Changes: python-pip (1.5.6-3) unstable; urgency=medium . * Team upload. * Remove d/patches/format_egg_string.patch. This was worked around, upstream, in 1.0. And this patch now breaks pip uninstall in virtualenvs. (Closes: #751827) Checksums-Sha1: 08a1f26a77f86fabb67300732f670edde0a8d763 2339 python-pip_1.5.6-3.dsc fb012d019c2a2dfbf6f33a6984adb60a0de0f876 14716 python-pip_1.5.6-3.debian.tar.xz b94b158e9c5cd757c5cd9e8eb2d6057a60ac3753 113064 python-pip_1.5.6-3_all.deb 384de9f52307a38540874cab7ded9d96842d596f 96146 python3-pip_1.5.6-3_all.deb 7d13448e32e8f2e3b041c31b9521b8d1dcab2608 124854 python-pip-whl_1.5.6-3_all.deb Checksums-Sha256: 5748493dfb99a32bb236611ae7e6ee5e6548ac60162426b2a9467502af60649b 2339 python-pip_1.5.6-3.dsc c472e379391f56b956dde8183cf1662f48f142dc095a611e70e085fbd2af051b 14716 python-pip_1.5.6-3.debian.tar.xz aea59d05fffb18a534bb52f6be7abf0e85a9ef6f16f1d1de75c1bf47cb8ad35c 113064 python-pip_1.5.6-3_all.deb f13676eb8f14f539f60f5da5deabfe0e987ce445f2c2d1346b3e140dd522a5d9 96146 python3-pip_1.5.6-3_all.deb d58bd38e90d768275f7ca20b6fd16746ec528e1eda70364e310e3f03e97d230b 124854 python-pip-whl_1.5.6-3_all.deb Files: 3ebd8848d029a578f799d55cba82fb57 2339 python optional python-pip_1.5.6-3.dsc 2a8a5f2e9f32666006b44bfdb9339bf2 14716 python optional python-pip_1.5.6-3.debian.tar.xz 6407e3e69588d6609f242d88c9852336 113064 python optional python-pip_1.5.6-3_all.deb 8d7f40086d132fb9550b5f7289febe7f 96146 python optional python3-pip_1.5.6-3_all.deb 9159e30c26c4e60d55632057974a4506 124854 python optional python-pip-whl_1.5.6-3_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJUakqvAAoJEACQ/CG1zRrM3kkP/iFpEBPt9ts5XQdbEh+eNUZB Yne4m5wYqb39LdT4+nba4ukNlK+Z8LXWV0wuH2Y6y7C8EWo6CN2W1NRDD4yr8k2n HMxQXasz1XphtJbniAF6yuJupX5gi2xL5yR534m0nBH95KD3RVITNoVdgFCrrn6m LBsreMd5p1RpxRdbdUWoMkJs4J8W2FfiQkse+pyNbiXdJYXC3aoDeut4mU0+pOIO +VUD5Cb9wdxGFNRZRt2/d/HSc9HqAEW5n2RB4ET48+G4kj+/s2KMei6bckPetEWh 9k8CC6ht4yDm5IJZfqvmdUo9eLwiRu4z5hyN6V6taRcvNGM70slhjxEA9CAxIbhd 2k9Y7AmKc4xwy0reawTBDdvFhfl/dZ99wR3NARyPc+i3E83jEuZ3R06Nzx6BXLaX UA15j/nliQCB9E6oy5YuUoYx0lf5Uzwdvgq4X4NYguoyIFUH+iiCHB7F8+Bptlq9 bxhHYr7uJaWKG0/XOKOGjK3u8Gs/s2aqX9oR7yDWi1g98Ey2HnH0zsU4XhmiCVVV u5UwR5/KK3+fH3NV9QC2zHph9aLEksOlRwnP4cLPUPNY2z/gppX+8Kn3uLriMIaw 4VvnXwj6W0FOavKrmBn7GA8L4EZHM+uOd4d/zaradV38HtPr/MEQWnZQ53b1gUN/ uE+YkC9IjnK0rDto28vQ =/8QM -----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________ Python-modules-team mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

