[Python-modules-team] Bug#892744: python3-pip: breaks with venv --system-site-packages

Scott Kitterman debian at kitterman.com
Fri Apr 3 18:17:04 BST 2020


On Mon, 12 Mar 2018 14:53:11 +0100 Bernhard Reiter <bernhard at intevation.de> 
wrote:
> Package: python3-pip
> Version: 9.0.1-2
> Severity: normal
> 
> Hi Maintainers,
> 
> according to `pip help install`::
> 
>   --user
> [..]
>   On Debian systems, this is the default when running outside of a
>   virtual environment and not as root.
> 
> However when using the recommended virtual environment `venv`,
> the detection does not work. Example:
> 
>    python3 -m venv --system-site-packages x_env
>    . x_env/in/activate.fish
>    pip install vdirsyncer
> 
> will end up with installed files
> in .local/bin and .local/lib/python3.5/site-packages/
> While they should have been below x_env.
> 
> In https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=876145
> the problems is also mentioned.

Looking at how #876145 was resolved, it should have taken care of this too.  
If you can still reproduce this problem in Debian 10 (Buster), please reopen.

Scott K
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://alioth-lists.debian.net/pipermail/python-modules-team/attachments/20200403/f162fb05/attachment.sig>


More information about the Python-modules-team mailing list