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 2022/12/27 01:35:47 UTC

[arrow] branch master updated: GH-15092: [CI][C++][Homebrew] Ensure removing Python related commands (again) (#15093)

This is an automated email from the ASF dual-hosted git repository.

kou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/master by this push:
     new 130f41afab GH-15092: [CI][C++][Homebrew] Ensure removing Python related commands (again) (#15093)
130f41afab is described below

commit 130f41afabd90d6ee67d01b1fb0865eccfc98e7e
Author: Hirokazu SUZUKI <he...@gmail.com>
AuthorDate: Tue Dec 27 10:35:37 2022 +0900

    GH-15092: [CI][C++][Homebrew] Ensure removing Python related commands (again) (#15093)
    
    This is a bug at the same place as #15025 . We must remove `2to3-3.11 ` for this time.
    
    ```
    ==> Pouring python@ 3.11--3.11.1.monterey.bottle.tar.gz
    Error: The `brew link` step did not complete successfully
    The formula built, but is not symlinked into /usr/local
    Could not symlink bin/2to3-3.11
    Target /usr/local/bin/2to3-3.11
    already exists. You may want to remove it:
      rm '/usr/local/bin/2to3-3.11'
    ```
    
    * Closes: #15092
    
    Authored-by: Hirokazu SUZUKI (heronshoes) <he...@gmail.com>
    Signed-off-by: Sutou Kouhei <ko...@clear-code.com>
---
 .github/workflows/cpp.yml    | 8 ++++----
 .github/workflows/python.yml | 8 ++++----
 .github/workflows/ruby.yml   | 8 ++++----
 3 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/.github/workflows/cpp.yml b/.github/workflows/cpp.yml
index 03b3fc2038..b3ade4ca8e 100644
--- a/.github/workflows/cpp.yml
+++ b/.github/workflows/cpp.yml
@@ -158,10 +158,10 @@ jobs:
           submodules: recursive
       - name: Install Dependencies
         run: |
-          rm -f /usr/local/bin/2to3 || :
-          rm -f /usr/local/bin/idle3 || :
-          rm -f /usr/local/bin/pydoc3 || :
-          rm -f /usr/local/bin/python3 || :
+          rm -f /usr/local/bin/2to3* || :
+          rm -f /usr/local/bin/idle3* || :
+          rm -f /usr/local/bin/pydoc3* || :
+          rm -f /usr/local/bin/python3* || :
           rm -f /usr/local/bin/python3-config || :
           brew update --preinstall
           brew bundle --file=cpp/Brewfile
diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml
index 4d6d7253b5..d6ab4006d6 100644
--- a/.github/workflows/python.yml
+++ b/.github/workflows/python.yml
@@ -162,10 +162,10 @@ jobs:
       - name: Install Dependencies
         shell: bash
         run: |
-          rm -f /usr/local/bin/2to3 || :
-          rm -f /usr/local/bin/idle3 || :
-          rm -f /usr/local/bin/pydoc3 || :
-          rm -f /usr/local/bin/python3 || :
+          rm -f /usr/local/bin/2to3* || :
+          rm -f /usr/local/bin/idle3* || :
+          rm -f /usr/local/bin/pydoc3* || :
+          rm -f /usr/local/bin/python3* || :
           rm -f /usr/local/bin/python3-config || :
           brew update --preinstall
           brew install --overwrite git
diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml
index d7060a5a37..453c5a6edd 100644
--- a/.github/workflows/ruby.yml
+++ b/.github/workflows/ruby.yml
@@ -142,10 +142,10 @@ jobs:
       - name: Install Homebrew Dependencies
         shell: bash
         run: |
-          rm -f /usr/local/bin/2to3 || :
-          rm -f /usr/local/bin/idle3 || :
-          rm -f /usr/local/bin/pydoc3 || :
-          rm -f /usr/local/bin/python3 || :
+          rm -f /usr/local/bin/2to3* || :
+          rm -f /usr/local/bin/idle3* || :
+          rm -f /usr/local/bin/pydoc3* || :
+          rm -f /usr/local/bin/python3* || :
           rm -f /usr/local/bin/python3-config || :
           brew update --preinstall
           brew install --overwrite git