From c3169e992e05eaa5ae0abb117e99a80ec85cb537 Mon Sep 17 00:00:00 2001 From: Erica Portnoy Date: Wed, 12 Aug 2020 21:38:00 -0700 Subject: [PATCH] fix test_sdists --- tests/letstest/scripts/test_sdists.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/letstest/scripts/test_sdists.sh b/tests/letstest/scripts/test_sdists.sh index 55ff85d5a..5c17556f5 100755 --- a/tests/letstest/scripts/test_sdists.sh +++ b/tests/letstest/scripts/test_sdists.sh @@ -7,7 +7,6 @@ VENV_PATH=venv3 # bootstrap and setup venv sudo $BOOTSTRAP_SCRIPT -CERTBOT_PIP_NO_BINARY=:all: tools/venv3.py --requirement letsencrypt-auto-source/pieces/dependency-requirements.txt if command -v python && [ $(python -V 2>&1 | cut -d" " -f 2 | cut -d. -f1,2 | sed 's/\.//') -eq 26 ]; then # RHEL/CentOS 6 will need a special treatment, so we need to detect that environment @@ -15,6 +14,7 @@ if command -v python && [ $(python -V 2>&1 | cut -d" " -f 2 | cut -d. -f1,2 | se PATH="/opt/rh/rh-python36/root/usr/bin:$PATH" fi +CERTBOT_PIP_NO_BINARY=:all: tools/venv3.py --requirement letsencrypt-auto-source/pieces/dependency-requirements.txt . "$VENV_PATH/bin/activate" # pytest is needed to run tests on some of our packages so we install a pinned version here. tools/pip_install.py pytest @@ -32,6 +32,7 @@ for pkg_dir in acme certbot $PLUGINS; do cd - done +VERSION=$(python letsencrypt-auto-source/version.py) # test sdists cd $TEMP_DIR for pkg in acme certbot $PLUGINS; do