Skip to content

Commit

Permalink
{CI} Update pipeline to use Python 3.10 (Azure#4644)
Browse files Browse the repository at this point in the history
  • Loading branch information
jiasli authored Apr 7, 2022
1 parent 4ee5a18 commit e6c878e
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ jobs:
vmImage: 'ubuntu-20.04'
steps:
- task: UsePythonVersion@0
displayName: 'Use Python 3.6'
displayName: 'Use Python 3.10'
inputs:
versionSpec: 3.6
versionSpec: 3.10
- bash: |
set -ev
Expand Down Expand Up @@ -85,9 +85,9 @@ jobs:
vmImage: 'ubuntu-20.04'
steps:
- task: UsePythonVersion@0
displayName: 'Use Python 3.7'
displayName: 'Use Python 3.10'
inputs:
versionSpec: 3.7
versionSpec: 3.10
- bash: |
#!/usr/bin/env bash
set -ev
Expand All @@ -106,6 +106,10 @@ jobs:
python.version: '3.6'
Python38:
python.version: '3.8'
Python39:
python.version: '3.9'
Python310:
python.version: '3.10'
steps:
- task: UsePythonVersion@0
displayName: 'Use Python $(python.version)'
Expand All @@ -126,9 +130,9 @@ jobs:
vmImage: 'ubuntu-20.04'
steps:
- task: UsePythonVersion@0
displayName: 'Use Python 3.6'
displayName: 'Use Python 3.10'
inputs:
versionSpec: 3.6
versionSpec: 3.10
- bash: |
set -ev
Expand Down Expand Up @@ -162,9 +166,9 @@ jobs:
vmImage: 'ubuntu-20.04'
steps:
- task: UsePythonVersion@0
displayName: 'Use Python 3.7'
displayName: 'Use Python 3.10'
inputs:
versionSpec: 3.7
versionSpec: 3.10
- bash: pip install wheel==0.30.0
displayName: 'Install wheel==0.30.0'
- task: Bash@3
Expand Down

0 comments on commit e6c878e

Please sign in to comment.