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 2023/07/06 21:16:59 UTC

[arrow] branch main updated: GH-36501: [CI][Java][JAR] Ensure removing Homebrew's gRPC packages (#36516)

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 ca9c5e1972 GH-36501: [CI][Java][JAR] Ensure removing Homebrew's gRPC packages (#36516)
ca9c5e1972 is described below

commit ca9c5e1972b5f27cc6fa8e42fb9fe2e76654cd84
Author: Sutou Kouhei <ko...@clear-code.com>
AuthorDate: Fri Jul 7 06:16:54 2023 +0900

    GH-36501: [CI][Java][JAR] Ensure removing Homebrew's gRPC packages (#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 <ko...@clear-code.com>
    Signed-off-by: Sutou Kouhei <ko...@clear-code.com>
---
 dev/tasks/java-jars/github.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev/tasks/java-jars/github.yml b/dev/tasks/java-jars/github.yml
index 4e1f1e4fa1..cf582c09a8 100644
--- a/dev/tasks/java-jars/github.yml
+++ b/dev/tasks/java-jars/github.yml
@@ -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