[Python-Dev] 3.5 release schedule PEP

Donald Stufft donald at stufft.io
Fri Sep 26 15:31:20 CEST 2014


> On Sep 26, 2014, at 3:09 AM, Paul Moore <p.f.moore at gmail.com> wrote:
> 
> On 26 September 2014 01:38, Donald Stufft <donald at stufft.io> wrote:
>> Either way I'm fairly commited to making --user the default, the only
>> question
>> on my mind is what exactly does that look like (e.g. does root get --user by
>> default?) and how we get from where we are now to that point. I think that
>> raising an error here is fairly unfriendly when we can know with pretty good
>> certainity what the user wanted (and they can explicitly declare that if
>> they want too).
> 
> A couple of points come to mind (although they may be more suitable
> for distutils-sig).
> 
> 1. Do user installs "leak" into virtualenvs? If so, then in effect
> --use-system-packages is switched back on again if --user installs
> become the norm. Which is almost certainly not what is wanted.
> 2. pip install should default to not being --user when run from within
> a virtualenv (same logic as the isolated Python case, but much more
> important that behaviour remains as now, because the whole *point* of
> virtualenvs is to isolate).
> 
> Note that both of these points apply both to venv and virtualenvs.


1. No they don’t leak as far as I’m aware.
2. Yea, I think we throw an error when you use —user inside a virtual
    environment.

---
Donald Stufft
PGP: 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20140926/fb8ba131/attachment.html>


More information about the Python-Dev mailing list