Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GH-42197: [CI][Packaging][Java] Ensure updating "python@*" formulae o…
…n macOS (#42202) ### Rationale for this change macOS GitHub Actions runners have Python not installed by Homebrew at `/usr/local/`. If we install `python@ XXX` Homebrew formula, it tries to overwrite `/usr/local/bin/2to3` and so on and causes a conflict error. NOTE: This is happen only when pre-installed Homebrew `python@ XXX` on macOS GitHub Actions runners is outdated. (`python@ XXX` is updated after macOS GitHub Actions runner image is created.) ### What changes are included in this PR? Ensure updating `pythone@ XXX` with `--overwrite` before we use `brew bundle`. `brew bundle` may update `python@ XXX` automatically without `--overwrite`. FYI: `brew bundle --force ...` will also work. ### Are these changes tested? Yes. ### Are there any user-facing changes? No. * GitHub Issue: #42197 Authored-by: Sutou Kouhei <kou@clear-code.com> Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
- Loading branch information