On 2020-07-07 19:54, Miro Hrončok wrote:
1) Add a custom --no-warn-root-privileges option
2) Hide the warning when $RPM_BUILD_ROOT is set.
3) Introduce an environment variable (e.g. PIP_NOWARN_ROOT)
4) Introduce our warning upstream, but make it opt-in only.
5) Hide the warning when --root is set
I was curious how hard it'd be to implement this and it turned out to be
very simple so I've prepared a PR:
https://src.fedoraproject.org/rpms/python-pip/pull-request/67
Lumír
On 7/9/20 1:48 PM, Petr Viktorin wrote:
On 2020-07-07 19:54, Miro Hrončok wrote:
1) Add a custom --no-warn-root-priv