Skip to content

Apache DataFusion SQL Query Engine

ARROW-10993: [CI][macOS] Fix Python 3.9 installation by Homebrew

Sutou Kouhei0ed606a85d1f
diff --git a/.github/workflows/cpp.yml b/.github/workflows/cpp.yml
index 4e3e27016c..b1c13e9948 100644
--- a/.github/workflows/cpp.yml
+++ b/.github/workflows/cpp.yml
@@ -218,6 +218,7 @@ jobs:
- name: Install Dependencies
shell: bash
run: |
+ rm -f /usr/local/bin/2to3
brew update --preinstall
brew bundle --file=cpp/Brewfile
- name: Build
diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml
index 2727d15d42..1e9649066b 100644
--- a/.github/workflows/python.yml
+++ b/.github/workflows/python.yml
@@ -129,7 +129,7 @@ jobs:
ARROW_WITH_SNAPPY: ON
ARROW_WITH_BROTLI: ON
ARROW_BUILD_TESTS: OFF
- CMAKE_ARGS: "-DPYTHON_EXECUTABLE=/usr/local/bin/python3"
+ CMAKE_ARGS: "-DPython3_EXECUTABLE=/usr/local/bin/python3"
steps:
- name: Checkout Arrow
uses: actions/checkout@v2
@@ -141,9 +141,10 @@ jobs:
- name: Install Dependencies
shell: bash
run: |
+ rm -f /usr/local/bin/2to3
brew update --preinstall
brew bundle --file=cpp/Brewfile
- brew install coreutils python
+ brew install coreutils
python3 -mpip install \
-r python/requirements-build.txt \
-r python/requirements-test.txt
diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml
index 0558ac8a2c..df1a48fc3f 100644
--- a/.github/workflows/ruby.yml
+++ b/.github/workflows/ruby.yml
@@ -130,6 +130,7 @@ jobs:
- name: Install Dependencies
shell: bash
run: |
+ rm -f /usr/local/bin/2to3
brew update --preinstall
brew bundle --file=cpp/Brewfile
brew bundle --file=c_glib/Brewfile