diff options
author | 2020-01-26 14:25:05 +0100 | |
---|---|---|
committer | 2020-01-27 14:10:02 +0000 | |
commit | 279195ddeb8e459a5931430f0841724ba6c06db1 (patch) | |
tree | 1b1c33972675b172ed4c6c4758493cb5dd9c5bc8 /mcp/scripts/requirements_deb.yaml | |
parent | e93266360b871183e29ffc0750339e4cff5b92bb (diff) |
docker build, deploy: Switch tooling to python3
Python2.7 is deprecated and packages are starting to enforce py3
usage (e.g. dockermake recently started supporting only 3.6).
Switch pipenv to python3, but allow pyhton3.5 by pinning dockermake
to v0.8 since Ubuntu Xenial does not have python3.6 easily available.
While at it, switch deploy tooling (PDF/IDF configuration parsing)
from python2 to pyhton3 too and fix some jumphost package requirements.
Change-Id: Id66d08d0f51a1bc35c1d78c1956df832a5536bde
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit fccf558f0c55c0b26448961a97d8edae3dd7db4d)
Diffstat (limited to 'mcp/scripts/requirements_deb.yaml')
-rw-r--r-- | mcp/scripts/requirements_deb.yaml | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/mcp/scripts/requirements_deb.yaml b/mcp/scripts/requirements_deb.yaml index 73374b6ef..58fc533b0 100644 --- a/mcp/scripts/requirements_deb.yaml +++ b/mcp/scripts/requirements_deb.yaml @@ -9,7 +9,10 @@ build: # Common pkgs required for all builds, no matter the type, arch etc. common: - - python-pip + - curl + - git + - make + - python3-pip deploy: # Common pkgs required for all deploys, no matter the type, arch etc. common: @@ -30,11 +33,10 @@ deploy: - uuid-runtime - virtinst # python is indirectly required for PDF parsing - - python - - python-ipaddress - - python-jinja2 - - python-yaml - - python-jsonschema + - python3 + - python3-jinja2 + - python3-yaml + - python3-jsonschema # Optional, arch-specific requirements, matched by key name = $(uname -m) aarch64: # AArch64 VMs use AAVMF (guest UEFI) |