)]}'
{
  "commit": "f7a7829b294f46ad713ff043f5e2e2a9cd382958",
  "tree": "81f6c3a2a190a1637a558dec667ced2eddd862c9",
  "parents": [
    "a11339d1bdea4ec398df223907625f6b7c83ab59"
  ],
  "author": {
    "name": "JB Onofré",
    "email": "jbonofre@apache.org",
    "time": "Sun Aug 30 00:46:37 2026 +0200"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Sun Aug 30 07:46:37 2026 +0900"
  },
  "message": "MINOR: Don\u0027t install Homebrew\u0027s aws-sdk-cpp and gRPC for JNI macOS build (#1269)\n\n### Rationale for this change\n\nThe `JNI macos-15-intel x86_64` job in the RC workflow fails in `Install\ndependencies`, before anything is built:\n\n```\n##[error]aws-sdk-cpp: no bottle available!\n##[error]grpc: no bottle available!\nThis is a Tier 3 configuration:\n  https://docs.brew.sh/Support-Tiers#tier-3\n`brew bundle` failed! 2 Brewfile dependencies failed to install\n```\n\nHomebrew treats x86_64 macOS as a [tier 3\nconfiguration](https://docs.brew.sh/Support-Tiers#tier-3) and rarely\npublishes bottles for it. `brew bundle` doesn\u0027t build from source, so\n`arrow/cpp/Brewfile` can no longer be installed as-is there.\n\nThis breaks `main` too, not just PRs, so nightly RC runs are red.\n\n### What changes are included in this PR?\n\nWe don\u0027t use Homebrew\u0027s `aws-sdk-cpp` and gRPC anyway:\n\n* The JNI macOS build uses the `ninja-release-jni-macos` preset, which\nsets `ARROW_DEPENDENCY_USE_SHARED\u003dOFF`.\n* Homebrew provides only shared libraries for `aws-sdk-cpp` and gRPC.\n* So both are uninstalled just after `brew bundle` to ensure the bundled\nones are used.\n\nWe skip installing them with `HOMEBREW_BUNDLE_BREW_SKIP` instead of\ninstalling and uninstalling them. This also makes the `macos-14`\n`aarch_64` job a bit faster because it no longer installs two formulae\nit immediately removes.\n\n`brew uninstall aws-sdk-cpp` needs `|| :` now because it\u0027s no longer\ninstalled by `brew bundle`. It\u0027s still called because it may be\npre-installed on GitHub Actions runner images.\n\nNote that this keeps building the x86_64 macOS shared libraries.\nDropping the `macos-15-intel` entry would remove `.dylib` files for\nx86_64 macOS from our release JARs, which needs a separate discussion.\n\n### Are these changes tested?\n\nYes, by CI. The `JNI macos-15-intel x86_64` and `JNI macos-14 aarch_64`\njobs in this PR exercise the changed step.\n\n### Are there any user-facing changes?\n\nNo.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "835198a8e8c4081f20e86ce7c07d97d8140a4959",
      "old_mode": 33188,
      "old_path": ".github/workflows/rc.yml",
      "new_id": "59b461c5d5b48c605a4447fcd4db06954e964ae9",
      "new_mode": 33188,
      "new_path": ".github/workflows/rc.yml"
    }
  ]
}
