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

hxb 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 3e8f34dac5f [FLINK-37702][ci] Ensure Python setup/headers for Python 
tests (#26529)
3e8f34dac5f is described below

commit 3e8f34dac5fcec5947633e0a48cd34a9c5fb7333
Author: Mika Naylor <[email protected]>
AuthorDate: Wed May 7 05:42:23 2025 +0200

    [FLINK-37702][ci] Ensure Python setup/headers for Python tests (#26529)
---
 tools/azure-pipelines/jobs-template.yml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/tools/azure-pipelines/jobs-template.yml 
b/tools/azure-pipelines/jobs-template.yml
index 0fa043f9d10..8db20ed01d2 100644
--- a/tools/azure-pipelines/jobs-template.yml
+++ b/tools/azure-pipelines/jobs-template.yml
@@ -108,6 +108,13 @@ 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