From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 402636DE10B1 for ; Thu, 12 Mar 2020 05:50:51 -0700 (PDT) Authentication-Results: arlo.cworth.org; dkim=permerror (0-bit key) header.d=fifthhorseman.net header.i=@fifthhorseman.net header.b="Q5OecTxu"; dkim=pass (2048-bit key; unprotected) header.d=fifthhorseman.net header.i=@fifthhorseman.net header.b="mDUeyTjS"; dkim-atps=neutral X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -1.418 X-Spam-Level: X-Spam-Status: No, score=-1.418 tagged_above=-999 required=5 tests=[AWL=1.083, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=disabled 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 sZxFsLMlfBxx for ; Thu, 12 Mar 2020 05:50:47 -0700 (PDT) Received: from che.mayfirst.org (che.mayfirst.org [162.247.75.118]) by arlo.cworth.org (Postfix) with ESMTPS id 541046DE10AA for ; Thu, 12 Mar 2020 05:50:47 -0700 (PDT) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/simple; d=fifthhorseman.net; i=@fifthhorseman.net; q=dns/txt; s=2019; t=1584017444; h=from : to : subject : in-reply-to : references : date : message-id : mime-version : content-type : from; bh=XOvyzCqfI7KpTeoq5JGdUaqvfIePO+msJIl+gindIdA=; b=Q5OecTxuGV2pGX9NctnyeagOQaWt9GgtwGIVpIZWUgkVUpHg4EbaZinjXc0FXaVUgsiEh n5HKjlp/dtx6B0kCQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fifthhorseman.net; i=@fifthhorseman.net; q=dns/txt; s=2019rsa; t=1584017444; h=from : to : subject : in-reply-to : references : date : message-id : mime-version : content-type : from; bh=XOvyzCqfI7KpTeoq5JGdUaqvfIePO+msJIl+gindIdA=; b=mDUeyTjSwlKERjnzdlU/XgnM8wTwxBE8yiOdmAOmIxyxclEGkcMDCFbPNGRSNiFoqV/Kj RaAc1dZgI310n4GP0tKuy1upgVvHYfB/GVtgd+r49n8i1H3WIqVWimUX6RZFi8A37UR17EU f5fK5nfae3TJ2HpPACsrVPxf8NVKLaB/uSmx94R91CklW0d9cQLEkMdiKFyg8wLQn4HgJz5 xlqhZzPIyWAmC4r6D1M3cI71Knw+nWWX9qYkfvLCHrQczZJf1VSyv/4JVdw4eBqkwV1mkIY t5ngtLY6ZSsQGlyw4G1wqto+QLIfw+BYjjdkP/y/BBfzuEYeKHx605aIc03g== Received: from fifthhorseman.net (lair.fifthhorseman.net [108.58.6.98]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by che.mayfirst.org (Postfix) with ESMTPSA id 2B714F9A5 for ; Thu, 12 Mar 2020 08:50:44 -0400 (EDT) Received: by fifthhorseman.net (Postfix, from userid 1000) id 37D362034F; Thu, 12 Mar 2020 00:58:24 -0400 (EDT) From: Daniel Kahn Gillmor To: Notmuch Mail Subject: Re: [PATCH] nmbug: explicitly prefer python3 In-Reply-To: <20180209043211.4792-1-dkg@fifthhorseman.net> References: <20180209043211.4792-1-dkg@fifthhorseman.net> Autocrypt: addr=dkg@fifthhorseman.net; prefer-encrypt=mutual; keydata= mDMEXEK/AhYJKwYBBAHaRw8BAQdAr/gSROcn+6m8ijTN0DV9AahoHGafy52RRkhCZVwxhEe0K0Rh bmllbCBLYWhuIEdpbGxtb3IgPGRrZ0BmaWZ0aGhvcnNlbWFuLm5ldD6ImQQTFggAQQIbAQULCQgH AgYVCgkICwIEFgIDAQIeAQIXgAIZARYhBMS8Lds4zOlkhevpwvIGkReQOOXGBQJd5Hw3BQkFpJWB AAoJEPIGkReQOOXGDYEA/j0ERjPxDleKMZ2LDcWc/3o5cLFwAVzBKQHppu0Be5IWAP0aeTnyEqlp RTE7M8zugwkhYeUYfYu0BjecDUMnYz6iDLgzBF3kewUWCSsGAQQB2kcPAQEHQK1IuW0GZmcrs2mx CYMl8IHse0tMF8cP7eBNXevrlx2ZiPUEGBYIACYCGwIWIQTEvC3bOMzpZIXr6cLyBpEXkDjlxgUC XeR7TwUJAiGl/gCBdiAEGRYIAB0WIQQsv6x2UaqQJzY+dXHEDyVUMvKBDwUCXeR7BQAKCRDEDyVU MvKBD7KmAQCHs+7588C4jto6fMje0Nu97zzoppjJM7lrGF2rVnbHvwD+MgmGUbHzPSUrTWnZBQDi /QM595bxNrBA4N1CiXhs2AMJEPIGkReQOOXGpp0BAM7YeBnt/UNvxJAGm4DidSfHU7RDMWe6Tgux HrH21cDkAQC9leNFXJsQ7F2ZniRPHa8CkictcQEKPL8VCWpfe8LbArg4BF3ke5wSCisGAQQBl1UB BQEBB0Cf+EiAXtntQMf51xpqb6uZ5O0eCLAZtkg0SXHjA1JlEwMBCAeIfgQYFggAJhYhBMS8Lds4 zOlkhevpwvIGkReQOOXGBQJd5HucAhsMBQkCIaVkAAoJEPIGkReQOOXGdYcBANYnW7VyL2CncKH1 iO4Zr0IwfdIv6rai1PUHL98pVi3cAP9tMh85CKGDa0Xi/fptQH41meollLW5tLb/bEWMuUNuBQ== Date: Thu, 12 Mar 2020 00:58:23 -0400 Message-ID: <87r1xyp3tc.fsf@fifthhorseman.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" 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: , X-List-Received-Date: Thu, 12 Mar 2020 12:50:51 -0000 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Two years later, I'd like to re-propose this patch that moves nmbug to python3. I have read what PEP 394 says (thanks for the pointer, Trevor!) but in practice (a) i do not see debian pointing /usr/bin/python to python3 any time in the near future, (b) python2 is officially EOL, and (c) i don't have a "python" binary in my $PATH at all any more on the machines where i do most of my development work. Can we please just be done with requiring people who actively develop notmuch to keep python 2 installed, or to point some other element named python maintained in their path ? --dkg On Thu 2018-02-08 23:32:11 -0500, Daniel Kahn Gillmor wrote: > nmbug and notmuch-report are developer tools. It's 2018, and all > developers should have python3 available. > > Signed-off-by: Daniel Kahn Gillmor > --- > devel/nmbug/nmbug | 2 +- > devel/nmbug/notmuch-report | 5 ++--- > 2 files changed, 3 insertions(+), 4 deletions(-) > > diff --git a/devel/nmbug/nmbug b/devel/nmbug/nmbug > index c35dd75d..043c1863 100755 > --- a/devel/nmbug/nmbug > +++ b/devel/nmbug/nmbug > @@ -1,4 +1,4 @@ > -#!/usr/bin/env python > +#!/usr/bin/env python3 > # > # Copyright (c) 2011-2014 David Bremner > # W. Trevor King > diff --git a/devel/nmbug/notmuch-report b/devel/nmbug/notmuch-report > index a9c2a6ec..a4c13939 100755 > --- a/devel/nmbug/notmuch-report > +++ b/devel/nmbug/notmuch-report > @@ -1,10 +1,9 @@ > -#!/usr/bin/python > +#!/usr/bin/env python3 > # > # Copyright (c) 2011-2012 David Bremner > # > # dependencies > -# - python 2.6 for json > -# - argparse; either python 2.7, or install separately > +# - python3 or python2.7 > # > # This program is free software: you can redistribute it and/or modify > # it under the terms of the GNU General Public License as published by > --=20 > 2.15.1 > > _______________________________________________ > notmuch mailing list > notmuch@notmuchmail.org > https://notmuchmail.org/mailman/listinfo/notmuch --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQQsv6x2UaqQJzY+dXHEDyVUMvKBDwUCXmnBbwAKCRDEDyVUMvKB Dx5pAP9YasBXNqALQBYBViwXQy9WdTXQbdJbYm0M8Dhl30zm7AEA5wfvViZUzz2A mKmcMIJp8qgGxJiotBQiF6HaxMkz+gg= =pJYH -----END PGP SIGNATURE----- --=-=-=--