-
-
Notifications
You must be signed in to change notification settings - Fork 9.9k
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
Setup brew determine-test-runners
for macOS 15 x86_64
#18356
Comments
This currently includes all Python dependents, no? Though I suppose we want to and should fix that. |
All Python dependencies.
|
So, should the original post instead say
? (Or am I confused?) |
If you are building e.g. (btw I've also added a note about |
Alternatively: you could find all formula matching Might be computationally cheaper given you don't need to check every dependency tree though haven't tried it out. |
What is this for/to do?
Could this be non-recursive? Feels like adding a new DSL for this might be nicer and a bit less involved? |
Ah, gotcha, thanks for the explanation. |
Cache workflow +
No, we build full dependency trees. For the affected formulae this isn't that big if we maybe flip it and check the dependency trees rather than constructing dependent trees.
The DSL is effectively there for most cases except the |
This is pretty straightforward to do now with Though the implementation of that is really inefficient -- it walks Ideally it would construct the dependency tree once for each runner and then query that for each tested formula instead. |
We can probably walk through it once to fetch the |
Ok, gotcha.
This seems nicer.
I think it's kind of there but very unintuitive to folks without a deep understanding of Homebrew and/or macOS SDKs. I think a new DSL with audits or cops to enforce them based on the cases we already know would be nice rather than an implied DSL like we have today. |
Closes #18356. Co-authored-by: Bo Anderson <[email protected]>
Closes #18356. Co-authored-by: Bo Anderson <[email protected]>
Verification
brew install wget
. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.Provide a detailed description of the proposed feature
We're ready to enable macOS 15 x86_64 for PRs but the setup is a little more complex.
We need
brew determine-test-runners
to add macOS 15 x86_64 to the matrix if any of the following are true:pkg-config
orpkgconf
formula.class.pour_bottle_only_if == :clt_installed
dependent_formula.class.pour_bottle_only_if == :clt_installed
--all-supported
is passedThe last condition may require making
--eval-all
mandatory.What is the motivation for the feature?
In order to have proper testing of macOS 15 x86_64 and not require manual post-merge building.
It is also blocking Homebrew/homebrew-core#190981.
How will the feature be relevant to at least 90% of Homebrew users?
They will get upgraded to compatible bottles rather than temporarily get incompatible bottles that break their workflow.
What alternatives to the feature have been considered?
None
The text was updated successfully, but these errors were encountered: