Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBrad Warren <bmw@users.noreply.github.com>2021-03-26 09:51:59 +0300
committerGitHub <noreply@github.com>2021-03-26 09:51:59 +0300
commitf4fc3e636d295776f0e6be53763f401e1cf4c41e (patch)
treedb974e982955e2f68933f888558dfe1e09ddae1f /tests
parent018efc241c7fd219b8c3b4d7a52e4c365850060d (diff)
Redo the majority of Certbot's pinning system (#8741)
* add initial pyproject.toml * add extra dependencies * add simple bash script * polish * reuse pipstrap * add requirements.txt * temporarily remove hashin dep * Switch to requirements.txt * remove hashin check * update requirements.txt again * remove unnecessary merge * pin back augeas * unpin cryptography * simplify pywin32 pinning * update comment * pin back pytest and pylint * pin back pytest-forked * pin back coverage * update script comments * fix pyopenssl case * add minimum poetry version * run pin.sh
Diffstat (limited to 'tests')
-rwxr-xr-xtests/letstest/scripts/test_sdists.sh13
1 files changed, 5 insertions, 8 deletions
diff --git a/tests/letstest/scripts/test_sdists.sh b/tests/letstest/scripts/test_sdists.sh
index ad729e0eb..aa385ad2f 100755
--- a/tests/letstest/scripts/test_sdists.sh
+++ b/tests/letstest/scripts/test_sdists.sh
@@ -18,18 +18,15 @@ tools/pip_install.py pytest
# setup constraints
TEMP_DIR=$(mktemp -d)
CONSTRAINTS="$TEMP_DIR/constraints.txt"
-# We strip the hashes because we don't have hashes of our local packages and
-# the mix of hashed and unhashed packages makes pip error out.
-python3 tools/strip_hashes.py tools/certbot_constraints.txt > "$CONSTRAINTS"
-python3 tools/strip_hashes.py tools/pipstrap_constraints.txt >> "$CONSTRAINTS"
+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