[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Python 3.4 and ensurepip (rehashed, long)



Hello,

----- Original Message -----
> From: "Brian Sutherland" <brian@vanguardistas.net>
> To: debian-python@lists.debian.org
> Sent: Wednesday, March 26, 2014 5:13:29 PM
> Subject: Re: Python 3.4 and ensurepip (rehashed, long)
> 
> On Fri, Mar 21, 2014 at 01:23:53PM +0100, Piotr Ożarowski wrote:
> > [Barry Warsaw, 2014-03-19]
> > > TL;DR: Let's re-enable the ensurepip module in Python 3.4, and possibly
> > >    address some usability issues.  We should descend en masse on Montreal
> > >    and
> > >    stage a revolt at Pycon. :)
> > 
> > IMO our ensurepip.py should look similar to this:
> > 
> > | try:
> > |     from pip import *
> > | except ImportError:
> > |     raise Exception('Please ask administrator to install python3-pip
> > |     package.'
> > |                     ' Note that installing packages system-wide using pip
> > |                     is'
> > |                     ' considered harmful, please do not report Python
> > |                     related'
> > |                     ' bugs in Debian bugtracker if you decide to do
> > |                     that.')
> > 
> > IMO we should warn users that they can^W will break their systems and
> > `sudo pip install ...` should raise an exception if
> > --i-will-not-blame-debian option is not enabled.
> 
> I recently had to clean up after a sysadmin, previously explicitly
> warned not to, used "sudo pip install ...". I think the option should
> require an argument which must match with a randomly generated string.
> That way only the NSA could ever actually use the option as only they
> own all the random numbers.
> 
> </sarcasim>
> 
> --
> Brian Sutherland
> 
> 
> --
> To UNSUBSCRIBE, email to debian-python-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive:
> https://lists.debian.org/20140326161329.GA25017@Brians-MacBook-Air.local
> 
> 

I have started thread about such an issue on pypa-dev google group [1].

Feel free to join in.

[1] https://groups.google.com/forum/#!topic/pypa-dev/r6qsAmJl9

(yea, I secretly keep an eye on you too)

Regards,

Robert Kuska 
-----------------------------------------------------
rkuska @ 
#fedora-devel on freenode
#brno #gulag #software-collections on brq.redhat


Reply to: