From 0abb672a23a8de520154e7b8d25f9eda96e217da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Cumplido?= Date: Wed, 4 Oct 2023 16:39:59 +0200 Subject: [PATCH] GH-37999: [CI][Archery] Install python3-dev on ARM jobs to have access to Python.h (#38009) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ### 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 Signed-off-by: Jacob Wujciak-Jens --- .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 fc8d0bad58e9f..5451cbe064b59 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 ad8fedb9bd9e4..a0dfb9fea1673 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