From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id geVRHiWOJ2CFbgAA0tVLHw (envelope-from ) for ; Sat, 13 Feb 2021 08:30:29 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id AKqbGSWOJ2B1PQAAbx9fmQ (envelope-from ) for ; Sat, 13 Feb 2021 08:30:29 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [IPv6:2607:5300:201:3100::1657]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BC127202AB for ; Sat, 13 Feb 2021 09:30:26 +0100 (CET) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id A9F8A1FF39; Sat, 13 Feb 2021 03:30:16 -0500 (EST) Received: from lahtoruutu.iki.fi (lahtoruutu.iki.fi [185.185.170.37]) by mail.notmuchmail.org (Postfix) with ESMTPS id 1B0221FE96 for ; Sat, 13 Feb 2021 03:30:14 -0500 (EST) Received: from guru.guru-group.fi (unknown [IPv6:2a02:2380:1:9:5054:ff:feb7:a4bc]) (using TLSv1.2 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: too) by lahtoruutu.iki.fi (Postfix) with ESMTPSA id 06E881B0011F; Sat, 13 Feb 2021 10:30:10 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1613205010; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=XNt3OtZxOzCXdj1582DrtF8rHxh2+uqqaDfeopU3gc4=; b=WAA8sStnIv5Xl+LNRpBGDmgIhWzmo6Gg71L93qjiCJO6GtRvMpGaRrTKNhOZhmfswlS0Jh VNjVcwpNyAyYi6jBN6qwfIVg8tRig0gF5m58OcpJs7b2Cal/1iRE4wFqOv5eyn01xzDwSw ZmYQRaKZEXD0rz2luyrWtEqDf2rCXz0WCSvZWaQzaME1/fKSnjNKT+67CMPMM/5mlHIOM/ OeR79YqtvsFd6YGSPlkDFO6kmeH194Tpm2ZF6ahVK/iAhkgkK86Byb8U+hUesywVSHtYWX WZlw5wMCjrt4n/Sl8FI7hchpwjKYEc2Ons2uvdMXjyqCZYQbyhQiEMY2owxrnQ== From: Tomi Ollila To: Daniel Kahn Gillmor , Notmuch Mail Subject: Re: [PATCH] python: convert shebangs to python3 In-Reply-To: <20210213002622.377356-1-dkg@fifthhorseman.net> References: <20210213002622.377356-1-dkg@fifthhorseman.net> User-Agent: Notmuch/0.31.3+85~g92bd77f (https://notmuchmail.org) Emacs/27.1 X-Face: HhBM'cA~ MIME-Version: 1.0 ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=too smtp.mailfrom=tomi.ollila@iki.fi ARC-Seal: i=1; s=lahtoruutu; d=iki.fi; t=1613205010; a=rsa-sha256; cv=none; b=MjWqi35MG8HzJ8kqHT+jJbEbjy+CALh52YJD4TVLulk8EqMsrLK7F4+IJ2UdeF1y+H7FN9 20qTNphtuPcmrsPQ8/X/RmDU/8AHjxELajG7Pj4OuQFlD9gR6/0gXsG9rUpSdin4SXHbbF Synu/sHUNthac7aPkBtZwpoEvdi3dMqyPDN3oytWkgag+DdlL8YQTau802sgmgSXDixPJx mfGUoyZuidIMGC2PNAQvM024jOuANMsaDP8WDw7ECIogqy+gwSsh7xYIZDDYnfijaDt3RC XXfA2WGzQqqphomJInVSdsOoJZb0FPAJZNfwpitJ6eWkG+JoHjSxU+y/DxX8oQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1613205010; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=XNt3OtZxOzCXdj1582DrtF8rHxh2+uqqaDfeopU3gc4=; b=IA5PLVhUwExn2EWhZ4UreF1ElTsvf7rV5rqt+aw5anbIc8kkxWKHvn+T8SNaFLWNDelTfE pzdv0gsLmWo4Qn6MiH6ygHVHJrsuImdvFDW33YLIJuQTZ1+WleD5P6TeCEhvcCCsuJuuJU k9p6qRBuKb43TDqdFmMqhQW7aRcmJqYpcYk6SAds6IfrE63+WaNRtjBKLFaHURTdBjjCz8 jfXo+8SC9MAC3o3S7wTt+aPBTaIszQbUSFAuHZAoHw2D7yYUkLlrqkBpNNBTtsjM1Yy1bE 0Tg7DpOJou8y9eK1SCiewfu00Rc5SjR7h0Yz4/2Il/qABxXR63R9dA9LXP8ToA== Message-ID-Hash: 2WXYKBZJKAP2FICWQINOEKBJ5FIKB5U4 X-Message-ID-Hash: 2WXYKBZJKAP2FICWQINOEKBJ5FIKB5U4 X-MailFrom: tomi.ollila@iki.fi X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.2.1 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 2.68 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=iki.fi header.s=lahtoruutu header.b=WAA8sStn; arc=reject ("signature check failed: fail, {[1] = sig:iki.fi:reject}"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: BC127202AB X-Spam-Score: 2.68 X-Migadu-Scanner: scn1.migadu.com X-TUID: oL3UZQeXwcHc On Fri, Feb 12 2021, Daniel Kahn Gillmor wrote: > This is the last bit of "python" left in the notmuch codebase. > > https://www.python.org/dev/peps/pep-0394/#recommendation encourages > "third-party distributors" to use more-specific shebang lines. I'm > not certain that the notmuch project itself is a "third-party > contributor" but I think this is a safe way to encourage people to use > python3 when they're developing notmuch. > > We already have python3 explicitly elsewhere in the codebase for > developers (in nmbug). LGTM Tomi > > Signed-off-by: Daniel Kahn Gillmor > --- > bindings/python/setup.py | 2 +- > test/json_check_nodes.py | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/bindings/python/setup.py b/bindings/python/setup.py > index d986f0c6..6308b9f9 100644 > --- a/bindings/python/setup.py > +++ b/bindings/python/setup.py > @@ -1,4 +1,4 @@ > -#!/usr/bin/env python > +#!/usr/bin/env python3 > > """ > This file is part of notmuch. > diff --git a/test/json_check_nodes.py b/test/json_check_nodes.py > index 17403c57..fd8f1607 100755 > --- a/test/json_check_nodes.py > +++ b/test/json_check_nodes.py > @@ -1,4 +1,4 @@ > -#!/usr/bin/env python > +#!/usr/bin/env python3 > import re > import sys > import json > -- > 2.30.0 > _______________________________________________ > notmuch mailing list -- notmuch@notmuchmail.org > To unsubscribe send an email to notmuch-leave@notmuchmail.org