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_build_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_build_instructions.py')
-rw-r--r-- | coin_build_instructions.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/coin_build_instructions.py b/coin_build_instructions.py index 6453cfad5..7d4d07289 100644 --- a/coin_build_instructions.py +++ b/coin_build_instructions.py @@ -109,6 +109,8 @@ def call_setup(python_ver, phase): if phase in ["BUILD"]: 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") # When the 'python_ver' variable is empty, we are using Python 2 # setuptools from v45+ removed the support for Python 2, so we pin an old release |