[tbb-commits] [tor-browser-bundle-testsuite/master] Bug 40033: Use Python 2 for the test virtual environment

richard at torproject.org richard at torproject.org
Wed Jan 19 14:24:14 UTC 2022


commit 1e53c8a9667e3d3f429b4473ce5af1794ab0a8f1
Author: Pier Angelo Vendrame <pierov at torproject.org>
Date:   Mon Jan 17 09:32:31 2022 +0100

    Bug 40033: Use Python 2 for the test virtual environment
---
 setup-virtualenv | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup-virtualenv b/setup-virtualenv
index f0c6288..9641ee1 100755
--- a/setup-virtualenv
+++ b/setup-virtualenv
@@ -42,7 +42,7 @@ if ($OSNAME eq 'cygwin') {
 }
 
 unless (-d $virtenv_marionette_dir) {
-    run($virtualenv_cmd, $virtenv_marionette_dir);
+    run($virtualenv_cmd, $virtenv_marionette_dir, '-p', 'python2');
     # upgrade pip and setuptools
     run("$virtenv_marionette_dir/$bin/pip", 'install', '--upgrade', 'pip');
     run("$virtenv_marionette_dir/$bin/pip", 'install', '--upgrade', 'setuptools');



More information about the tbb-commits mailing list