Skip to content

Commit

Permalink
[BUGFIX] Pin pip --upgrade to a specific version to bypass bug in p…
Browse files Browse the repository at this point in the history
…ip's underlying algorithm (#4100)

* fix: pin pip upgrade

* chore: test change to trigger pipeline

* fix: also pin dependency graph pip upgrades

* chore: revert changes
  • Loading branch information
cdkini authored and Rachel-Reverie committed Feb 25, 2022
1 parent b473391 commit 1b2ca7e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
10 changes: 5 additions & 5 deletions azure-pipelines-dependency-graph-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ stages:
versionSpec: '$(python.version)'
displayName: 'Use Python $(python.version)'

- bash: python -m pip install --upgrade pip # --upgrade pip==20.2.4
- bash: python -m pip install --upgrade pip==21.3.1
displayName: 'Update pip'

- bash: pip install numpy
Expand Down Expand Up @@ -192,7 +192,7 @@ stages:
versionSpec: '$(python.version)'
displayName: 'Use Python $(python.version)'

- bash: python -m pip install --upgrade pip # pip==20.2.4
- bash: python -m pip install --upgrade pip==21.3.1
displayName: 'Update pip'

- script: |
Expand Down Expand Up @@ -261,7 +261,7 @@ stages:
versionSpec: '$(python.version)'
displayName: 'Use Python $(python.version)'

- bash: python -m pip install --upgrade pip # pip==20.2.4
- bash: python -m pip install --upgrade pip==21.3.1
displayName: 'Update pip'

- script: |
Expand Down Expand Up @@ -311,7 +311,7 @@ stages:
versionSpec: '$(python.version)'
displayName: 'Use Python $(python.version)'

- bash: python -m pip install --upgrade pip # pip==20.2.4
- bash: python -m pip install --upgrade pip==21.3.1
displayName: 'Update pip'

- script: |
Expand Down Expand Up @@ -356,7 +356,7 @@ stages:
versionSpec: '$(python.version)'
displayName: 'Use Python $(python.version)'

- bash: python -m pip install --upgrade pip # pip==20.2.4
- bash: python -m pip install --upgrade pip==21.3.1
displayName: 'Update pip'

- script: |
Expand Down
16 changes: 8 additions & 8 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ stages:
versionSpec: '$(python.version)'
displayName: 'Use Python $(python.version)'

- bash: python -m pip install --upgrade pip # --upgrade pip==20.2.4
- bash: python -m pip install --upgrade pip==21.3.1
displayName: 'Update pip'

- bash: pip install numpy
Expand Down Expand Up @@ -204,7 +204,7 @@ stages:
versionSpec: '$(python.version)'
displayName: 'Use Python $(python.version)'

- bash: python -m pip install --upgrade pip # pip==20.2.4
- bash: python -m pip install --upgrade pip==21.3.1
displayName: 'Update pip'

- script: |
Expand Down Expand Up @@ -261,7 +261,7 @@ stages:
versionSpec: '$(python.version)'
displayName: 'Use Python $(python.version)'

- bash: python -m pip install --upgrade pip==20.2.4
- bash: python -m pip install --upgrade pip==21.3.1
displayName: 'Update pip'

- script: |
Expand Down Expand Up @@ -297,7 +297,7 @@ stages:
versionSpec: '$(python.version)'
displayName: 'Use Python $(python.version)'

- bash: python -m pip install --upgrade pip # pip==20.2.4
- bash: python -m pip install --upgrade pip==21.3.1
displayName: 'Update pip'

- script: |
Expand Down Expand Up @@ -340,7 +340,7 @@ stages:
versionSpec: '$(python.version)'
displayName: 'Use Python $(python.version)'

- bash: python -m pip install --upgrade pip # pip==20.2.4
- bash: python -m pip install --upgrade pip==21.3.1
displayName: 'Update pip'

- script: |
Expand Down Expand Up @@ -378,7 +378,7 @@ stages:
versionSpec: '$(python.version)'
displayName: 'Use Python $(python.version)'

- bash: python -m pip install --upgrade pip # pip==20.2.4
- bash: python -m pip install --upgrade pip==21.3.1
displayName: 'Update pip'

- script: |
Expand Down Expand Up @@ -416,7 +416,7 @@ stages:
versionSpec: '$(python.version)'
displayName: 'Use Python $(python.version)'

- bash: python -m pip install --upgrade pip # pip==20.2.4
- bash: python -m pip install --upgrade pip==21.3.1
displayName: 'Update pip'

- script: |
Expand Down Expand Up @@ -468,7 +468,7 @@ stages:
versionSpec: '$(python.version)'
displayName: 'Use Python $(python.version)'

- bash: python -m pip install --upgrade pip # pip==20.2.4
- bash: python -m pip install --upgrade pip==21.3.1
displayName: 'Update pip'

- script: |
Expand Down

0 comments on commit 1b2ca7e

Please sign in to comment.