From 414b6ff151c9002e1b9830ad29cbbbe2f67a95bc Mon Sep 17 00:00:00 2001 From: Adrien Ferrand Date: Tue, 9 Feb 2021 15:54:50 +0100 Subject: [PATCH] Fixing sdists letstest script --- tests/letstest/scripts/test_sdists.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/tests/letstest/scripts/test_sdists.sh b/tests/letstest/scripts/test_sdists.sh index aa12d5610..525266831 100755 --- a/tests/letstest/scripts/test_sdists.sh +++ b/tests/letstest/scripts/test_sdists.sh @@ -12,12 +12,7 @@ sudo $BOOTSTRAP_SCRIPT # We strip the hashes because the venv creation script includes unhashed # constraints in the commands given to pip and the mix of hashed and unhashed # packages makes pip error out. -python3 tools/strip_hashes.py letsencrypt-auto-source/pieces/dependency-requirements.txt > requirements.txt -# We also strip out the requirement for enum34 because it cannot be installed -# in newer versions of Python 3, tools/strip_hashes.py removes the environment -# marker that'd normally prevent it from being installed, and this package is -# not needed for any OS tested here. -sed -i '/enum34/d' requirements.txt +python3 tools/strip_hashes.py tools/certbot_constraints.txt > requirements.txt CERTBOT_PIP_NO_BINARY=:all: tools/venv.py --requirement requirements.txt . "$VENV_PATH/bin/activate" # pytest is needed to run tests on some of our packages so we install a pinned version here.