From 856fb8dd64de05d03cdf57f186cef58a3e3dcac2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Cumplido?= Date: Wed, 4 Oct 2023 12:25:20 +0200 Subject: [PATCH 1/2] GH-37999: [CI][Archery] Install python3-dev on ARM jobs to have access to Python.h --- .github/workflows/cpp.yml | 2 +- .github/workflows/go.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cpp.yml b/.github/workflows/cpp.yml index fc8d0bad58e9f..b612867e106ce 100644 --- a/.github/workflows/cpp.yml +++ b/.github/workflows/cpp.yml @@ -108,7 +108,7 @@ jobs: restore-keys: ${{ matrix.image }}- - name: Setup Python run: | - sudo apt install -y --no-install-recommends python3 python3-pip + 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..d38e27f1266d7 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -79,7 +79,7 @@ jobs: submodules: recursive - name: Setup Python run: | - sudo apt install -y --no-install-recommends python3 python3-pip + 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 From b2da984d9afabacbc91505ee687f75fe90cd39c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Cumplido?= Date: Wed, 4 Oct 2023 12:30:39 +0200 Subject: [PATCH 2/2] Apt update first --- .github/workflows/cpp.yml | 1 + .github/workflows/go.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/cpp.yml b/.github/workflows/cpp.yml index b612867e106ce..5451cbe064b59 100644 --- a/.github/workflows/cpp.yml +++ b/.github/workflows/cpp.yml @@ -108,6 +108,7 @@ jobs: restore-keys: ${{ matrix.image }}- - name: Setup Python run: | + 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] diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index d38e27f1266d7..a0dfb9fea1673 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -79,6 +79,7 @@ jobs: submodules: recursive - name: Setup Python run: | + 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]