Re: Making sudo pip Safe

2016-12-16 Thread Michal Cyprian
n - Original Message - From: "Petr Viktorin" <pvikt...@redhat.com> To: python-devel@lists.fedoraproject.org, "Michal Cyprian" <mcypr...@redhat.com> Sent: Monday, December 12, 2016 11:57:23 AM Subject: Re: Making sudo pip Safe On 12/09/2016 06:09 PM, Orion Popla

Re: Making sudo pip Safe

2016-12-14 Thread Donald Stufft
> On Dec 13, 2016, at 9:29 AM, Nick Coghlan wrote: > > On 13 December 2016 at 00:12, Neal Becker wrote: >> Currently, pip3 --user installed stuff can be updated with: >> pip3 install --upgrade --user $(pip3 list --user -o | cut -f 1 --delim=' ') >> >>

Re: Making sudo pip Safe

2016-12-13 Thread Nick Coghlan
On 13 December 2016 at 00:12, Neal Becker wrote: > Currently, pip3 --user installed stuff can be updated with: > pip3 install --upgrade --user $(pip3 list --user -o | cut -f 1 --delim=' ') > > But that isn't obvious/discoverable Note that upstream considers a bulk-upgrade

Re: Making sudo pip Safe

2016-12-13 Thread Nick Coghlan
On 12 December 2016 at 19:59, Tomas Orsava wrote: > On 12/12/2016 05:39 AM, Nick Coghlan wrote: >> On 11 December 2016 at 01:33, Donald Stufft wrote: >> The benefit of that approach is that it would not only solve the >> conflict between dnf and pip at the

Re: Making sudo pip Safe

2016-12-12 Thread Neal Becker
Currently, pip3 --user installed stuff can be updated with: pip3 install --upgrade --user $(pip3 list --user -o | cut -f 1 --delim=' ') But that isn't obvious/discoverable On Mon, Dec 12, 2016 at 8:48 AM Petr Viktorin wrote: > On 12/12/2016 01:39 PM, Neal Becker wrote: >

Re: Making sudo pip Safe

2016-12-12 Thread Petr Viktorin
On 12/09/2016 06:09 PM, Orion Poplawski wrote: On 12/07/2016 05:53 AM, Michal Cyprian wrote: Hello, there is a long-standing problem that `sudo pip install` cannot be safely used in Fedora. Many users don't know about this and break python packages on theirs systems. Packages installed using

Re: Making sudo pip Safe

2016-12-12 Thread Tomas Orsava
On 12/12/2016 05:39 AM, Nick Coghlan wrote: On 11 December 2016 at 01:33, Donald Stufft wrote: On Dec 10, 2016, at 8:10 AM, Nick Coghlan wrote: P.S. For folks wondering what the problem with "--user" is on Debian/Ubuntu, as far as I know it's mainly the

Re: Making sudo pip Safe

2016-12-12 Thread Piotr Ozarowski
> If setuptools setup.py had something along the lines of a > "--sys-install" switch that would force the installation to /usr > rather than /usr/local, I could see us easily adapting our macros to > just do that all the time. It might even be something that the Debian > guys would switch to, as

Re: Making sudo pip Safe

2016-12-07 Thread Tomas Orsava
On 12/07/2016 02:47 PM, Konstantin Zemlyak wrote: Michal Cyprian wrote: there is a long-standing problem that `sudo pip install` cannot be safely used in Fedora. Many users don't know about this and break python packages on theirs systems. Packages installed using this command can conflict

Re: Making sudo pip Safe

2016-12-07 Thread Konstantin Zemlyak
Michal Cyprian wrote: there is a long-standing problem that `sudo pip install` cannot be safely used in Fedora. Many users don't know about this and break python packages on theirs systems. Packages installed using this command can conflict and overwrite Python rpm packages. This is a major

Re: Making sudo pip Safe

2016-12-07 Thread Neal Gompa
On Wed, Dec 7, 2016 at 7:53 AM, Michal Cyprian wrote: > - system-python (i.e. what all programs installed via DNF will use) is > limited to site-packages under /usr, so DNF-installed software is unaffected > by anything installed with pip system-python is not intended for