You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by jo...@apache.org on 2023/01/03 18:33:04 UTC
[arrow] branch master updated: GH-15114: [R][C++][CI] Homebrew can't install Python 3.11 on GHA runners (#15116)
This is an automated email from the ASF dual-hosted git repository.
jonkeane 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 4dd5cedb21 GH-15114: [R][C++][CI] Homebrew can't install Python 3.11 on GHA runners (#15116)
4dd5cedb21 is described below
commit 4dd5cedb21d7b58d837bdb3c0d35a5cd80fd9f4b
Author: Jacob Wujciak-Jens <ja...@wujciak.de>
AuthorDate: Tue Jan 3 19:32:58 2023 +0100
GH-15114: [R][C++][CI] Homebrew can't install Python 3.11 on GHA runners (#15116)
* Closes: #15114
Authored-by: Jacob Wujciak-Jens <ja...@wujciak.de>
Signed-off-by: Jonathan Keane <jk...@gmail.com>
---
dev/tasks/macros.jinja | 5 +++++
dev/tasks/r/github.macos.brew.yml | 7 +++++--
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/dev/tasks/macros.jinja b/dev/tasks/macros.jinja
index 72f575a188..9cb0c0f8a8 100644
--- a/dev/tasks/macros.jinja
+++ b/dev/tasks/macros.jinja
@@ -235,6 +235,10 @@ on:
brew unlink python@2 || true
brew config
brew doctor || true
+ # The GHA runners install of python > 3.10 is incompatible with brew so we
+ # have to force overwritting of the symlinks
+ # see https://github.com/actions/runner-images/issues/6868
+ brew install --overwrite python@3.11 python@3.10
ARROW_GLIB_FORMULA=$(echo ${ARROW_FORMULA} | sed -e 's/\.rb/-glib.rb/')
echo "ARROW_GLIB_FORMULA=${ARROW_GLIB_FORMULA}" >> ${GITHUB_ENV}
@@ -396,3 +400,4 @@ on:
{{ key }}: "{{ value }}"
{% endfor %}
{% endmacro %}
+
diff --git a/dev/tasks/r/github.macos.brew.yml b/dev/tasks/r/github.macos.brew.yml
index 5f426ab42c..7cf86d999d 100644
--- a/dev/tasks/r/github.macos.brew.yml
+++ b/dev/tasks/r/github.macos.brew.yml
@@ -31,14 +31,17 @@ jobs:
env:
{{ macros.github_set_sccache_envvars()|indent(8)}}
run: |
+
brew install sccache
+ # for testing
+ brew install minio
+
# TODO: Update the TODO for ARROW-16907 below to refer to main instead of master
# after migrating the default branch to main.
# TODO(ARROW-16907): apache/arrow@master seems to be installed already
# so this does nothing on a branch/PR
brew install -v --HEAD apache-arrow
- # for testing
- brew install minio
+
- uses: r-lib/actions/setup-r@v2
- name: Install dependencies
run: |