From patchwork Wed Sep 20 12:59:24 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 113116 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp735906qgf; Wed, 20 Sep 2017 05:59:34 -0700 (PDT) X-Received: by 10.99.154.82 with SMTP id e18mr2100583pgo.211.1505912374319; Wed, 20 Sep 2017 05:59:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505912374; cv=none; d=google.com; s=arc-20160816; b=U/cuC8Xj+47sOFWoPVe6/kCeLadJEDpKJCHCiGCXP6Kys7nfmQEgcFTXmQe9KgEsGG xqUt+71CvD9NeDtGe82QRMFv0CJ8JJoOVktGHAT0IV49tHsh/D6AmCzZIWxXA4YPDaIo IK6ATH1NKHVx5CraZ3jZtEa+HECgXYW6ZYSm/7O7cihLuIUsJ3hii2uKjtCNzOGvFmGP oY28aj3OfxT0xUX8TWRkvwBLWWZjvm+qYU/F68Lj4h17ec8VTDP/bYruSJFJQnUnluiq W6cbRti8felzlcx2EnqxbWEvvNrtZ+7+gO82xBRp6nCiedyQjXclG4MzHf7TsM1vxE0c /aXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=FIOoO3HBQhCln/LBIoxJ3o+ZFhc7WZRE+E8+LrCGnTQ=; b=Zp9ZmWVAS8WnsqSICn30hqo0CdwICA4m3WmZopkSO0LnE4gDu89VVHtMw4U8sUbgik XF6r5v7f0GS+tbOdPEYZ1DaBmw8f7MtprvYznrwItzkDlAN61QsjWMjLJaGzN2oyAT0G EdxZpCaUZFheWwCzu77QkgxwXfgx8SO1gVhU4HI0H8/CYu2KO6ArxphgO8X80aGriFTN bihvn3mBNRGrYL9GGqQdug0rxzM/xCPPVHEPByG77fQWfZDUYA2G4buWnpjGyrUhfNHH lIW0QHulWGVp7PilBeuRSm8CHLTaCxt+fixnC+XtgCpOmf6E62G8TOQzcOqqBRAVoUwo ymbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=l4jh+5uC; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id f3si1299268pld.531.2017.09.20.05.59.33; Wed, 20 Sep 2017 05:59:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=l4jh+5uC; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id E530A7804E; Wed, 20 Sep 2017 12:59:30 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wr0-f182.google.com (mail-wr0-f182.google.com [209.85.128.182]) by mail.openembedded.org (Postfix) with ESMTP id 4272277F79 for ; Wed, 20 Sep 2017 12:59:28 +0000 (UTC) Received: by mail-wr0-f182.google.com with SMTP id l39so2090640wrl.12 for ; Wed, 20 Sep 2017 05:59:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id; bh=xornbfa6eMzc8rry3npLPTNA7DpiO8IbK/7NH8Ury8k=; b=l4jh+5uCqVCQcfGQ3xTy563VRpfv28o1YrvsBlWKqcULBbKu0j5MMl/QujzsandaeT 98rXwzd//E1KyHoZdT3YAojHITRByo1b8g5b82ZxtExxnJIAiCzECXOSHdIxT5pPrbsZ PeGPqkmNdbwzCO2WpX7zsZIPd3fTJnQg98/bGvvL7LLRhEQGiMs2xn5ykdrTp/BaE0mF Zkbwp8TFVyqr+GfGg+iP5ViwU1qnOUTsR344Oxg97frK81ZEc8xxDz1IaOXDwMQ9957K TeCD4swlZGuv0I6CjV4JP/58HLxsu3P9/h155TkV5t60FY8wF7h8ho5M3dYtMC0oiWL2 zVXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=xornbfa6eMzc8rry3npLPTNA7DpiO8IbK/7NH8Ury8k=; b=LlR/QO9DSRaRXiyeatywIqyEhCSthJIKd8CW/3koFtnD5WT0dlEy4G991+NxbypoBO o+ckc6O327mAtLnowWZYpqak4aZrsngD9BwnlkS9oedwi26rUItAwcL9jAJo+R+EAC4B 9guNty/BUSVVJlcJDHuWCSuhufREMVfx4PaASj3WsWPDv39RA7pk8xqFn/M1aQKMkQLJ Le2QapPb36W52yXLEewg1d1Hsvj5jlD5q3sbW+E/CGRFDlBbdA3X9sjUIrSgXT1REUhw pdKPE5SyoDqTt+3EcnR6Jl3nPFH7546CpLgYfYYd8hPhXjD9qS/lpKSHOAv1W/h95ozE jmZw== X-Gm-Message-State: AHPjjUjWBEZHpIumLjaom2b2V4tzjdHmELsdqMvWfy7dSS6lPP4sbKsS PJv/7Yoftufib5Si3LsWAF7SHLzR X-Google-Smtp-Source: AOwi7QCz3aB/ghT9FbEP9jpZG+S7j+P84YvpGk7DkF2MmyrwXjj/loTz7tpyPqhMoIKJH8mLdLhjjA== X-Received: by 10.223.184.251 with SMTP id c56mr2123222wrg.145.1505912369620; Wed, 20 Sep 2017 05:59:29 -0700 (PDT) Received: from flashheart.burtonini.com (home.burtonini.com. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id p20sm1695658wma.28.2017.09.20.05.59.28 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Sep 2017 05:59:28 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Wed, 20 Sep 2017 13:59:24 +0100 Message-Id: <20170920125925.28089-1-ross.burton@intel.com> X-Mailer: git-send-email 2.11.0 Subject: [OE-core] [PATCH 1/2] sanity: correct Python version sanity check X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org We now require Python 3.4, not 2.7. Signed-off-by: Ross Burton --- meta/classes/sanity.bbclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.11.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index 5699287a4a2..91b92ec28a8 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass @@ -702,10 +702,10 @@ def check_sanity_everybuild(status, d): if 0 == os.getuid(): raise_sanity_error("Do not use Bitbake as root.", d) - # Check the Python version, we now have a minimum of Python 2.7.3 + # Check the Python version, we now have a minimum of Python 3.4 import sys - if sys.hexversion < 0x020703F0: - status.addresult('The system requires at least Python 2.7.3 to run. Please update your Python interpreter.\n') + if sys.hexversion < 0x03040000: + status.addresult('The system requires at least Python 3.4 to run. Please update your Python interpreter.\n') # Check the bitbake version meets minimum requirements from distutils.version import LooseVersion