mirror of
https://github.com/certbot/certbot.git
synced 2026-06-05 06:42:10 -04:00
fix pyopenssl case
This commit is contained in:
parent
fcae906ad9
commit
e4d679f245
1 changed files with 4 additions and 4 deletions
|
|
@ -20,13 +20,13 @@ TEMP_DIR=$(mktemp -d)
|
|||
CONSTRAINTS="$TEMP_DIR/constraints.txt"
|
||||
cp tools/requirements.txt "$CONSTRAINTS"
|
||||
|
||||
# We pin cryptography to 3.1.1 and pyOpenSSL to 19.1.0 specifically for CentOS 7 / RHEL 7
|
||||
# We pin cryptography to 3.1.1 and pyopenssl to 19.1.0 specifically for CentOS 7 / RHEL 7
|
||||
# because these systems ship only with OpenSSL 1.0.2, and this OpenSSL version support has been
|
||||
# dropped on cryptography>=3.2 and pyOpenSSL>=20.0.0.
|
||||
# Using this old version of OpenSSL would break the cryptography and pyOpenSSL wheels builds.
|
||||
# dropped on cryptography>=3.2 and pyopenssl>=20.0.0.
|
||||
# Using this old version of OpenSSL would break the cryptography and pyopenssl wheels builds.
|
||||
if [ -f /etc/redhat-release ] && [ "$(. /etc/os-release 2> /dev/null && echo "$VERSION_ID" | cut -d '.' -f1)" -eq 7 ]; then
|
||||
sed -i 's|cryptography==.*|cryptography==3.1.1|g' "$CONSTRAINTS"
|
||||
sed -i 's|pyOpenSSL==.*|pyOpenSSL==19.1.0|g' "$CONSTRAINTS"
|
||||
sed -i 's|pyopenssl==.*|pyopenssl==19.1.0|g' "$CONSTRAINTS"
|
||||
fi
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue