-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pip3 pkg provider on Python 3.11.2 fails without break-system-packages #9408
Comments
Convinience over safety?
To me the flag is anything but a bug. I consider it a careful decision that the choice made by Debian regarding pip is mirrored in puppet. IMO should be closed as "invalid". |
When we use puppet to configure a server the assumption is that I, as the one configuring puppet, know the ramifications of installing packages, from whatever source. The other assumption is that I’m competent enough to recover when things go sideways.
Maybe just a flag we can set in hiera would solve for both of us: I don’t have to whitelist every app individually, and you can have plausible deniability when somebody’s systems blow up?
It occurs to me that maybe this isn’t even the right forum for this discussion- is the pip package provider from puppet or is it part of the python module?
…On Jul 4, 2024 at 4:48 PM -0500, Benjamin ***@***.***>, wrote:
Convinience over safety?
1. System-wide apps on a stable Debian installation are mainly managed by apt.
2. Puppet provides the ability to manage system-wide packages via apt (why pip at all?)
3. pip is just a random app, that should not break a system installation (that's what a lot of server admins expect) -- as an admin I don't care what anybody does with "--user", go and play there
4. Sytem-wide pip on Debian is a minefield
To me the flag is anything but a bug. I consider it a careful decision that the choice made by Debian regarding pip is mirrored in puppet.
Implicit handling of the flag would assume everbody is aware about the implications for the whole OS.
IMO should be closed as "invalid".
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
The
Are you suggesting we add |
@damonbreeden it's possible you were running into new behavior in pip3 that broke how puppet detects installed packages. We updated puppet's pip3 provider in #9481 Can you test a puppet7 nightly build from https://nightlies.puppet.com/apt to verify |
hi, i'm sorry, maybe i didn't explain the behavior correctly
i'm suggesting that puppet adds a flag that i can use to always add |
Hi @damonbreeden, thank you for reporting this issue. We do not anticipate addressing this as it represents a technical direction that we have decided not to follow at Puppet. As such, this issue will be closed as “Won’t Do”. If any watcher believes this is an error, please add a comment explaining. |
Describe the Bug
on Python 3.11.2 (bookworm default) pip3 pkgs can't be installed without a specific flag
--break-system-packages
Expected Behavior
pkgs to be installed without adding flags everywhere
Steps to Reproduce
Steps to reproduce the behavior:
install python 3.11 on bookworm
install a pkg with pip3 provider
Environment
Additional Context
Add any other context about the problem here.
i have to add this all over my codebase:
The text was updated successfully, but these errors were encountered: