[Asterisk-code-review] setupVenv: Add missing pip prereqs. (testsuite[master])

N A asteriskteam at digium.com
Fri Sep 30 14:48:42 CDT 2022


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


Change subject: setupVenv: Add missing pip prereqs.
......................................................................

setupVenv: Add missing pip prereqs.

Install pyyaml and twisted in setupVenv.sh,
since they are required to run the test suite.

Also, 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, 22 insertions(+), 4 deletions(-)



  git pull ssh://gerrit.asterisk.org:29418/testsuite refs/changes/00/19400/1

diff --git a/setupVenv.sh b/setupVenv.sh
index 75a72a3..6574249 100755
--- a/setupVenv.sh
+++ b/setupVenv.sh
@@ -2,10 +2,11 @@
 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 pyyaml twisted
+	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/+/19400
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-Change-Id: I29dcdb2e37a8084e8ccd5aa9749ea66c716e8a91
Gerrit-Change-Number: 19400
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/20220930/f7acf0d7/attachment.html>


More information about the asterisk-code-review mailing list