Skip to content

Commit

Permalink
Enforce Python 3.11 in e2e CI
Browse files Browse the repository at this point in the history
  • Loading branch information
autophagy committed Jan 30, 2025
1 parent 7c99484 commit c04c658
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/azure-pipelines/build-python-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ jobs:
pool:
vmImage: 'ubuntu-22.04'
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '3.11'
- script: |
cd flink-python
bash dev/build-wheels.sh
Expand Down
3 changes: 3 additions & 0 deletions tools/azure-pipelines/e2e-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ jobs:
- script: ./tools/azure-pipelines/free_disk_space.sh
target: host
displayName: Free up disk space
- task: UsePythonVersion@0
inputs:
versionSpec: '3.11'
# the cache task does not create directories on a cache miss, and can later fail when trying to tar the directory if the test haven't created it
# this may for example happen if a given directory is only used by a subset of tests, which are run in a different 'group'
- bash: |
Expand Down

0 comments on commit c04c658

Please sign in to comment.