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

dwysakowicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/master by this push:
     new 664287977cc [hotfix][ci] Ensure presence of Python.h headers in Github 
Actions runners (#26575)
664287977cc is described below

commit 664287977cc1e3df16c5422f07cda2cc729bdbf2
Author: Mika Naylor <[email protected]>
AuthorDate: Mon May 19 15:58:58 2025 +0200

    [hotfix][ci] Ensure presence of Python.h headers in Github Actions runners 
(#26575)
---
 .github/workflows/template.flink-ci.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.github/workflows/template.flink-ci.yml 
b/.github/workflows/template.flink-ci.yml
index e00785c3c98..d093a3ab924 100644
--- a/.github/workflows/template.flink-ci.yml
+++ b/.github/workflows/template.flink-ci.yml
@@ -215,6 +215,10 @@ jobs:
         with:
           python-version: '3.11'
 
+      - name: "Install Python header files"
+        if: matrix.module == 'python'
+        run: sudo apt-get update && sudo apt-get -y install python3-dev
+
       - name: "Set coredump pattern"
         working-directory: ${{ env.CONTAINER_LOCAL_WORKING_DIR }}
         run: sudo sysctl -w kernel.core_pattern=core.%p

Reply via email to