From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id ueWoMfq/2l7KHwAA0tVLHw (envelope-from ) for ; Fri, 05 Jun 2020 21:58:18 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id GPzrLPq/2l7pMwAAB5/wlQ (envelope-from ) for ; Fri, 05 Jun 2020 21:58:18 +0000 Received: from arlo.cworth.org (arlo.cworth.org [50.126.95.6]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 63DAB940308 for ; Fri, 5 Jun 2020 21:58:17 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 879896DE0FB1; Fri, 5 Jun 2020 14:58:11 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dJo8cMVWwUFP; Fri, 5 Jun 2020 14:58:11 -0700 (PDT) Received: from arlo.cworth.org (localhost [IPv6:::1]) by arlo.cworth.org (Postfix) with ESMTP id ABDE56DE0EA6; Fri, 5 Jun 2020 14:58:09 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 9E32D6DE0EA6 for ; Fri, 5 Jun 2020 14:58:08 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id d9Js0iCYGz_p for ; Fri, 5 Jun 2020 14:58:06 -0700 (PDT) Received: from lahtoruutu.iki.fi (lahtoruutu.iki.fi [185.185.170.37]) by arlo.cworth.org (Postfix) with ESMTPS id 941FF6DE0C64 for ; Fri, 5 Jun 2020 14:58:04 -0700 (PDT) Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: too) by lahtoruutu.iki.fi (Postfix) with ESMTPSA id B253D1B00095; Sat, 6 Jun 2020 00:57:59 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1591394279; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc; bh=TZZARpdLLhcPIocpKkkGpIjD6u2oFDvs3Bc7I/V1hnA=; b=a4ZDxX6/3OOjvk30BWPFXul7e4cquHytxshb9EbFNARI0RqH4SSYdd/FKE57BDrHWGa3qm K2UKQeCRQNv/NYbPgiM6J6EMcqyiq7i479wAikbAnpVZ74a+p9iD0HH7p66k+XL3HcFjvQ IW5irNFy4RHS4LEhjFpwwHjBRtTG06wuH2/TALQe5bKMMTo0flNseYZ0uwFv1K8635Xh42 9HAIkGmyDUKp6jsfnGh/D00ELjCRvbFQkMRsQKpaFIVykbqX8R9ZNyXIFeznBKgh1teIRz 8qMHMpqVn/I/I+QIt63mnKnpP8xcMQMp00dtyqLfxz2Op1e6sCV24Nx4bPcSPQ== From: Tomi Ollila To: notmuch@notmuchmail.org Subject: [PATCH] configure: require python 3.5 for CFFI-based notmuch bindings Date: Sat, 6 Jun 2020 00:57:55 +0300 Message-Id: <20200605215755.25305-1-tomi.ollila@iki.fi> X-Mailer: git-send-email 2.13.3 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1591394279; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc; bh=TZZARpdLLhcPIocpKkkGpIjD6u2oFDvs3Bc7I/V1hnA=; b=aaOqimNtyMre1G5JZpISHzQqbs2G1C3Md88mneRUNN98+LV8ve43cPK0axUY1S9O/LtBfu 80/NrnLMXQxSo52KlDC/E9FXYq82wLMX8VOzUJsHVOGdYaeUXCQVyRqbscja848pYbv3CW vInJ4ft/GkHseE3KICmWhqC7L3vOQ+8m0jwgNYCIFuiZ/Tmt/Msv5xx3bZ/DUhfaqLJ9cd 24wPzEbjfkpGAhv1bkSHIp3nhVikfu2hxoVdALObYysK3pTHEn/VHncfc/lyEVUSQyF/X/ Uu2tU8NouvnPBCilVb9+Qb6SXfIcitdNo0iPRy4AqeM22qE8xmUmZGjXJLO+3g== ARC-Seal: i=1; s=lahtoruutu; d=iki.fi; t=1591394279; a=rsa-sha256; cv=none; b=aJ8LzDUJ3Mll0fNH+aKbvo6mKxTPOpwt1p97y2qeInSHkB44uq33almRMceAgrz38JkmAz HRXaW8aeTELMKyf+PaN/d4+Zn9KfuAE0yRWhlhVDFZDk2IoAzElvbjcbikcN9TdZycVWc7 Q87gYvExHPt55aOyDBv+YL91GJUcHTnuKGWjqkCkJ9yJd33w9Lj65taYNq/JKo/p/92rWl dFJjz9e4XuCIWcjsYiW7fNUQGKCX47D37vpm0h6PDOoCC3NSAIzKfb3nFGKH5zF9llZw0E +Cy6zY1v9RyWHweTKCbLW71wmMrEKV4qwvjx30govWcotObRSwHcOs2yhPYFfQ== ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=too smtp.mailfrom=tomi.ollila@iki.fi X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: tomi.ollila@iki.fi MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: notmuch-bounces@notmuchmail.org Sender: "notmuch" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (body hash did not verify) header.d=iki.fi header.s=lahtoruutu header.b=a4ZDxX6/; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 50.126.95.6 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Spam-Score: 2.99 X-TUID: msSRQSTubVet Also tell users what the consequences of a "No" answer is when python version is less than 3.5, cffi or setuptools is missing, or no pytest >= 3.0 is available. --- configure | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/configure b/configure index e4c738e5..f4b3c61a 100755 --- a/configure +++ b/configure @@ -713,14 +713,14 @@ fi have_python3_dev=0 if [ $have_python -eq 1 ]; then - printf "Checking for python3 dev..." + printf "Checking for python3 dev (>= 3.5)..." if "$python" -c 'import os, sys, sysconfig; -assert sys.version_info >= (3,0) +assert sys.version_info >= (3,5) assert os.path.isfile(sysconfig.get_config_h_filename())' >/dev/null 2>&1; then printf "Yes.\n" have_python3_dev=1 else - printf "No.\n" + printf "No (will not install CFFI-based python bindings).\n" fi fi @@ -732,7 +732,7 @@ if [ $have_python3_dev -eq 1 ]; then printf "Yes.\n" have_python3_cffi=1 else - printf "No.\n" + printf "No (will not install CFFI-based python bindings).\n" fi printf "Checking for python3 pytest (>= 3.0)... " @@ -742,7 +742,7 @@ if [ $have_python3_dev -eq 1 ]; then printf "Yes.\n" have_python3_pytest=1 else - printf "No.\n" + printf "No (will not test CFFI-based python bindings).\n" fi rm -f $conf fi -- 2.26.2