aboutsummaryrefslogtreecommitdiffstats
path: root/coin_test_instructions.py
diff options
context:
space:
mode:
Diffstat (limited to 'coin_test_instructions.py')
-rw-r--r--coin_test_instructions.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/coin_test_instructions.py b/coin_test_instructions.py
index cb29acab4..0bc0be783 100644
--- a/coin_test_instructions.py
+++ b/coin_test_instructions.py
@@ -64,6 +64,8 @@ CI_RELEASE_CONF = has_option("packaging")
def call_testrunner(python_ver, buildnro):
_pExe, _env, env_pip, env_python = get_qtci_virtualEnv(python_ver, CI_HOST_OS, CI_HOST_ARCH, CI_TARGET_ARCH)
rmtree(_env, True)
+ # Pinning the virtualenv before creating one
+ run_instruction(["pip", "install", "--user", "virtualenv==20.0.20"], "Failed to pin virtualenv")
run_instruction(["virtualenv", "-p", _pExe, _env], "Failed to create virtualenv")
upgrade_pip = True if CI_HOST_OS == "Linux" else False
install_pip_dependencies(env_pip, ["pip"], upgrade_pip)