Skip to content

Commit 44238dd

Browse files
kouraulcd
authored andcommitted
GH-39003: [CI][macOS] Don't update Homebrew (#39016)
### 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: #39003 Authored-by: Sutou Kouhei <kou@clear-code.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
1 parent bc1ea6f commit 44238dd

File tree

4 files changed

+0
-27
lines changed

4 files changed

+0
-27
lines changed

.github/workflows/cpp.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -193,12 +193,6 @@ jobs:
193193
submodules: recursive
194194
- name: Install Dependencies
195195
run: |
196-
rm -f /usr/local/bin/2to3* || :
197-
rm -f /usr/local/bin/idle3* || :
198-
rm -f /usr/local/bin/pydoc3* || :
199-
rm -f /usr/local/bin/python3* || :
200-
rm -f /usr/local/bin/python3-config || :
201-
brew update --preinstall || :
202196
brew bundle --file=cpp/Brewfile
203197
- name: Install MinIO
204198
run: |

.github/workflows/python.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -167,15 +167,7 @@ jobs:
167167
- name: Install Dependencies
168168
shell: bash
169169
run: |
170-
rm -f /usr/local/bin/2to3* || :
171-
rm -f /usr/local/bin/idle3* || :
172-
rm -f /usr/local/bin/pydoc3* || :
173-
rm -f /usr/local/bin/python3* || :
174-
rm -f /usr/local/bin/python3-config || :
175-
brew update --preinstall || :
176-
brew install --overwrite git
177170
brew bundle --file=cpp/Brewfile
178-
brew install coreutils
179171
python -m pip install \
180172
-r python/requirements-build.txt \
181173
-r python/requirements-test.txt

.github/workflows/ruby.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -149,13 +149,6 @@ jobs:
149149
- name: Install Homebrew Dependencies
150150
shell: bash
151151
run: |
152-
rm -f /usr/local/bin/2to3* || :
153-
rm -f /usr/local/bin/idle3* || :
154-
rm -f /usr/local/bin/pydoc3* || :
155-
rm -f /usr/local/bin/python3* || :
156-
rm -f /usr/local/bin/python3-config || :
157-
brew update --preinstall || :
158-
brew install --overwrite git
159152
brew bundle --file=cpp/Brewfile
160153
brew bundle --file=c_glib/Brewfile
161154
- name: Install Ruby Dependencies

dev/tasks/verify-rc/github.macos.amd64.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,6 @@ jobs:
4343
- name: Install System Dependencies
4444
shell: bash
4545
run: |
46-
rm -f /usr/local/bin/2to3*
47-
rm -f /usr/local/bin/idle*
48-
rm -f /usr/local/bin/pydoc3*
49-
rm -f /usr/local/bin/python3*
50-
brew update || echo "brew update did not finish successfully"
51-
brew install --overwrite git
5246
brew bundle --file=arrow/cpp/Brewfile
5347
brew bundle --file=arrow/c_glib/Brewfile
5448
{% endif %}

0 commit comments

Comments
 (0)