aboutsummaryrefslogtreecommitdiffstats
path: root/.azure-pipelines/wheel-builder.yml
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2019-05-31 00:27:50 -0400
committerAlex Gaynor <alex.gaynor@gmail.com>2019-05-30 21:27:50 -0700
commit631179531dd4e57c41d88288174dcf91ea2dcc6c (patch)
treefa395f3911948cd0109d619498d3109d79cc5d74 /.azure-pipelines/wheel-builder.yml
parentb6940968ced4314f728202d65d9965670dce8637 (diff)
downloadcryptography-631179531dd4e57c41d88288174dcf91ea2dcc6c.tar.gz
cryptography-631179531dd4e57c41d88288174dcf91ea2dcc6c.tar.bz2
cryptography-631179531dd4e57c41d88288174dcf91ea2dcc6c.zip
hack workaround so wheel builder works (#4905)
* remove don't use pep517 flags now that we have an explicit backend * lol
Diffstat (limited to '.azure-pipelines/wheel-builder.yml')
-rw-r--r--.azure-pipelines/wheel-builder.yml12
1 files changed, 9 insertions, 3 deletions
diff --git a/.azure-pipelines/wheel-builder.yml b/.azure-pipelines/wheel-builder.yml
index 2d82cb34..3d867c7f 100644
--- a/.azure-pipelines/wheel-builder.yml
+++ b/.azure-pipelines/wheel-builder.yml
@@ -35,6 +35,8 @@ jobs:
displayName: Create virtualenv
- script: .venv/bin/pip install -U wheel
displayName: Update wheel to the latest version
+ - script: .venv/bin/pip install -U pip==10.0.1
+ displayName: Downgrade pip lol
- script: .venv/bin/pip install cffi six asn1crypto ipaddress "enum34; python_version < '3'"
displayName: Install our Python dependencies
@@ -50,7 +52,7 @@ jobs:
CRYPTOGRAPHY_SUPPRESS_LINK_FLAGS="1" \
LDFLAGS="/usr/local/opt/openssl@1.1/lib/libcrypto.a /usr/local/opt/openssl@1.1/lib/libssl.a" \
CFLAGS="-I/usr/local/opt/openssl@1.1/include -mmacosx-version-min=10.9" \
- .venv/bin/pip wheel cryptography==$BUILD_VERSION --no-use-pep517 --wheel-dir=wheelhouse --no-binary cryptography --no-deps $PY_LIMITED_API
+ .venv/bin/pip wheel cryptography==$BUILD_VERSION --wheel-dir=wheelhouse --no-binary cryptography --no-deps $PY_LIMITED_API
displayName: Build the wheel
- script: .venv/bin/pip install --no-index -f wheelhouse cryptography
displayName: Test installing the wheel
@@ -84,6 +86,8 @@ jobs:
steps:
- script: /opt/python/$PYTHON_VERSION/bin/python -m virtualenv .venv
displayName: Create virtualenv
+ - script: .venv/bin/pip install -U pip==10.0.1
+ displayName: Downgrade pip lol
- script: .venv/bin/pip install cffi six asn1crypto ipaddress enum34
displayName: Install our Python dependencies
- script: |
@@ -96,7 +100,7 @@ jobs:
fi
LDFLAGS="-L/opt/pyca/cryptography/openssl/lib" \
CFLAGS="-I/opt/pyca/cryptography/openssl/include -Wl,--exclude-libs,ALL" \
- .venv/bin/pip wheel cryptography==$BUILD_VERSION --no-use-pep517 --no-binary cryptography --no-deps --wheel-dir=tmpwheelhouse $PY_LIMITED_API
+ .venv/bin/pip wheel cryptography==$BUILD_VERSION --no-binary cryptography --no-deps --wheel-dir=tmpwheelhouse $PY_LIMITED_API
displayName: Build the wheel
- script: auditwheel repair tmpwheelhouse/cryptograph*.whl -w wheelhouse/
displayName: Run auditwheel
@@ -181,12 +185,14 @@ 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 asn1crypto ipaddress enum34'
displayName: Install wheel and our Python dependencies
- script: |
set INCLUDE=C:/%OPENSSL_DIR%/include;%INCLUDE%
set LIB=C:/%OPENSSL_DIR%/lib;%LIB%
- C:/Python%PYTHON_VERSION%/Scripts/pip wheel cryptography==%BUILD_VERSION% --no-use-pep517 --wheel-dir=wheelhouse --no-binary cryptography
+ C:/Python%PYTHON_VERSION%/Scripts/pip wheel cryptography==%BUILD_VERSION% --wheel-dir=wheelhouse --no-binary cryptography
displayName: Build the wheel
- script: '"C:/Python%PYTHON_VERSION%/Scripts/pip" install -f wheelhouse cryptography --no-index'
displayName: Test installing the wheel