this work.
Michal Cyprian
- Original Message -
From: "Petr Viktorin"
To: python-devel@lists.fedoraproject.org, "Michal Cyprian"
Sent: Monday, December 12, 2016 11:57:23 AM
Subject: Re: Making sudo pip Safe
On 12/09/2016 06:09 PM, Orion Poplawski wrote:
> On 12/07/201
> 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=' ')
>>
>> But that isn't obvious/discoverable
>
>
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 command to be gated on
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 Fedora level, but also move the
>> packa
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:
> > I am one who was bad
On 12/12/2016 01:39 PM, Neal Becker wrote:
I am one who was badly bitten by pip install into system in the past,
and I have been using pip --user since. But there is one big usability
issue here, there isn't a trivially simple way to make sure packages
installed by pip are updated, much less aut
I am one who was badly bitten by pip install into system in the past, and I
have been using pip --user since. But there is one big usability issue
here, there isn't a trivially simple way to make sure packages installed by
pip are updated, much less automatically updated. I think it would be
impo
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
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 fact that
"~/.local/bin" isn't on PATH
> 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 th
If someone got this ready to merge I would be happy to merge it into pip
upstream as well.
Sent from my iPhone
> On Dec 11, 2016, at 11:39 PM, Nick Coghlan wrote:
>
> Actually doing that would mean taking Donald's first pass at
> implementing the `--global` switch, bringing it up to merge-rea
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 fact that
>> "~/.local/bin" isn't on PATH by default, so scripts installed
> 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 fact that
> "~/.local/bin" isn't on PATH by default, so scripts installed via
> "--user" aren't automatically available.
FWIW,
On Sat, Dec 10, 2016 at 8:10 AM, Nick Coghlan wrote:
> On 10 December 2016 at 03:09, Orion Poplawski wrote:
>> Debian deals with this by having dist-packages
>> (https://wiki.debian.org/Python). Is this not worth adopting?
>
> This would be my main question as well, as tinkering with sys.prefix
On 10 December 2016 at 03:09, Orion Poplawski wrote:
> Debian deals with this by having dist-packages
> (https://wiki.debian.org/Python). Is this not worth adopting?
This would be my main question as well, as tinkering with sys.prefix
can have a host of unintended side effects. As far as I can s
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 this command can conflict and
> overwri
On 12/07/2016 06:21 PM, Stephen John Smoogen wrote:
On 7 December 2016 at 10:27, Tomas Orsava wrote:
On 12/07/2016 01:56 PM, Neal Gompa wrote:
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
On 7 December 2016 at 10:27, Tomas Orsava wrote:
> On 12/07/2016 01:56 PM, Neal Gompa wrote:
>>
>> 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 soft
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 an
On 12/07/2016 01:56 PM, Neal Gompa wrote:
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
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 p
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 this use-case. It was
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 this command can conflict and overwrite
Python rpm packages.
This is a major problem and we hav
23 matches
Mail list logo