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

assignuser 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 0abb672a23 GH-37999: [CI][Archery] Install python3-dev on ARM jobs to 
have access to Python.h (#38009)
0abb672a23 is described below

commit 0abb672a23a8de520154e7b8d25f9eda96e217da
Author: Raúl Cumplido <[email protected]>
AuthorDate: Wed Oct 4 16:39:59 2023 +0200

    GH-37999: [CI][Archery] Install python3-dev on ARM jobs to have access to 
Python.h (#38009)
    
    ### Rationale for this change
    Currently CI on ARM is failing due to ruamel.yaml requiring Python.h
    
    ### What changes are included in this PR?
    
    Install python3-dev
    
    ### Are these changes tested?
    
    Yes, CI
    ### Are there any user-facing changes?
    
    No
    * Closes: #37999
    
    Authored-by: Raúl Cumplido <[email protected]>
    Signed-off-by: Jacob Wujciak-Jens <[email protected]>
---
 .github/workflows/cpp.yml | 3 ++-
 .github/workflows/go.yml  | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/cpp.yml b/.github/workflows/cpp.yml
index fc8d0bad58..5451cbe064 100644
--- a/.github/workflows/cpp.yml
+++ b/.github/workflows/cpp.yml
@@ -108,7 +108,8 @@ jobs:
           restore-keys: ${{ matrix.image }}-
       - name: Setup Python
         run: |
-          sudo apt install -y --no-install-recommends python3 python3-pip
+          sudo apt update
+          sudo apt install -y --no-install-recommends python3 python3-dev 
python3-pip
       - name: Setup Archery
         run: python3 -m pip install -e dev/archery[docker]
       - name: Execute Docker Build
diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml
index ad8fedb9bd..a0dfb9fea1 100644
--- a/.github/workflows/go.yml
+++ b/.github/workflows/go.yml
@@ -79,7 +79,8 @@ jobs:
           submodules: recursive
       - name: Setup Python
         run: |
-          sudo apt install -y --no-install-recommends python3 python3-pip
+          sudo apt update
+          sudo apt install -y --no-install-recommends python3 python3-dev 
python3-pip
       - name: Setup Archery
         run: python3 -m pip install -e dev/archery[docker]
       - name: Execute Docker Build

Reply via email to