Skip to content

Commit

Permalink
GH-36501: [CI][Java][JAR] Ensure removing Homebrew's gRPC packages (#…
Browse files Browse the repository at this point in the history
…36516)

### Rationale for this change

Homebrew's RE2 package depends on gRPC. There are multiple gRPC packages in Homebrew. We need to remove all gRPC packages to remove RE2 package.

### What changes are included in this PR?

Remove `grpc@ 1.54` too.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

No.
* Closes: #36501

Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
  • Loading branch information
kou committed Jul 6, 2023
1 parent f522bc6 commit ca9c5e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dev/tasks/java-jars/github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ jobs:
# Homebrew's RE2 is installed, its header file may be used.
# We uninstall Homebrew's RE2 to ensure using bundled RE2.
brew uninstall grpc || : # gRPC depends on RE2
brew uninstall re2 || :
brew uninstall grpc@1.54 || : # gRPC 1.54 may be installed too
brew uninstall re2
brew bundle --file=arrow/java/Brewfile
- name: Build C++ libraries
Expand Down

0 comments on commit ca9c5e1

Please sign in to comment.