diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2019-10-17 19:30:23 +0800 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2019-10-17 07:30:23 -0400 |
commit | d220d7ba56e1559b2b2fb7ff7dabf62202466eb7 (patch) | |
tree | cea547e86413bf0a734719cc497a474307899a04 | |
parent | dc7f138ea6ac12e5ab7275f1284665a529175cbf (diff) | |
download | cryptography-d220d7ba56e1559b2b2fb7ff7dabf62202466eb7.tar.gz cryptography-d220d7ba56e1559b2b2fb7ff7dabf62202466eb7.tar.bz2 cryptography-d220d7ba56e1559b2b2fb7ff7dabf62202466eb7.zip |
Don’t downgrade pip on windows wheel building (#5015)
* Don’t downgrade pip on windows wheel building
* Conditionally install enum34
* Syntax
-rw-r--r-- | .azure-pipelines/wheel-builder.yml | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/.azure-pipelines/wheel-builder.yml b/.azure-pipelines/wheel-builder.yml index a93ec836..d07967da 100644 --- a/.azure-pipelines/wheel-builder.yml +++ b/.azure-pipelines/wheel-builder.yml @@ -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 @@ -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% |