From nobody Wed May 14 22:55:37 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1518095356577439.1664101953353; Thu, 8 Feb 2018 05:09:16 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id DEAA95D678; Thu, 8 Feb 2018 13:09:14 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B5D9B798C9; Thu, 8 Feb 2018 13:09:14 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 8144718033E6; Thu, 8 Feb 2018 13:09:14 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w18D7Zdg003542 for ; Thu, 8 Feb 2018 08:07:35 -0500 Received: by smtp.corp.redhat.com (Postfix) id 940D610073B7; Thu, 8 Feb 2018 13:07:35 +0000 (UTC) Received: from inaba.usersys.redhat.com (unknown [10.43.2.98]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 3D2DE10073B8 for ; Thu, 8 Feb 2018 13:07:35 +0000 (UTC) From: Andrea Bolognani To: libvir-list@redhat.com Date: Thu, 8 Feb 2018 14:07:26 +0100 Message-Id: <20180208130726.9084-5-abologna@redhat.com> In-Reply-To: <20180208130726.9084-1-abologna@redhat.com> References: <20180208130726.9084-1-abologna@redhat.com> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-loop: libvir-list@redhat.com Subject: [libvirt] [jenkins-ci PATCH v2 4/4] guests: Fix Python installation X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Thu, 08 Feb 2018 13:09:15 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Clean up the mappings to make sure we install the python2 and python3 packages on FreeBSD instead of python27 and python36, because the former are the ones that contain the respective command - which build jobs will invoke. Make the dependency on the above explicit for the libvirt-python jobs. Signed-off-by: Andrea Bolognani --- guests/vars/mappings.yml | 9 +++++++-- guests/vars/projects/libvirt-python.yml | 2 ++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/guests/vars/mappings.yml b/guests/vars/mappings.yml index 579deb4..e3781b9 100644 --- a/guests/vars/mappings.yml +++ b/guests/vars/mappings.yml @@ -550,9 +550,14 @@ mappings: pkg: polkit rpm: polkit-devel =20 + python2: + default: python + Fedora: python2 + FreeBSD: python2 + python2-devel: deb: python-dev - pkg: python27 + pkg: python2 rpm: python2-devel =20 python2-lxml: @@ -571,7 +576,7 @@ mappings: =20 python3-devel: deb: python3-dev - pkg: python36 + pkg: python3 Fedora: python3-devel =20 python3-gi: diff --git a/guests/vars/projects/libvirt-python.yml b/guests/vars/projects= /libvirt-python.yml index 72dcb4a..774da26 100644 --- a/guests/vars/projects/libvirt-python.yml +++ b/guests/vars/projects/libvirt-python.yml @@ -1,8 +1,10 @@ --- packages: + - python2 - python2-devel - python2-lxml - python2-nose + - python3 - python3-devel - python3-lxml - python3-nose --=20 2.14.3 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list