From 450364614f9a8f58f0cf9b5da3ddd47411ce3352 Mon Sep 17 00:00:00 2001 From: Miro HronĨok Date: Apr 28 2020 23:17:58 +0000 Subject: Also test plain ensurepip in smoke tests --- diff --git a/smoke/venv.sh b/smoke/venv.sh index f127e4a..d85f7b7 100755 --- a/smoke/venv.sh +++ b/smoke/venv.sh @@ -10,7 +10,7 @@ METHOD=${METHOD:-venv} TOX=${TOX:-true} # clean from possible older runs -rm -rf venv .tox __pycache__ .pytest* test_*.py *.pyx *.c *.so || : +rm -rf venv .tox __pycache__ .pytest* test_*.py *.pyx *.c *.so ensurepiptestroot || : # check the we can create the venv if [ "$METHOD" == "venv" ]; then @@ -87,6 +87,10 @@ set +u deactivate set -u +# ensurepip test (when testing virtualenv, this was not covered) +# with the main Python, this will say "Requirement already satisfied", but that's OK +$PYTHON -m ensurepip --root ensurepiptestroot + # use it with tox [[ "$TOX" != "true" ]] && exit 0 if [[ $PYTHON == python* ]]; then