Hacker News new | past | comments | ask | show | jobs | submit login
Debian-based distros have adopted PEP 668 (debian.org)
10 points by todsacerdoti on April 30, 2023 | hide | past | favorite | 2 comments



I just got caught up in this one today working on an Ubuntu 23.04. Ironically, I was trying to re-install pipx, following an OS upgrade, in the user environment so that it could install apps without potentially breaking the system packages.

Reading the PEP, it recommends pipx but it recommends that you get it via your distribution instead of using pip --user which will no longer now work without the --break-system-packages flag. It also mentions the irony of that. Though I think in this case and if you don't want to use the distro packaged pipx, using the break flag won't cause any harm.


Python package installer `pip` will no longer install packages outside a virtualenv. This can be overridden with a flag, but if run as root can break your system.

For python >= 3.11.2-3.

Seems a safe thing to do? Maybe in C you want to pick and choose your libraries to link to. For an interpreted language, you want the "dependency context" to just work.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: