Skip to content
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

formulary: fix uses_from_macos handling on macOS #14621

Merged
merged 1 commit into from
Feb 14, 2023

Conversation

Bo98
Copy link
Member

@Bo98 Bo98 commented Feb 14, 2023

I initially thought #14535 to be a weird thing with the Cocoapods formula, but it actually has far greater scope than anticipated. Even with the on_arm stuff removed, any macOS prior to since still didn't work properly.

The cause was our dependency deduplication going on here. There is nothing to deduplicate on macOS however (uses_from_macos is no-op and we don't pass since as we do variations instead) so the fix is trivial: don't try to deduplicate on macOS!

Test included.

Fixes #14535.

@Bo98 Bo98 added the critical Critical change which should be shipped as soon as possible. label Feb 14, 2023
@BrewTestBot
Copy link
Member

Review period skipped due to critical label.

@Bo98 Bo98 added the install from api Relates to API installs label Feb 14, 2023
@MikeMcQuaid MikeMcQuaid merged commit 70db4bc into Homebrew:master Feb 14, 2023
@MikeMcQuaid
Copy link
Member

Thanks again @Bo98!

@Bo98 Bo98 deleted the api-uses_from_macos-fix branch February 14, 2023 12:59
Copy link
Member

@Rylan12 Rylan12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @Bo98! Looks good!

@github-actions github-actions bot added the outdated PR was locked due to age label Mar 18, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
critical Critical change which should be shipped as soon as possible. install from api Relates to API installs outdated PR was locked due to age
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Install from API misses arch-specific dependencies
4 participants