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.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/coin_test_instructions.py b/coin_test_instructions.py
index 0bc0be783..c3752cb9f 100644
--- a/coin_test_instructions.py
+++ b/coin_test_instructions.py
@@ -67,9 +67,9 @@ def call_testrunner(python_ver, buildnro):
# 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)
- install_pip_dependencies(env_pip, ["numpy", "PyOpenGL", "setuptools", "six", "pyinstaller==3.6", "wheel"])
+ # When the 'python_ver' variable is empty, we are using Python 2
+ # Pip is always upgraded when CI template is provisioned, upgrading it in later phase may cause perm issue
+ run_instruction([env_pip, "install", "-r", "requirements.txt"], "Failed to install dependencies")
cmd = [env_python, "testrunner.py", "test",
"--blacklist", "build_history/blacklist.txt",
"--buildno=" + buildnro]