From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id sEajFRYfJ2AmFQAA0tVLHw (envelope-from ) for ; Sat, 13 Feb 2021 00:36:38 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id d4JbERYfJ2CbJQAAB5/wlQ (envelope-from ) for ; Sat, 13 Feb 2021 00:36:38 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [144.217.243.247]) (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 9E95F17E0D for ; Sat, 13 Feb 2021 01:36:37 +0100 (CET) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 71A9B1FF39; Fri, 12 Feb 2021 19:36:29 -0500 (EST) X-Greylist: delayed 596 seconds by postgrey-1.36 at nmbug; Fri, 12 Feb 2021 19:36:26 EST Received: from che.mayfirst.org (unknown [162.247.75.117]) by mail.notmuchmail.org (Postfix) with ESMTPS id F289C1FF0D for ; Fri, 12 Feb 2021 19:36:26 -0500 (EST) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/simple; d=fifthhorseman.net; i=@fifthhorseman.net; q=dns/txt; s=2019; t=1613175989; h=from : to : subject : date : message-id : mime-version : content-transfer-encoding : from; bh=i48mmXAsy9xDI10xzRGA1jwwnB/TAefpMfuvtWyVX3k=; b=5HAxLL+hyNo2UyouHnnwYj6Bg+F7OSnML64nYlfV7cI7mm+31vXY9BfRMCRrA2OQUAmAH UF+kUooF98wBJziAg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fifthhorseman.net; i=@fifthhorseman.net; q=dns/txt; s=2019rsa; t=1613175989; h=from : to : subject : date : message-id : mime-version : content-transfer-encoding : from; bh=i48mmXAsy9xDI10xzRGA1jwwnB/TAefpMfuvtWyVX3k=; b=MV7QgJ2OhsRzwElva9PL2HVsYQRSAAc6PHLLxPAPY6lj8rMiuS6pCjBT6mZPHFmRTcMEK lFI0OGdCaeToH6T0r2rGrDeOEdu0POlDUclvBwUQPRUkr1P9cSlPBH93NSjbBjAjTnmehRv l5geyZEF5EppSANVJ7bzsdmdf9RFTYOSnr2sSAcG74gSMpWZ1NNbe6tfJqPCYLIHKCAlfyt jLjIJvlXUNXxU7MjA2K6TD/4gOspxpPCPdUEoNHZh2n85dcMIALoh/MICFrKYcjrosQddJm wemapDmCNqCneEVSe7QQr2gpi0AfhUoPzaz6V5rVk+kWYNu5srC3NTPiCEkg== 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 8F020F9A6 for ; Fri, 12 Feb 2021 19:26:29 -0500 (EST) Received: by fifthhorseman.net (Postfix, from userid 1000) id D3B69204FD; Fri, 12 Feb 2021 19:26:22 -0500 (EST) From: Daniel Kahn Gillmor To: Notmuch Mail Subject: [PATCH] python: convert shebangs to python3 Date: Fri, 12 Feb 2021 19:26:22 -0500 Message-Id: <20210213002622.377356-1-dkg@fifthhorseman.net> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Message-ID-Hash: PCNMHUKPH4PAVUIWZ3NAK7BQA7J4R2LC X-Message-ID-Hash: PCNMHUKPH4PAVUIWZ3NAK7BQA7J4R2LC X-MailFrom: dkg@fifthhorseman.net 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: 1.54 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=fifthhorseman.net header.s=2019 header.b=5HAxLL+h; dkim=fail ("body hash did not verify") header.d=fifthhorseman.net header.s=2019rsa header.b=MV7QgJ2O; dmarc=fail reason="SPF not aligned (relaxed)" header.from=fifthhorseman.net (policy=none); spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 9E95F17E0D X-Spam-Score: 1.54 X-Migadu-Scanner: scn1.migadu.com X-TUID: 4u/PWOBAKjYN 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). 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