cask/audit: reject new casks requiring Rosetta #24309

Merged
bevanjkay opened 5:40pm on October 20, 2026 wanted to merge 81 Ξ” into homebrew/brew main from
casks_audit_reject_rosetta
Diff Delta:
81
About 5 Diff Delta/hour
Classified as:  General

bevanjkay's Description of Work


  • macOS 27 is now the latest stable release so, per docs/Acceptable-Casks.md, new casks needing Rosetta 2 are no longer acceptable. Error in audit_rosetta when a new cask's artifacts are x86_64-only.

  • Drop the pre-Big Sur guards: Big Sur is the oldest allowed macOS. The depends_on macos: guard also skipped every cask without one, as nil&.maximum_version.to_s is "", which sorts before "11".



  • [x] Have you followed our Contributing guidelines?

  • [x] Have you checked for other open Pull Requests for the same change?

  • [x] Have you explained what your changes do? Performance claims (e.g. "this is faster") must include brew benchmark results.

  • [x] Have you explained why you'd like these changes included, not just what they do?

  • [x] For bug fixes, have you given step-by-step brew commands to reproduce the bug?

  • [x] Have you written new tests (excluding integration tests)? Here's an example.

  • [x] Have you successfully run brew lgtm (style, typechecking and tests) locally?



  • [x] I did not use AI/LLM to create this PR, or I disclosed the tool/model below and reviewed its output; I did not attribute commits to AI and will answer maintainer questions and review comments myself without AI/LLM.

Claude with Opus 5.5 at High effort, with local review and testing.


3 total changed files
Loading changes...
Loading changes...
You’ve completed the full review pass
Please mind the merge button