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

snuyanzin pushed a commit to branch release-2.3
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/release-2.3 by this push:
     new 9d2d74f2fb7 [FLINK-41331][ci] Move python header installation to 
flink-ci-docker
9d2d74f2fb7 is described below

commit 9d2d74f2fb7033aa87183ef53ee5fe1273a6cbdb
Author: Sergey Nuyanzin <[email protected]>
AuthorDate: Thu Nov 5 08:16:39 2026 +0100

    [FLINK-41331][ci] Move python header installation to flink-ci-docker
---
 .github/workflows/docs-legacy.yml                 |  2 +-
 .github/workflows/docs.yml                        |  2 +-
 .github/workflows/template.flink-ci.yml           | 10 +++-------
 .github/workflows/template.pre-compile-checks.yml |  2 +-
 azure-pipelines.yml                               |  2 +-
 tools/azure-pipelines/build-apache-repo.yml       |  2 +-
 tools/azure-pipelines/jobs-template.yml           |  7 -------
 7 files changed, 8 insertions(+), 19 deletions(-)

diff --git a/.github/workflows/docs-legacy.yml 
b/.github/workflows/docs-legacy.yml
index 1b601a2495e..14949f66db3 100644
--- a/.github/workflows/docs-legacy.yml
+++ b/.github/workflows/docs-legacy.yml
@@ -80,7 +80,7 @@ jobs:
           docker run --rm \
             --volume "$PWD:/root/flink" \
             --volume "$HOME/.m2/repository:/root/.m2/repository" \
-            apache/flink-ci-docker:java_8_11_17_21_25_maven_386_3916_resolute \
+            
apache/flink-ci-docker:java_8_11_17_21_25_maven_386_3916_resolute_v2 \
             bash -c "apt-get update && apt-get install -y rsync && cd 
/root/flink && ./.github/workflows/docs.sh && chmod -R a+rX docs/target"
 
       - name: Upload documentation
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index a8b2b88bbff..b32fe972231 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -69,7 +69,7 @@ jobs:
           docker run --rm \
             --volume "$PWD:/root/flink" \
             --volume "$HOME/.m2/repository:/root/.m2/repository" \
-            apache/flink-ci-docker:java_8_11_17_21_25_maven_386_3916_resolute \
+            
apache/flink-ci-docker:java_8_11_17_21_25_maven_386_3916_resolute_v2 \
             bash -c "cd /root/flink && ./.github/workflows/docs.sh && chmod -R 
a+rX docs/target"
 
       - name: Upload documentation
diff --git a/.github/workflows/template.flink-ci.yml 
b/.github/workflows/template.flink-ci.yml
index 82d005ea47a..e85e65eb82e 100644
--- a/.github/workflows/template.flink-ci.yml
+++ b/.github/workflows/template.flink-ci.yml
@@ -72,7 +72,7 @@ jobs:
     name: "Compile"
     runs-on: ubuntu-26.04
     container:
-      image: apache/flink-ci-docker:java_8_11_17_21_25_maven_386_3916_resolute
+      image: 
apache/flink-ci-docker:java_8_11_17_21_25_maven_386_3916_resolute_v2
       # --init makes the process in the container being started as an init 
process which will clean up any daemon processes during shutdown
       # --privileged allows writing coredumps in docker (FLINK-16973)
       options: --init --privileged
@@ -138,7 +138,7 @@ jobs:
     needs: compile
     runs-on: ubuntu-26.04
     container:
-      image: apache/flink-ci-docker:java_8_11_17_21_25_maven_386_3916_resolute
+      image: 
apache/flink-ci-docker:java_8_11_17_21_25_maven_386_3916_resolute_v2
       # --init makes the process in the container being started as an init 
process which will clean up any daemon processes during shutdown
       # --privileged allows writing coredumps in docker (FLINK-16973)
       options: --init --privileged
@@ -191,7 +191,7 @@ jobs:
     needs: compile
     runs-on: ubuntu-26.04
     container:
-      image: apache/flink-ci-docker:java_8_11_17_21_25_maven_386_3916_resolute
+      image: 
apache/flink-ci-docker:java_8_11_17_21_25_maven_386_3916_resolute_v2
       # --init makes the process in the container being started as an init 
process which will clean up any daemon processes during shutdown
       # --privileged allows writing coredumps in docker (FLINK-16973)
       options: --init --privileged
@@ -244,10 +244,6 @@ jobs:
         with:
           python-version: '3.12'
 
-      - 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
diff --git a/.github/workflows/template.pre-compile-checks.yml 
b/.github/workflows/template.pre-compile-checks.yml
index d9aee322c33..83d2b628d39 100644
--- a/.github/workflows/template.pre-compile-checks.yml
+++ b/.github/workflows/template.pre-compile-checks.yml
@@ -43,7 +43,7 @@ jobs:
     name: "Basic QA"
     runs-on: ubuntu-26.04
     container:
-      image: apache/flink-ci-docker:java_8_11_17_21_25_maven_386_3916_resolute
+      image: 
apache/flink-ci-docker:java_8_11_17_21_25_maven_386_3916_resolute_v2
       # --init makes the process in the container being started as an init 
process which will clean up any daemon processes during shutdown
       # --privileged allows writing coredumps in docker (FLINK-16973)
       options: --init --privileged
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index b98318fddfe..ab1de1f92c0 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -39,7 +39,7 @@ resources:
   # Container with SSL to have the same environment everywhere.
   # see https://github.com/apache/flink-connector-shared-utils/tree/ci_utils
   - container: flink-build-container
-    image: apache/flink-ci-docker:java_8_11_17_21_25_maven_386_3916_resolute
+    image: apache/flink-ci-docker:java_8_11_17_21_25_maven_386_3916_resolute_v2
     # the testcontainers based tests need the host Docker daemon, which the 
agent does
     # not map into job containers by default
     mapDockerSocket: true
diff --git a/tools/azure-pipelines/build-apache-repo.yml 
b/tools/azure-pipelines/build-apache-repo.yml
index d584b8a7a07..ba2f9b6c202 100644
--- a/tools/azure-pipelines/build-apache-repo.yml
+++ b/tools/azure-pipelines/build-apache-repo.yml
@@ -39,7 +39,7 @@ resources:
   # Container with SSL to have the same environment everywhere.
   # see https://github.com/apache/flink-connector-shared-utils/tree/ci_utils
   - container: flink-build-container
-    image: apache/flink-ci-docker:java_8_11_17_21_25_maven_386_3916_resolute
+    image: apache/flink-ci-docker:java_8_11_17_21_25_maven_386_3916_resolute_v2
     # the testcontainers based tests need the host Docker daemon, which the 
agent does
     # not map into job containers by default
     mapDockerSocket: true
diff --git a/tools/azure-pipelines/jobs-template.yml 
b/tools/azure-pipelines/jobs-template.yml
index 8db20ed01d2..0fa043f9d10 100644
--- a/tools/azure-pipelines/jobs-template.yml
+++ b/tools/azure-pipelines/jobs-template.yml
@@ -108,13 +108,6 @@ jobs:
     condition: not(eq('${{parameters.test_pool_definition.name}}', 'Default'))
     displayName: Free up disk space
 
-  # Ensure Python devel headers for Python tests
-  - script: |
-      sudo apt-get update
-      sudo apt-get install -y python3-dev
-    condition: eq(variables['module'], 'python')
-    displayName: Install Python development headers
-
   # download artifact from compile stage
   - task: DownloadPipelineArtifact@2
     inputs:

Reply via email to