[Asterisk-code-review] setupVenv: Use python3 instead of python. (testsuite[19])
Friendly Automation
asteriskteam at digium.com
Mon Oct 10 09:49:42 CDT 2022
Friendly Automation has submitted this change. ( https://gerrit.asterisk.org/c/testsuite/+/19428 )
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(-)
Approvals:
George Joseph: Looks good to me, approved
Friendly Automation: Approved for Submit
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/+/19428
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: testsuite
Gerrit-Branch: 19
Gerrit-Change-Id: I29dcdb2e37a8084e8ccd5aa9749ea66c716e8a91
Gerrit-Change-Number: 19428
Gerrit-PatchSet: 1
Gerrit-Owner: N A <mail at interlinked.x10host.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20221010/5ae9ec9d/attachment-0001.html>
More information about the asterisk-code-review
mailing list