mirror of
https://github.com/certbot/certbot.git
synced 2026-08-03 03:32:13 +02:00
Use pipstrap to ensure pip works on older systems (#5216)
* Use pipstrap in tools/_venv_common.sh * Use _venv_common.sh in test_sdists
This commit is contained in:
@@ -15,10 +15,10 @@ mv $VENV_NAME "$VENV_NAME.$(date +%s).bak" || true
|
||||
virtualenv --no-site-packages --setuptools $VENV_NAME $VENV_ARGS
|
||||
. ./$VENV_NAME/bin/activate
|
||||
|
||||
# Separately install setuptools and pip to make sure following
|
||||
# invocations use latest
|
||||
pip install -U pip
|
||||
pip install -U setuptools
|
||||
# Use pipstrap to update Python packaging tools to only update to a well tested
|
||||
# version and to work around https://github.com/pypa/pip/issues/4817 on older
|
||||
# systems.
|
||||
python letsencrypt-auto-source/pieces/pipstrap.py
|
||||
./tools/pip_install.sh "$@"
|
||||
|
||||
set +x
|
||||
|
||||
Reference in New Issue
Block a user