Skip to content

Commit dcc1ee5

Browse files
authored
GH-44373: [Packaging][Java] Fix brew link to Python 3.13 on macOS (#44374)
### Rationale for this change Java-jars are currently failing on macOS to install Python 3.13 because `python@ 3.13` (`python` is an alias of `python@ 3.13` now) isn't installed yet. Our link failure workaround is updating already installed `python@*` with `--overwrite` explicitly. `python@ 3.13` (`python`) isn't installed on GitHub Actions runner yet. So `brew bundle` installs `python` without `--overwrite`. ### What changes are included in this PR? Install `python` with `--overwrite` explicitly before `brew bundle`. ### Are these changes tested? Via CI ### Are there any user-facing changes? No * GitHub Issue: #44373 Lead-authored-by: Sutou Kouhei <[email protected]> Co-authored-by: Raúl Cumplido <[email protected]> Signed-off-by: Sutou Kouhei <[email protected]>
1 parent deee9ac commit dcc1ee5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dev/tasks/java-jars/github.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ jobs:
117117
for python_package in $(brew list | grep python@); do
118118
brew install --overwrite ${python_package}
119119
done
120+
brew install --overwrite python
120121
121122
brew bundle --file=arrow/cpp/Brewfile
122123
# We want to link aws-sdk-cpp statically but Homebrew's

0 commit comments

Comments
 (0)