Skip to content

Commit

Permalink
Don’t downgrade pip on windows wheel building (#5015)
Browse files Browse the repository at this point in the history
* Don’t downgrade pip on windows wheel building

* Conditionally install enum34

* Syntax
  • Loading branch information
reaperhulk authored and alex committed Oct 17, 2019
1 parent dc7f138 commit d220d7b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .azure-pipelines/wheel-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ jobs:
displayName: Create virtualenv
- script: .venv/bin/pip install -U pip==10.0.1
displayName: Downgrade pip lol
- script: .venv/bin/pip install cffi six ipaddress enum34
- script: .venv/bin/pip install cffi six ipaddress "enum34; python_version < '3'"
displayName: Install our Python dependencies
- script: |
set -e
Expand Down Expand Up @@ -215,9 +215,8 @@ jobs:
OPENSSL_DIR: 'OpenSSL-Win64-2015'
WINDOWS_ARCH: 'x86_64'
steps:
- script: '"C:/Python%PYTHON_VERSION%/python.exe" -m pip install -U pip==10.0.1'
displayName: Downgrade pip lol
- script: '"C:/Python%PYTHON_VERSION%/Scripts/pip" install wheel cffi six ipaddress enum34'
- script: |
"C:/Python%PYTHON_VERSION%/Scripts/pip" install cffi six ipaddress "enum34; python_version < '3'"
displayName: Install wheel and our Python dependencies
- script: |
set INCLUDE=C:/%OPENSSL_DIR%/include;%INCLUDE%
Expand Down

0 comments on commit d220d7b

Please sign in to comment.