Skip to content

Commit

Permalink
apacheGH-39003: [CI][macOS] Don't update Homebrew (apache#39016)
Browse files Browse the repository at this point in the history
### Rationale for this change

It's better that we always use the latest Homebrew to check with the latest Homebrew that are used by most users. But it's difficult to maintain.

### What changes are included in this PR?

We don't update Homebrew manually. GitHub hosted GitHub Actions Runners update Homebrew periodically. We depend on it instead of manual `brew update`.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

No.
* Closes: apache#39003

Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
  • Loading branch information
kou authored Dec 1, 2023
1 parent 2760faf commit 985e86a
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 27 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,12 +193,6 @@ 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/python3-config || :
brew update --preinstall || :
brew bundle --file=cpp/Brewfile
- name: Install MinIO
run: |
Expand Down
8 changes: 0 additions & 8 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,15 +167,7 @@ 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/python3-config || :
brew update --preinstall || :
brew install --overwrite git
brew bundle --file=cpp/Brewfile
brew install coreutils
python -m pip install \
-r python/requirements-build.txt \
-r python/requirements-test.txt
Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,13 +149,6 @@ 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/python3-config || :
brew update --preinstall || :
brew install --overwrite git
brew bundle --file=cpp/Brewfile
brew bundle --file=c_glib/Brewfile
- name: Install Ruby Dependencies
Expand Down
6 changes: 0 additions & 6 deletions dev/tasks/verify-rc/github.macos.amd64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,6 @@ jobs:
- name: Install System Dependencies
shell: bash
run: |
rm -f /usr/local/bin/2to3*
rm -f /usr/local/bin/idle*
rm -f /usr/local/bin/pydoc3*
rm -f /usr/local/bin/python3*
brew update || echo "brew update did not finish successfully"
brew install --overwrite git
brew bundle --file=arrow/cpp/Brewfile
brew bundle --file=arrow/c_glib/Brewfile
{% endif %}
Expand Down

0 comments on commit 985e86a

Please sign in to comment.