[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 1e53c8a9667e3d3f429b4473ce5af1794ab0a8f1
Author: Pier Angelo Vendrame <pierov@xxxxxxxxxxxxxx>
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');

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits