From nobody Sun May 5 00:55:49 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) client-ip=205.139.110.120; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1588152144; cv=none; d=zohomail.com; s=zohoarc; b=J8xD8Ot9kNtFSn/9DQCDkf3CJXGH3n3txos36c9fMqk74K6jJHBaCXS9KlcGUnVoK5/By6XgX9SApUlQRe+WP+B6WLiqfChlP1NeTcoXjKnjAQtigUvrjIgihBIY3n6K07QAC6YynZOptwCwpE/IzT9eG5+NaceXQTGt+DnRcP4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1588152144; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=LIYrc0u9mdtSTyAx5XZSVlb8uQ6LwWKNVHGSQm8fRx0=; b=JOmpzGWARtbXLc3ehqnAd+CXnLsBNPSqC1GEs8I32A8XtrqQe0jhRatJB0XORUdORNsASPXsvCwEIcUNZHhkX6W92ZsLoihNBE84nLBbPCOkSkB0Nd6QZjeBorYuBFBC/r5+yiR8bLI64pTO+aia4nAWZuDOOXMQSYHqcQilVFI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by mx.zohomail.com with SMTPS id 1588152144263603.2377513943742; Wed, 29 Apr 2020 02:22:24 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-280-QEi9476mPDygoXhASShBSg-1; Wed, 29 Apr 2020 05:22:20 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 106E7107B7E4; Wed, 29 Apr 2020 09:22:15 +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 CF64F50FE2; Wed, 29 Apr 2020 09:22: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 D32411809542; Wed, 29 Apr 2020 09:22:13 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 03T9LrNe018431 for ; Wed, 29 Apr 2020 05:21:53 -0400 Received: by smtp.corp.redhat.com (Postfix) id 53D365C241; Wed, 29 Apr 2020 09:21:53 +0000 (UTC) Received: from sturgeon.redhat.com (unknown [10.40.192.164]) by smtp.corp.redhat.com (Postfix) with ESMTP id 973805C1C8; Wed, 29 Apr 2020 09:21:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1588152142; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=LIYrc0u9mdtSTyAx5XZSVlb8uQ6LwWKNVHGSQm8fRx0=; b=a5OvINgJZ2bzZ4MhmSsqCKwh9XAN4V53ac2ntExvvnuvLVDQrlw5aFKVypxSreUBpRFmE4 ILhz3F1GCJDlsFRf0vK2CvUqcH8WjpHIBRX61WL3vaCI7vougtR198SpB5WsiWf0fccZqP w7snZf7p+BWmxwrBMxXRM1+6ETV4/X4= X-MC-Unique: QEi9476mPDygoXhASShBSg-1 From: Erik Skultety To: libvir-list@redhat.com Subject: [libvirt-ci PATCH] vars: Add python3-wheel to the base package dependencies Date: Wed, 29 Apr 2020 11:21:49 +0200 Message-Id: <4d1aa710bdfb6480bc35a4e181ae0143438f08c7.1588152076.git.eskultet@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-loop: libvir-list@redhat.com Cc: Erik Skultety 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: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" On platforms where we need to install meson from pip, one will very likely see something similar to this when building a container from the generated Dockerfile: Collecting meson=3D=3D0.49.0 Downloading /meson-0.49.0.tar.gz (1.3MB) 100% |################################| 1.3MB 874kB/s Building wheels for collected packages: meson Running setup.py bdist_wheel for meson ... error error: invalid command 'bdist_wheel' ---------------------------------------- Failed building wheel for meson Running setup.py clean for meson Failed to build meson Pip is missing the 'wheel' package necessary to build a wheel from sources, if it fails to do that, it falls back to the good old: $ setup.py install meson which succeeds and no harm was done. However, seeing an error in the log always raises eyebrows, so let's fix that very simply by installing the 'wheel' package which is available on all supported platforms. Signed-off-by: Erik Skultety Reviewed-by: Andrea Bolognani --- Alternatively, we could use --no-cache-dir with pip install, but I'm not su= re whether it would be enough with new versions of pip. I still feel like installing the 'wheel' package explicitly is a more transparent and safe fix even though we don't benefit from the resulting meson wheel package inside containers at all. guests/vars/mappings.yml | 4 ++++ guests/vars/projects/base.yml | 1 + 2 files changed, 5 insertions(+) diff --git a/guests/vars/mappings.yml b/guests/vars/mappings.yml index 753f0fe..4a19fb4 100644 --- a/guests/vars/mappings.yml +++ b/guests/vars/mappings.yml @@ -909,6 +909,10 @@ mappings: default: python3-setuptools FreeBSD: py37-setuptools =20 + python3-wheel: + default: python3-wheel + FreeBSD: py37-wheel + qemu-img: default: qemu-utils rpm: qemu-img diff --git a/guests/vars/projects/base.yml b/guests/vars/projects/base.yml index 29c10b4..81c4462 100644 --- a/guests/vars/projects/base.yml +++ b/guests/vars/projects/base.yml @@ -28,6 +28,7 @@ packages: - python3 - python3-pip - python3-setuptools + - python3-wheel - rpmbuild - screen - strace --=20 2.25.3