You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ko...@apache.org on 2024/10/11 02:17:15 UTC
(arrow) branch main updated: GH-44373: [Packaging][Java] Fix brew link to Python 3.13 on macOS (#44374)
This is an automated email from the ASF dual-hosted git repository.
kou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/main by this push:
new dcc1ee5b1d GH-44373: [Packaging][Java] Fix brew link to Python 3.13 on macOS (#44374)
dcc1ee5b1d is described below
commit dcc1ee5b1d4851870724ab5e4cf475bcac007b56
Author: Raúl Cumplido <ra...@gmail.com>
AuthorDate: Fri Oct 11 04:17:09 2024 +0200
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 <ko...@clear-code.com>
Co-authored-by: Raúl Cumplido <ra...@gmail.com>
Signed-off-by: Sutou Kouhei <ko...@clear-code.com>
---
dev/tasks/java-jars/github.yml | 1 +
1 file changed, 1 insertion(+)
diff --git a/dev/tasks/java-jars/github.yml b/dev/tasks/java-jars/github.yml
index 9910daa21e..e83552cc7c 100644
--- a/dev/tasks/java-jars/github.yml
+++ b/dev/tasks/java-jars/github.yml
@@ -117,6 +117,7 @@ jobs:
for python_package in $(brew list | grep python@); do
brew install --overwrite ${python_package}
done
+ brew install --overwrite python
brew bundle --file=arrow/cpp/Brewfile
# We want to link aws-sdk-cpp statically but Homebrew's