This is an automated email from the ASF dual-hosted git repository.
raulcd 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 f3336ba3b9 GH-49994: [CI] Remove `brew uninstall pkg-config`
workarounds (#49997)
f3336ba3b9 is described below
commit f3336ba3b957ef41c385f8ab888bffed493b9612
Author: Sutou Kouhei <[email protected]>
AuthorDate: Wed May 20 19:07:57 2026 +0900
GH-49994: [CI] Remove `brew uninstall pkg-config` workarounds (#49997)
### Rationale for this change
Recent GitHub Actions runners for macOS doesn't ship `pkg-config` formula.
So we don't need to uninstall them explicitly.
### What changes are included in this PR?
Remove `brew uninstall pkg-config` family.
### Are these changes tested?
Yes.
### Are there any user-facing changes?
No.
* GitHub Issue: #49994
Authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Raúl Cumplido <[email protected]>
---
.github/workflows/cpp.yml | 5 -----
.github/workflows/python.yml | 5 -----
dev/tasks/verify-rc/github.macos.yml | 8 --------
3 files changed, 18 deletions(-)
diff --git a/.github/workflows/cpp.yml b/.github/workflows/cpp.yml
index d82dadbab6..90c06c7be0 100644
--- a/.github/workflows/cpp.yml
+++ b/.github/workflows/cpp.yml
@@ -231,11 +231,6 @@ jobs:
submodules: recursive
- name: Install Dependencies
run: |
- # pkg-config formula is deprecated but it's still installed
- # in GitHub Actions runner now. We can remove this once
- # pkg-config formula is removed from GitHub Actions runner.
- brew uninstall pkg-config || :
- brew uninstall [email protected] || :
# Workaround for https://github.com/grpc/grpc/issues/41755
# Remove once the runner ships a newer Homebrew.
brew update
diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml
index 722a546db2..59a180f9cb 100644
--- a/.github/workflows/python.yml
+++ b/.github/workflows/python.yml
@@ -198,11 +198,6 @@ jobs:
- name: Install Dependencies
shell: bash
run: |
- # pkg-config formula is deprecated but it's still installed
- # in GitHub Actions runner now. We can remove this once
- # pkg-config formula is removed from GitHub Actions runner.
- brew uninstall pkg-config || :
- brew uninstall [email protected] || :
# Workaround for https://github.com/grpc/grpc/issues/41755
# Remove once the runner ships a newer Homebrew.
brew update
diff --git a/dev/tasks/verify-rc/github.macos.yml
b/dev/tasks/verify-rc/github.macos.yml
index 207fef2918..460d5f7183 100644
--- a/dev/tasks/verify-rc/github.macos.yml
+++ b/dev/tasks/verify-rc/github.macos.yml
@@ -42,14 +42,6 @@ jobs:
- name: Install System Dependencies
shell: bash
run: |
- {% if github_runner in ("macos-14", "macos-latest") %}
- # pkg-config formula is deprecated but it's still installed
- # in GitHub Actions runner now. We can remove this once
- # pkg-config formula is removed from GitHub Actions runner.
- brew uninstall pkg-config || :
- brew uninstall [email protected] || :
- {% endif %}
-
# Workaround for https://github.com/grpc/grpc/issues/41755
# Remove once the runner ships a newer Homebrew.
brew update