-
-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
[email protected]: do not symlink as pip3 and wheel3 #62949
Conversation
I think this warrants a revbump |
Revision-bumping sadly will not remove the previously created symlinks, will it? (since they're created in postinstall) |
I'm not sure about that, but at least it'll make sure everyone gets the fix. Which was what I was more worried about. |
Maybe if you revbump [email protected] to override these symlinks? Just a note: last time we made a Python migration, we were bitten by a similar issue if I remember well. But it's hard to test upfront to avoid this mistake. |
Maybe we could make an audit/rubocop to make sure only one formula has these? @MikeMcQuaid probably has a better idea on how feasible that would be. |
Yes, this could work.
Specifying "only one formula" probably isn't feasible. Having Something like https://github.com/Homebrew/brew/blob/7f422af7897f4f58cc84079ccb6f1d25ac66a759/Library/Homebrew/dev-cmd/audit.rb#L985-L994 will allow checking this only if the formula is installed. I'd suggest this be done before this PR is merged. |
The original reporter's use case (CI testing) would benefit from merging this as-is, and looking at systematic improvements later. Without revision bump, it will only affect new users and CI systems, which is still important. |
It would only affect those that build from source right? Or do you plan on overwriting the bottles? |
My plan was overwriting the bottles: isn't that what the merging bot does, when there is no revision? |
I don't think it does. |
@SMillerDev see for example this PR: #58881 |
My issue is: here we are several days later and no-one has opened an issue or a PR to track this work. We've got to get better at adding regression tests like this or things get forgotten and will repeatedly reoccur in future. This work should block just getting a fix out there and is definitely more important than e.g. migrating more formulae. |
Testing finished about 24 hours ago, and merging was yesterday.
I have not forgotten about it, even though I have not filed an issue, this tab is open in my browser because I know it's in my to-do list. All help is welcome, especially to write an audit, as I'm totally ignorant of the brew codebase. Also, there already is an open issue, which was purposely not closed, at #62911 |
And now there is a tracking issue for the brew side: Homebrew/brew#8949 |
@fxcoudert Thanks for opening the tracking issue 👍🏻 |
Fixes #62911