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 9d90eb4 ARROW-10266: [CI][macOS] Ensure using Python 3.8 with Homebrew
9d90eb4 is described below
commit 9d90eb4e70ccb7727e2e8e82a67e3ebfee9f9956
Author: Sutou Kouhei <[email protected]>
AuthorDate: Sat Oct 10 21:44:06 2020 +0900
ARROW-10266: [CI][macOS] Ensure using Python 3.8 with Homebrew
/usr/local/bin/python3 is a symbolic link to python3.8 but
/usr/local/bin/pip3 is a symbolic link to pip3.9 not pip3.8. We should
use the same Python with pip.
Closes #8426 from kou/homebrew-use-python-3.8
Authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
---
.github/workflows/python.yml | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml
index 84c5bb6..c0582b4 100644
--- a/.github/workflows/python.yml
+++ b/.github/workflows/python.yml
@@ -116,7 +116,7 @@ jobs:
run: archery docker push ${{ matrix.image }}
macos:
- name: AMD64 MacOS 10.15 Python 3.7
+ name: AMD64 MacOS 10.15 Python 3
runs-on: macos-latest
if: ${{ !contains(github.event.pull_request.title, 'WIP') }}
env:
@@ -150,8 +150,9 @@ jobs:
brew update --preinstall
brew bundle --file=cpp/Brewfile
brew install coreutils python
- pip3 install -r python/requirements-build.txt \
- -r python/requirements-test.txt
+ python3 -mpip install \
+ -r python/requirements-build.txt \
+ -r python/requirements-test.txt
- name: Build
shell: bash
run: |