Displaying a message about left behind site-package upon uninstalling Python #6673
Replies: 3 comments
-
|
I think that's a dangerous "enhancement", as there's a mental disconnect between "I installed something in Also, I suspect Python-savvy Homebrew users are actually a minority, which invariably leads to "well, I certainly didn't install The status quo is much safer, in that it doesn't encourage the user to do something they'll regret, when they didn't know that they didn't know. |
Beta Was this translation helpful? Give feedback.
-
|
When that GitHub issue was made, Homebrew hadn't adapted https://peps.python.org/pep-0668/ yet. Nowadays if people have libraries there they are either managed by homebrew on purpose, or people or tools very specifically installed them. Giving a message about removing files only risks installs. In the current state, few people will benefit from it |
Beta Was this translation helpful? Give feedback.
-
|
Can we at least notify users with the existence of Something along the lines of,
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Output of
brew configOutput of
brew doctorDescription of issue
I came across the following GitHub Issue while attempting to learn why upon uninstalling a python version, e.g.,
brew uninstall python@X.Ythe corresponding site packages$(brew --prefix)/lib/pythonX.Y/site-packagesare not removed.@Bo98 explains,
I think it will be better if a little message along the lines of "
/opt/homebrew/lib/pythonX.Y/was left behind, If there's nothing you've installed there that you want to keep, it is safe to delete" etc. is displayed when someone uninstalls Python.Beta Was this translation helpful? Give feedback.
All reactions