From nobody Mon Apr 29 19:08:30 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=1587391059; cv=none; d=zohomail.com; s=zohoarc; b=Ua4IglUaNlTXNbFZj5BHZMsweGsIJk29ZT+dTvC2rRhFhpNUX9SdaxCIzBSvikw1dImdeRs+cSiTC4A5KgmGrUUn6S6ZB1p8j+wut/px/KpVopStJcfxLEC1QM/kxVDVjyVmsj7A323o2jTDMcxZwgJVdOQ6/qQXFQQHAlWmJcw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1587391059; 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=peB8gT2uclCa/9g8oC48dfMPp7z2T5A04/YRCn8lHk8=; b=Xwa1rQJgeneqlarbS45lG1o6SKETeqqfF1CCAf0ieo0GfSJpXSe6y4SGE4+hPK8gUyXj4+W/fidrCg1E2OQeNUNe/gI13edI/3Nn6nTTPBn1ATU0NfWskeVXHruHzS/5HgoZaehRfGqktpppZKIDgmQIECLSdY8gXN+mrsL/+9g= 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 1587391059853212.01259754225157; Mon, 20 Apr 2020 06:57:39 -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-360-gdVDzSiROU-oxo2x7oUAQw-1; Mon, 20 Apr 2020 09:57:34 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id EFCA5800D53; Mon, 20 Apr 2020 13:57:27 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 78E2638D; Mon, 20 Apr 2020 13:57:27 +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 3F82993908; Mon, 20 Apr 2020 13:57:26 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 03KDvPM3025818 for ; Mon, 20 Apr 2020 09:57:25 -0400 Received: by smtp.corp.redhat.com (Postfix) id 18A2312972A; Mon, 20 Apr 2020 13:57:25 +0000 (UTC) Received: from localhost.localdomain.com (unknown [10.36.110.47]) by smtp.corp.redhat.com (Postfix) with ESMTP id 13EFE12656B; Mon, 20 Apr 2020 13:57:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1587391058; 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=peB8gT2uclCa/9g8oC48dfMPp7z2T5A04/YRCn8lHk8=; b=YdBSnKkOhJWOznlHfbmW34ZSmgKbqmYWT3Adi37Y/DXLapIu9wJ39lWWl4LzePIdcltJWy QYyiM4STKyNYc3uuhc2vSWTTLWlX8GmxumVh+cx56gt//HvoEeult8tsgSwUfwbjCA1GGQ B5DILJjH7BWTnJkCf8Oksqso+0Llj3o= X-MC-Unique: gdVDzSiROU-oxo2x7oUAQw-1 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Subject: [libvirt-python PATCH v2] setup: require python >= 3.5 to build Date: Mon, 20 Apr 2020 14:57:16 +0100 Message-Id: <20200420135716.466424-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 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.84 on 10.5.11.23 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 Reviewed-by: Philipp Hahn --- setup.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 56b6eea..39a07de 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 < (3, 5): + print("libvirt-python requires Python >=3D 3.5 to build") sys.exit(1) =20 MIN_LIBVIRT =3D "0.9.11" @@ -368,5 +368,9 @@ of recent versions of Linux (and other OSes).''', "License :: OSI Approved :: GNU Lesser General Public License v2= or later (LGPLv2+)", "Programming Language :: Python", "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.5", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", ] ) --=20 2.25.2