[Asterisk-code-review] setupVenv: Use python3 instead of python. (testsuite[16])

N A asteriskteam at digium.com
Mon Oct 10 07:19:39 CDT 2022


N A has uploaded this change for review. ( https://gerrit.asterisk.org/c/testsuite/+/19426 )


Change subject: setupVenv: Use python3 instead of python.
......................................................................

setupVenv: Use python3 instead of python.

Explicitly use python3 since it is required,
and to avoid Python 2 deprecation warnings.

ASTERISK-30255 #close

Change-Id: I29dcdb2e37a8084e8ccd5aa9749ea66c716e8a91
---
M setupVenv.sh
1 file changed, 18 insertions(+), 4 deletions(-)



  git pull ssh://gerrit.asterisk.org:29418/testsuite refs/changes/26/19426/1

diff --git a/setupVenv.sh b/setupVenv.sh
index 75a72a3..dbc192d 100755
--- a/setupVenv.sh
+++ b/setupVenv.sh
@@ -2,10 +2,10 @@
 set -e
 
 function do_pip_setup {
-	python -m pip install --upgrade pip
-	python -m pip install wheel setuptools build
-	python -m pip install -r ./requirements.txt
-	python -m pip install -r ./extras.txt
+	python3 -m pip install --upgrade pip
+	python3 -m pip install wheel setuptools build
+	python3 -m pip install -r ./requirements.txt
+	python3 -m pip install -r ./extras.txt
 	md5sum requirements.txt extras.txt > $1/checksums
 }
 

-- 
To view, visit https://gerrit.asterisk.org/c/testsuite/+/19426
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: testsuite
Gerrit-Branch: 16
Gerrit-Change-Id: I29dcdb2e37a8084e8ccd5aa9749ea66c716e8a91
Gerrit-Change-Number: 19426
Gerrit-PatchSet: 1
Gerrit-Owner: N A <mail at interlinked.x10host.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20221010/c6cc8a1b/attachment.html>


More information about the asterisk-code-review mailing list