From nobody Sun May 5 17:50:43 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) client-ip=207.211.31.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 207.211.31.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=1587386851; cv=none; d=zohomail.com; s=zohoarc; b=mKboYk9ZcV0JJyd4iTw0zyKcPxZrYfSx9IAvILbnp5QA1RNMW9HGRjlD+eMU1RbkKpoe5IXijrA+TnUHnR7XE1Sy1fWjozyyV3NBVOv1ZdXjfFacb3gqCd0fBUDq3fVsDZ6AnPak7KRC5hqHi1kjCEJVAFODdYRil5d7lgMAnKQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1587386851; h=Content-Type:Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=TrunmuHrWL5RExiq9EAZlY9xepkUv99OLR0IItz4OfY=; b=hTywqrKHSHOFyltkpMnETHg1uUgSGG32uk/4Ekg4fE01kYTVVS9IKZdLS8BHuaf4bPtNMa9f3j3so1Ppsw4A6GGslXLwWkfoPfhujzeQqStTpficRe8W4WPmNtX8QG3qNvMhbZc6DUc8vp6enSrzxpTMrwyyY3XAaDZ5SYE0XsM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.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 [207.211.31.120]) by mx.zohomail.com with SMTPS id 1587386851918621.7711986268672; Mon, 20 Apr 2020 05:47:31 -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-459-rUyo_4oPNsi74dxCUjVPoQ-1; Mon, 20 Apr 2020 08:47:28 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 291D08017F3; Mon, 20 Apr 2020 12:47:22 +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 B24E048; Mon, 20 Apr 2020 12:47:21 +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 21D7318363CE; Mon, 20 Apr 2020 12:47:19 +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 03KClIge019868 for ; Mon, 20 Apr 2020 08:47:18 -0400 Received: by smtp.corp.redhat.com (Postfix) id 467135C1C5; Mon, 20 Apr 2020 12:47:18 +0000 (UTC) Received: from localhost.localdomain.com (unknown [10.36.110.47]) by smtp.corp.redhat.com (Postfix) with ESMTP id 300095C1C3; Mon, 20 Apr 2020 12:47:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1587386850; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=TrunmuHrWL5RExiq9EAZlY9xepkUv99OLR0IItz4OfY=; b=FdplUvcKH7HtkPkvy0oZjPndP4Kqxl+I7Yk4OqfO3F/XiLalptJlMTnYd9idJTlXsUsn7E koNUVy41SqJ6XLXVsMekX33O0Hnvu5/6RPgElglbYE60v4Kg8brq4G+egVA978Qi1/oOEL PHIS7DztETXlwRxNJgifeSUaI6X/1dY= X-MC-Unique: rUyo_4oPNsi74dxCUjVPoQ-1 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Subject: [libvirt-python PATCH] setup: require python >= 3.5 to build Date: Mon, 20 Apr 2020 13:47:10 +0100 Message-Id: <20200420124710.459410-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-loop: libvir-list@redhat.com 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.13 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" Pytjon 3.5 is the oldest Python version available across our supported build platforms. Signed-off-by: Daniel P. Berrang=C3=A9 --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 56b6eea..b3e418e 100755 --- a/setup.py +++ b/setup.py @@ -17,8 +17,8 @@ import re import shutil import time =20 -if sys.version_info[0] !=3D 3: - print("libvirt-python requires Python 3.x to build") +if sys.version_info[0] !=3D 3 or sys.version_info[1] < 5: + print("libvirt-python requires Python 3 >=3D 3.5 to build") sys.exit(1) =20 MIN_LIBVIRT =3D "0.9.11" --=20 2.25.2