From c99cfb21164b24644fec56013449b2b1e3b54fb3 Mon Sep 17 00:00:00 2001 From: Paride Legovini Date: Fri, 24 Jan 2020 21:12:11 +0100 Subject: Make the RPM build use Python 3 (#190) * packages/brpm: switch to python3 No changes needed other than changing the shebang interpreter. * pkg-deps.json: bump the redhat build dependencies to python36 CentOS 7 (our standard target for the COPR test builds) uses python3.6 as its default python3 interpreter, so let's bump the build dependencies accordingly. --- packages/brpm | 2 +- packages/pkg-deps.json | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'packages') diff --git a/packages/brpm b/packages/brpm index a154ef29..4004fd0e 100755 --- a/packages/brpm +++ b/packages/brpm @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import argparse import glob diff --git a/packages/pkg-deps.json b/packages/pkg-deps.json index 72409dd8..cf065219 100644 --- a/packages/pkg-deps.json +++ b/packages/pkg-deps.json @@ -29,27 +29,27 @@ ], "renames" : { "jinja2" : { - "3" : "python34-jinja2" + "3" : "python36-jinja2" }, "jsonschema" : { - "3" : "python34-jsonschema" + "3" : "python36-jsonschema" }, "pyflakes" : { "2" : "pyflakes", - "3" : "python34-pyflakes" + "3" : "python36-pyflakes" }, "pyyaml" : { "2" : "PyYAML", - "3" : "python34-PyYAML" + "3" : "python36-PyYAML" }, "pyserial" : { "2" : "pyserial" }, "requests" : { - "3" : "python34-requests" + "3" : "python36-requests" }, "six" : { - "3" : "python34-six" + "3" : "python36-six" } }, "requires" : [ -- cgit v1.2.3