You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ko...@apache.org on 2024/01/08 12:43:30 UTC

(arrow) branch main updated: GH-39469: [CI][JS] Force node 20 on JS build on arm64 to fix build issues (#39499)

This is an automated email from the ASF dual-hosted git repository.

kou 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 6d449060de GH-39469: [CI][JS] Force node 20 on JS build on arm64 to fix build issues (#39499)
6d449060de is described below

commit 6d449060debb39f29230113e2f6b160046551bdf
Author: Raúl Cumplido <ra...@gmail.com>
AuthorDate: Mon Jan 8 13:43:22 2024 +0100

    GH-39469: [CI][JS] Force node 20 on JS build on arm64 to fix build issues (#39499)
    
    ### Rationale for this change
    
    The nightly jobs are currently failing when using node v21 on macOS arm64.
    
    ### What changes are included in this PR?
    
    Install and use node v20 for macOS arm64 jobs.
    
    ### Are these changes tested?
    
    Yes via archery.
    
    ### Are there any user-facing changes?
    No
    * Closes: #39469
    
    Authored-by: Raúl Cumplido <ra...@gmail.com>
    Signed-off-by: Sutou Kouhei <ko...@clear-code.com>
---
 dev/tasks/verify-rc/github.macos.arm64.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev/tasks/verify-rc/github.macos.arm64.yml b/dev/tasks/verify-rc/github.macos.arm64.yml
index c7777bb072..fce10925df 100644
--- a/dev/tasks/verify-rc/github.macos.arm64.yml
+++ b/dev/tasks/verify-rc/github.macos.arm64.yml
@@ -45,7 +45,9 @@ jobs:
         run: |
           brew bundle --file=arrow/cpp/Brewfile
           brew bundle --file=arrow/c_glib/Brewfile
-          export PATH="$(brew --prefix node@18)/bin:$PATH"
+          # Force node v20 due to GH-39469
+          brew install node@20
+          export PATH="$(brew --prefix node@20)/bin:$PATH"
           export PATH="$(brew --prefix ruby)/bin:$PATH"
           export PKG_CONFIG_PATH="$(brew --prefix ruby)/lib/pkgconfig"
           arrow/dev/release/verify-release-candidate.sh \