Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mmh5k-0006Ep-2M for pgsql-hackers@arkaria.postgresql.org; Mon, 15 Nov 2021 18:52:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mmh5i-0004av-5s for pgsql-hackers@arkaria.postgresql.org; Mon, 15 Nov 2021 18:52:30 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mmh5h-0004a5-Ry for pgsql-hackers@lists.postgresql.org; Mon, 15 Nov 2021 18:52:29 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mmh5d-0007lE-5P for pgsql-hackers@postgresql.org; Mon, 15 Nov 2021 18:52:29 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 229FE5C025B; Mon, 15 Nov 2021 13:52:23 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 15 Nov 2021 13:52:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=bM030EVERiodDuZ+8nzkpDyMpSWDNqI22aVHLLcV7 OQ=; b=JamopBEeGmWIto8egL8APotlMEv2tBqCfhLE3gLm/rwN/jIccTcsU1hdG xWDcSytorE8RIoAf/7jsK/YEJcQi9qNslFU8LwqsKiuAtxhZanludeS7vtXwb3Eg G9UFiNikXX5MJoY3ZkmY7lp3E3RH0R3vV0Wn9EF4UQ5YILAUn3IINpRKyqNaiBwo /aK/lKpLamfffpfYlaSXlPRoV+/3zN+B0duL8I2sc5xkrlQf8SFjY5u2RdfPlYCe wczaURo1tstLOhROWlcuBAJVGTK9t5lKy9Y5ND8tHO+VnipzrMcWoyMsdrAnxAkn 5y6dFbm/tfkPOa6WhQDs3Np18TlmQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrfedtgdeludcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefkffggfgfuvfhfhfgjtgfgsehtjeertddtfeejnecuhfhrohhmpefrvghtvghr ucfgihhsvghnthhrrghuthcuoehpvghtvghrrdgvihhsvghnthhrrghuthesvghnthgvrh hprhhishgvuggsrdgtohhmqeenucggtffrrghtthgvrhhnpedvhfeiteejgfdvtdeguddt jeelheehleegleetheeggfegleduteehleelgfeghfenucffohhmrghinheplhhoghdrih hmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepphgv thgvrhdrvghishgvnhhtrhgruhhtsegvnhhtvghrphhrihhsvggusgdrtghomh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 15 Nov 2021 13:52:21 -0500 (EST) Message-ID: Date: Mon, 15 Nov 2021 19:52:19 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 Subject: Re: Time to drop plpython2? Content-Language: en-US To: Tom Lane , Andres Freund Cc: pgsql-hackers@postgresql.org References: <20211031184548.g4sxfe47n2kyi55r@alap3.anarazel.de> <08a65981-7fec-1b9b-4061-6e3086c05914@enterprisedb.com> <3fc1211d-960b-4b2f-3e96-a6099db847fc@enterprisedb.com> <20211104195443.dystyijvufveikcp@alap3.anarazel.de> <85eb62cd-76f3-d01f-79ef-144173c16edc@enterprisedb.com> <2057149.1636943071@sss.pgh.pa.us> <20211115170632.buql3valv5mlnbni@alap3.anarazel.de> <2138217.1636996791@sss.pgh.pa.us> <20211115181246.gtnaeim6fo3vjb7c@alap3.anarazel.de> <2142324.1637000302@sss.pgh.pa.us> From: Peter Eisentraut In-Reply-To: <2142324.1637000302@sss.pgh.pa.us> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 15.11.21 19:18, Tom Lane wrote: > Andres Freund writes: >> On 2021-11-15 12:19:51 -0500, Tom Lane wrote: >>> I was wondering about simply probing to see if python3 exists (and if >>> so, what version it is exactly), as an additional configure test that >>> doesn't hook into anything. That would give us some information without >>> suddenly changing what is being tested. >> But this is probably a good compromise. Were you thinking of doing a proper >> autoconf test or just putting something like python3 --version || true in >> configure? > Hm, I had in mind an actual configure test; but since it's just a > temporary exploratory measure, shortcuts are fine. However, I'm > not sure that what you suggest would result in capturing anything > in config.log. I'm not sure this is really going to end up moving things forward. I think we should just write to the build farm owners, we plan to drop python2 support in, say, 60 days, please update your setup to use python3 or disable python support. If we add this test first, then all we're going to learn is probably that 60% of those who are currently using python2 don't have python3 installed, and then we're still going to have to send that above email.