Skip to content
This repository has been archived by the owner on Mar 22, 2022. It is now read-only.

Commit

Permalink
Use any Python >= 2.7.16 for CI
Browse files Browse the repository at this point in the history
Azure agents have been upgraded to 2.7.17, breaking C++ CI. To
future-proof CI, change the version spec to accept any Python 2.7
version beyond 2.7.16, the originally validated one.

(cherry picked from commit 92bb63f)
  • Loading branch information
djee-ms committed Mar 3, 2020
1 parent b9b090d commit 5a1e8d2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/ci/templates/jobs-cpp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ jobs:
nugetConfigPath: '$(NuGetConfigPath)'
timeoutInMinutes: 30

# Ensure that Python 2.7.16 is the default; the Google scripts don't work with Python 3.x
# Ensure that Python 2.7.16+ is the default; the Google scripts don't work with Python 3.x
- task: UsePythonVersion@0
displayName: 'Use Python 2.7.16 x64 for Google GN'
displayName: 'Use Python 2.7.16+ x64 for Google GN'
inputs:
versionSpec: 2.7.16
versionSpec: '>=2.7.16 <2.8.0'
timeoutInMinutes: 5

# Map build* variables to script* ones
Expand Down

0 comments on commit 5a1e8d2

Please sign in to comment.