aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2019-02-27 17:41:14 -0500
committerPaul Kehrer <paul.l.kehrer@gmail.com>2019-02-28 06:41:14 +0800
commit659cffe7db4b81e3b81f6228ab50e6d589e173e1 (patch)
tree0adb9e0193f3500763d036a26616b54a34eb4bd0
parentda259203be156990efff49c0ad8d1afaba1791cc (diff)
downloadcryptography-659cffe7db4b81e3b81f6228ab50e6d589e173e1.tar.gz
cryptography-659cffe7db4b81e3b81f6228ab50e6d589e173e1.tar.bz2
cryptography-659cffe7db4b81e3b81f6228ab50e6d589e173e1.zip
Don't use pep517 when building our wheel (#4790)
Refs #4789, https://github.com/pypa/pip/issues/6304
-rw-r--r--.jenkins/Jenkinsfile-cryptography-wheel-builder6
1 files changed, 3 insertions, 3 deletions
diff --git a/.jenkins/Jenkinsfile-cryptography-wheel-builder b/.jenkins/Jenkinsfile-cryptography-wheel-builder
index 5f98276c..72158f3c 100644
--- a/.jenkins/Jenkinsfile-cryptography-wheel-builder
+++ b/.jenkins/Jenkinsfile-cryptography-wheel-builder
@@ -85,7 +85,7 @@ def build(version, label, imageName) {
virtualenv -p %PYTHON% .release
call .release\\Scripts\\activate
pip install wheel virtualenv
- pip wheel cryptography==$BUILD_VERSION --wheel-dir=wheelhouse --no-binary cryptography
+ pip wheel cryptography==$BUILD_VERSION --no-use-pep517 --wheel-dir=wheelhouse --no-binary cryptography
pip install -f wheelhouse cryptography --no-index
python -c "from cryptography.hazmat.backends.openssl.backend import backend;print('Loaded: ' + backend.openssl_version_text());print('Linked Against: ' + backend._ffi.string(backend._lib.OPENSSL_VERSION_TEXT).decode('ascii'))"
"""
@@ -118,7 +118,7 @@ def build(version, label, imageName) {
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" \
- pip wheel cryptography==$BUILD_VERSION --wheel-dir=wheelhouse --no-binary cryptography --no-deps \$PY_LIMITED_API
+ pip wheel cryptography==$BUILD_VERSION --no-use-pep517 --wheel-dir=wheelhouse --no-binary cryptography --no-deps \$PY_LIMITED_API
pip install -f wheelhouse cryptography --no-index
python -c "from cryptography.hazmat.backends.openssl.backend import backend;print('Loaded: ' + backend.openssl_version_text());print('Linked Against: ' + backend._ffi.string(backend._lib.OPENSSL_VERSION_TEXT).decode('ascii'))"
otool -L `find .venv -name '_openssl*.so'`
@@ -148,7 +148,7 @@ def build(version, label, imageName) {
fi
LDFLAGS="-L/opt/pyca/cryptography/openssl/lib" \
CFLAGS="-I/opt/pyca/cryptography/openssl/include -Wl,--exclude-libs,ALL" \
- $linux32 /opt/python/$version/bin/pip wheel cryptography==$BUILD_VERSION --no-binary cryptography --no-deps --wheel-dir=tmpwheelhouse \$PY_LIMITED_API
+ $linux32 /opt/python/$version/bin/pip wheel cryptography==$BUILD_VERSION --no-use-pep517 --no-binary cryptography --no-deps --wheel-dir=tmpwheelhouse \$PY_LIMITED_API
$linux32 auditwheel repair tmpwheelhouse/cryptography*.whl -w wheelhouse/
unzip wheelhouse/*.whl -d execstack.check
chmod -R 777 execstack.check