aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Mazuruk <a.mazuruk@samsung.com>2021-08-29 22:07:15 +0200
committerAlexander Mazuruk <a.mazuruk@samsung.com>2021-08-30 13:53:14 +0200
commit8d6e40fb110c16f26140f445b62b92cc402b1050 (patch)
tree8856c86678cd7b64fb6db99c2674648ad6b983bd
parent2223bfaffa8fe5fb90c578ec71a035f001b9ce22 (diff)
Update Vagrantfile for tern
scancode-toolkit supports Python versions up to 3.9 (3.10 in progress) thus removed adding external ppa in favor of distro provided Python. Signed-off-by: Alexander Mazuruk <a.mazuruk@samsung.com> Change-Id: If8eb6749e2655835cc8558c60f1a4f4bd85f3eb5 Issue-ID: INT-1735
-rw-r--r--test/legal/docker_license_analysis/Vagrantfile7
1 files changed, 1 insertions, 6 deletions
diff --git a/test/legal/docker_license_analysis/Vagrantfile b/test/legal/docker_license_analysis/Vagrantfile
index f1123ff8f..5a0333942 100644
--- a/test/legal/docker_license_analysis/Vagrantfile
+++ b/test/legal/docker_license_analysis/Vagrantfile
@@ -35,17 +35,12 @@ $install_docker= <<-SCRIPT
SCRIPT
$install_python = <<-SCRIPT
- # TODO: currently scancode locks us to python3.6, they are currently
- # (10 Dec 2020) updating so check in a while
- add-apt-repository ppa:deadsnakes/ppa
apt-get update
apt-get install --yes \
- python3.6 libpython3.6-dev python3-pip python3.6-venv python3-setuptools\
+ python3.8 libpython3.8-dev python3-pip python3.8-venv python3-setuptools\
python3-apt \
attr bzip2 xz-utils zlib1g libxml2-dev libxslt1-dev \
findutils git gnupg2 tar util-linux
- update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.6 1
- update-alternatives --set python3 /usr/bin/python3.6
pip3 install --upgrade pip
SCRIPT