mirror of
https://github.com/certbot/certbot.git
synced 2026-06-06 23:32:06 -04:00
fix test_sdists
This commit is contained in:
parent
ef8a3ae63c
commit
9e06e65714
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue