Skip to content

Commit

Permalink
Cap pip version in windows ci
Browse files Browse the repository at this point in the history
Running pip>=10.0.0 in the windows ci is failing and blocking changes.
This commit is to workaround this issue, #165, until the upstream
pypa/pip#5223 (or equivalent bug) is fixed in another pip release by
capping pip to be <10.0.0.
  • Loading branch information
mtreinish committed Apr 27, 2018
1 parent 231c682 commit 5055e3c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ install:
- ECHO "Installed SDKs:"
- ps: "ls \"C:/Program Files/Microsoft SDKs/Windows\""

# Install Python (from the official .msi of http://python.org) and pip when
# Install Python (from the official .msi of http://python.org) and pip when
# not already installed.
- ps: if (-not(Test-Path($env:PYTHON))) { & appveyor\install.ps1 }

Expand All @@ -50,7 +50,9 @@ install:

# Upgrade to the latest version of pip to avoid it displaying warnings
# about it being out of date.
- "pip install --disable-pip-version-check --user --upgrade pip"
# NOTE(mtreinish): Because of bugs in pip>=10.0.0 preventing pip from working
# we're capping pip here
- "pip install --disable-pip-version-check --user --upgrade pip<10.0.0"

# Install the build dependencies of the project. If some dependencies contain
# compiled extensions and are not provided as pre-built wheel packages,
Expand Down

0 comments on commit 5055e3c

Please sign in to comment.