Your message dated Sat, 24 Mar 2018 17:50:40 -0400 with message-id <[email protected]> and subject line Re: Bug#782795: python-pip: breaks with relocatable virtualenv, assert sys.prefix != real_prefix has caused the Debian Bug report #782795, regarding python-pip: breaks with relocatable virtualenv, assert sys.prefix != real_prefix 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.) -- 782795: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=782795 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: python-pip Version: 1.5.6-5 Severity: normal hi, it looks like pip stops working inside a virtualenv after using virtualenv --relocatable how to reproduce: i7:/tmp$ virtualenv venv Running virtualenv with interpreter /usr/bin/python2 New python executable in venv/bin/python2 Also creating executable in venv/bin/python Installing setuptools, pip...done. i7:/tmp$ venv/bin/pip install flask Downloading/unpacking flask Downloading Flask-0.10.1.tar.gz (544kB): 544kB downloaded Running setup.py (path:/tmp/pip-build-IIMGrU/flask/setup.py) egg_info for package flask [...] Successfully installed flask Werkzeug Jinja2 itsdangerous markupsafe Cleaning up... i7:/tmp$ source venv/bin/activate (venv)i7:/tmp$ virtualenv --relocatable venv Running virtualenv with interpreter /tmp/venv/bin/python2 Making script venv/bin/pip2 relative Making script venv/bin/easy_install-2.7 relative Making script venv/bin/pip relative Making script venv/bin/easy_install relative Making script venv/bin/pip2.7 relative (venv)i7:/tmp$ venv/bin/pip install flask Traceback (most recent call last): File "venv/bin/pip", line 10, in <module> from pip import main File "/tmp/venv/local/lib/python2.7/site-packages/pip/__init__.py", line 39, in <module> assert sys.prefix != real_prefix AssertionError (venv)i7:/tmp$ -- System Information: Debian Release: 8.0 APT prefers testing-updates APT policy: (500, 'testing-updates'), (500, 'testing-proposed-updates'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.19.0-trunk-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages python-pip depends on: ii ca-certificates 20141019 ii python 2.7.9-1 ii python-colorama 0.3.2-1 ii python-distlib 0.1.9-1 ii python-html5lib 0.999-3 ii python-pkg-resources 5.5.1-1 ii python-requests 2.4.3-6 ii python-setuptools 5.5.1-1 ii python-six 1.8.0-1 pn python:any <none> Versions of packages python-pip recommends: ii build-essential 11.7 pn python-dev-all <none> pn python-wheel <none> python-pip suggests no packages. -- no debconf information
--- End Message ---
--- Begin Message ---Version: 9.0.1-2 Hi Filippo (2015.04.17_19:05:52_-0400) > it looks like pip stops working inside a virtualenv after using > virtualenv --relocatable I would say that that's actually a virtualenv bug. But the better news is that I can't reproduce it in stretch. So let's close this. Also, note that upstream virtualenv doesn't really support --relocatable. It's known to not work particularly well. SR -- Stefano Rivera http://tumbleweed.org.za/ +1 415 683 3272
--- End Message ---
_______________________________________________ Python-modules-team mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

