Skip to content

fix: drop unsupported macOS floor from Homebrew cask#492

Merged
hanneshapke merged 1 commit into
mainfrom
fix/homebrew-cask-macos-floor
May 30, 2026
Merged

fix: drop unsupported macOS floor from Homebrew cask#492
hanneshapke merged 1 commit into
mainfrom
fix/homebrew-cask-macos-floor

Conversation

@hanneshapke
Copy link
Copy Markdown
Collaborator

Problem

brew install --cask dataiku/tap/kiji-privacy-proxy fails on current Homebrew:

Error: Calling `depends_on macos: :high_sierra` is disabled! There is no replacement.
  .../Casks/kiji-privacy-proxy.rb:16

The cask template uses depends_on macos: ">= :high_sierra". Homebrew has removed the High Sierra (10.13) and Mojave (10.14) symbols from its known macOS versions, so the cask no longer loads. Verified against Homebrew 5.1.14: its MacOSVersion::SYMBOLS now bottoms out at catalina (10.15), and both catalina and big_sur are already flagged odisabled for removal in 2026/2027.

So any hard-coded macOS symbol is a recurring time-bomb — it re-breaks on every release re-render once Homebrew drops that version.

Fix

Drop the depends_on macos: line. The real minimum (Electron 42 ⇒ macOS 11+) is enforced at runtime by the app and documented in the install guide; encoding it as a removable cask symbol just rots. Verified the cask loads cleanly with the line removed (brew info --cask succeeds).

If an explicit guard is later desired, use a currently-supported symbol, e.g. depends_on macos: ">= :monterey" (note: numeric strings like ">= 11" are not accepted — Homebrew requires the symbol form).

Note

The already-published v1.1.3 cask in dataiku/homebrew-tap was hot-patched directly to unblock installs now. This PR makes the template match so the next release re-renders correctly. Merge this before cutting the next release, otherwise the render reintroduces the broken line.

🤖 Generated with Claude Code

`depends_on macos: ">= :high_sierra"` errors on current Homebrew:
High Sierra (10.13) and Mojave (10.14) were removed from Homebrew's
known macOS versions, so loading the cask raises "Calling
`depends_on macos: :high_sierra` is disabled". catalina and big_sur are
already scheduled for removal (2026/2027), so any macOS symbol floor is
a future time-bomb that re-breaks on each release re-render.

Drop the floor entirely. The real minimum (Electron 42 => macOS 11+) is
enforced at runtime and documented in the install guide; encoding it in
a removable cask symbol only rots. The cask now loads on every
Homebrew-supported macOS.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@hanneshapke hanneshapke merged commit 2cac647 into main May 30, 2026
8 checks passed
@hanneshapke hanneshapke deleted the fix/homebrew-cask-macos-floor branch May 30, 2026 03:32
@github-actions github-actions Bot locked and limited conversation to collaborators May 30, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant