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 bda84091f95 [FLINK-37523][CI] Fix Python test/e2e tests missing 
libpython/python headers (#26509)
bda84091f95 is described below

commit bda84091f950327a6021f43476a0cea44f8bb8ee
Author: Mika Naylor <[email protected]>
AuthorDate: Mon May 5 10:29:07 2025 +0200

    [FLINK-37523][CI] Fix Python test/e2e tests missing libpython/python 
headers (#26509)
---
 .github/workflows/template.flink-ci.yml | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/.github/workflows/template.flink-ci.yml 
b/.github/workflows/template.flink-ci.yml
index 5b0d639faec..e00785c3c98 100644
--- a/.github/workflows/template.flink-ci.yml
+++ b/.github/workflows/template.flink-ci.yml
@@ -209,6 +209,12 @@ jobs:
           source_directory: ${{ env.MOUNTED_WORKING_DIR }}
           target_directory: ${{ env.CONTAINER_LOCAL_WORKING_DIR }}
 
+      - name: "Setup python"
+        if: matrix.module == 'python'
+        uses: actions/setup-python@v5
+        with:
+          python-version: '3.11'
+
       - name: "Set coredump pattern"
         working-directory: ${{ env.CONTAINER_LOCAL_WORKING_DIR }}
         run: sudo sysctl -w kernel.core_pattern=core.%p
@@ -315,6 +321,11 @@ jobs:
           jdk_version: ${{ inputs.jdk_version }}
           maven_repo_folder: ${{ env.MAVEN_REPO_FOLDER }}
 
+      - name: "Setup python"
+        uses: actions/setup-python@v5
+        with:
+          python-version: '3.11'
+
       - name: "Install missing packages"
         run: sudo apt-get install -y net-tools docker zip
 

Reply via email to