unblock Downstream CI : STDERR: virtualenv.py: error: no such option: --seeder

seeder option is in the newest virtualenv only ,
and under this condition, virtualenv will never upgrade :

[stack@undercloud-0 tobiko]$ if ! python3 -m virtualenv --version; then
> virtualenv --version;fi
16.0.0

Change-Id: I86c5bf6429a5ae67b049fb88564ff7b7ef72968c
This commit is contained in:
pinikomarov 2020-02-21 01:43:52 +02:00
parent b88f621dfe
commit b165c8e2ff

View File

@ -51,9 +51,7 @@ function tox_setup {
function tox_install_deps {
tox_install_pip
if ! "${TOX_BASE_PYTHON}" -m virtualenv --version; then
"${TOX_BASE_PYTHON}" -m pip install --user --upgrade virtualenv
fi
"${TOX_BASE_PYTHON}" -m pip install --user --upgrade virtualenv
}