summaryrefslogtreecommitdiffstats
path: root/mcp/scripts/requirements_rpm.yaml
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2020-01-26 14:25:05 +0100
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2020-01-27 14:10:02 +0000
commit279195ddeb8e459a5931430f0841724ba6c06db1 (patch)
tree1b1c33972675b172ed4c6c4758493cb5dd9c5bc8 /mcp/scripts/requirements_rpm.yaml
parente93266360b871183e29ffc0750339e4cff5b92bb (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_rpm.yaml')
-rw-r--r--mcp/scripts/requirements_rpm.yaml13
1 files changed, 7 insertions, 6 deletions
diff --git a/mcp/scripts/requirements_rpm.yaml b/mcp/scripts/requirements_rpm.yaml
index ef9bfad9c..d21e49a9d 100644
--- a/mcp/scripts/requirements_rpm.yaml
+++ b/mcp/scripts/requirements_rpm.yaml
@@ -9,7 +9,9 @@
build:
# Common pkgs required for all builds, no matter the type, arch etc.
common:
- - python-pip
+ - git
+ - make
+ - python3-pip
deploy:
# Common pkgs required for all deploys, no matter the type, arch etc.
common:
@@ -35,11 +37,10 @@ deploy:
- virt-install
- wget
# For 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)