Use C compiler to build cryptography

Building wheel from cryptography>=3.4 uses by default rust compiler
but version 3.4.x keeps compatibility with C compiler by setting
the env variable CRYPTOGRAPHY_DONT_BUILD_RUST=1 [1]

[1] https://mail.python.org/pipermail/cryptography-dev/2020-December/000998.html

Change-Id: I41f47e02aef73bd9ebf6d6a46e8c212b9a268d73
This commit is contained in:
Martin Chacon Piza 2021-02-23 20:40:01 +01:00
parent f59a2f296e
commit ccae320767

View File

@ -7,7 +7,8 @@ ENV \
ENV="/root/.ashrc" \
PIP_NO_CACHE_DIR="no" \
PIP_NO_COMPILE="no" \
PYTHONIOENCODING="utf-8"
PYTHONIOENCODING="utf-8" \
CRYPTOGRAPHY_DONT_BUILD_RUST=1
ARG BASE_CREATION_TIME
ARG BASE_GIT_COMMIT