Re: What is your opinion on "sudo pip" fix for Fedora 27?

2017-04-27 Thread Nick Coghlan
On 28 April 2017 at 02:01, Charalampos Stratakis wrote: > Fedora's equivalent to dirtbike is rewheel [0][1] and it would be great if > these projects could be unified somehow, however that's a separate > conversation for another time. > > I'd be happy to take a closer look

Re: What is your opinion on "sudo pip" fix for Fedora 27?

2017-04-27 Thread Barry Warsaw
On Apr 27, 2017, at 12:01 PM, Charalampos Stratakis wrote: >Fedora's equivalent to dirtbike is rewheel [0][1] and it would be great if >these projects could be unified somehow, however that's a separate >conversation for another time. > >I'd be happy to take a closer look at dirtbike and maybe

Re: What is your opinion on "sudo pip" fix for Fedora 27?

2017-04-27 Thread Charalampos Stratakis
Fedora's equivalent to dirtbike is rewheel [0][1] and it would be great if these projects could be unified somehow, however that's a separate conversation for another time. I'd be happy to take a closer look at dirtbike and maybe initiate some discussions when I get some free time. [0]

Re: What is your opinion on "sudo pip" fix for Fedora 27?

2017-04-27 Thread Barry Warsaw
On Apr 27, 2017, at 04:52 PM, Nick Coghlan wrote: >From my perspective, the main goal of the change is to make it >possible to fully recover from "sudo pip install " by doing >"sudo pip uninstall ", and the approach Debian took is >sufficient to achieve that in almost all cases. So +1 from me for

Re: What is your opinion on "sudo pip" fix for Fedora 27?

2017-04-27 Thread Barry Warsaw
On Apr 27, 2017, at 06:21 AM, Donald Stufft wrote: >For whatever it’s worth, at some point in time I plan on attempting to >formalize the Debian solution (or something akin to it) within a PEP and try >to get baked in support for it in Python. > >I also feel required to point out that ``sudo pip

Re: What is your opinion on "sudo pip" fix for Fedora 27?

2017-04-27 Thread Nick Coghlan
On 27 April 2017 at 23:04, Daniel P. Berrange wrote: > On Thu, Apr 27, 2017 at 04:32:09PM +1000, Nick Coghlan wrote: >> Their approach means that any harm caused by "sudo pip install X" can >> subsequently be fully reversed by doing "sudo pip uninstall X". >> >> At this

Re: What is your opinion on "sudo pip" fix for Fedora 27?

2017-04-27 Thread Donald Stufft
> On Apr 27, 2017, at 2:32 AM, Nick Coghlan wrote: > > Debian and derivatives already mitigate the potential harm for these > cases by requiring the "--install-layout=deb" option to be passed to > get distutils to install into the system directories rather than doing > it by

Re: What is your opinion on "sudo pip" fix for Fedora 27?

2017-04-27 Thread Nick Coghlan
On 26 April 2017 at 19:19, Michal Cyprian wrote: > The other possibility is to limit the pip install location change > to distutils and pip [2]. This is the "safer" option, but does > not cover all corner cases. For example, Python software built > locally using cmake or

Re: What is your opinion on "sudo pip" fix for Fedora 27?

2017-04-27 Thread Nick Coghlan
On 27 April 2017 at 11:47, Nico Kadel-Garcia wrote: > On Wed, Apr 26, 2017 at 7:13 AM, Charalampos Stratakis >> At the present time, running sudo pip3 in Fedora is not safe. >> Pip shares its installation directory with dnf, can remove >> dnf-managed files and generally break