diff options
author | Simo Fält <simo.falt@qt.io> | 2020-05-08 11:30:24 +0300 |
---|---|---|
committer | Simo Fält <simo.falt@qt.io> | 2020-05-13 14:08:19 +0300 |
commit | 7c45be58950b620805dafe6e6a1281d3cdba5200 (patch) | |
tree | c5a65503dd402246b5e09c91a47186b137b5b396 /coin_test_instructions.py | |
parent | bc8f64f056005d4fa556062f154279ba1c2e42ee (diff) |
Install pinned virtualenv before installing dependencies
Some Qt CI virtual machine templates has broken virtualenv installed.
It will get fixed once those are re-provisioned. Pinning the virtualenv
will allow us to control the version over Qt5 repository.
Change-Id: Ic59c7e091d062a149badaf03508bc7a9204cf4b6
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'coin_test_instructions.py')
-rw-r--r-- | coin_test_instructions.py | 2 |
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) |