This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author steve.dower
Recipients FFY00, frenzy, hroncok, jaraco, lemburg, petr.viktorin, steve.dower
Date 2021-05-04.20:58:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1620161886.11.0.0496249448149.issue43976@roundup.psfhosted.org>
In-reply-to
Content
> "pip install as root" will need to continue to work and thus distros
> need to get a way to make sure that it doesn't corrupt the system
> installed packages

Excuse my ignorance, but does "as root" imply that there's no user site-packages directory at all?

I'm not imagining a solution that doesn't require *users* to change their commands, so if they're currently running "sudo pip install" because they need to, but we change it so they shouldn't, then I'm okay with them having to remove the "sudo". (At least for this discussion - we can evaluate transition plans separately.)

And yeah, patching sysconfig.py seems easier. But then, adding a file to the distro is even easier, and if it's easiest for Linux distros to do that via configure than to add a copy step into their build (which is how I'll do it for Windows distros that need it), then I'll leave that to others to decide/implement.
History
Date User Action Args
2021-05-04 20:58:06steve.dowersetrecipients: + steve.dower, lemburg, jaraco, petr.viktorin, hroncok, frenzy, FFY00
2021-05-04 20:58:06steve.dowersetmessageid: <1620161886.11.0.0496249448149.issue43976@roundup.psfhosted.org>
2021-05-04 20:58:06steve.dowerlinkissue43976 messages
2021-05-04 20:58:06steve.dowercreate