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 1n7Gkb-0004SM-97 for pgsql-hackers@arkaria.postgresql.org; Tue, 11 Jan 2022 12:59:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1n7GkZ-0001xY-RM for pgsql-hackers@arkaria.postgresql.org; Tue, 11 Jan 2022 12:59:43 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n7GkY-0001xN-Dz for pgsql-hackers@lists.postgresql.org; Tue, 11 Jan 2022 12:59:43 +0000 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n7GkU-00079o-62 for pgsql-hackers@postgresql.org; Tue, 11 Jan 2022 12:59:41 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 099723200973; Tue, 11 Jan 2022 07:59:35 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Tue, 11 Jan 2022 07:59:36 -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=GFLrbppNxYRVSB3A1wcKXx1YzzOMEb7iJIwcGksP6 wM=; b=PvvZXorOgj9F+UpTKaW3CD7oVerzUVh/vROPALZmg2zhDLoNN68BxFBJl NSkd0uAsPeSI/x2ybwyYOW2HD9yefPzjEMjL7v+v6+oKCrV25gpqFmn+T4Pp8pVu pcpXYPip23Do7grCjcWqXH+HS5YUt4BaHhwgSLwCFvBXHNgqOumCvXCqyR/TgoHB NUmicNYQ/zbJFlpd8l67mhd0gg5bYXU21jiNyrG5DQNsK2/tkAVF+wAkQEWOMANq HV9UQ5nChphJBVSpf6KogO447C22hScu+GwSyzSTN7bm8PKpBlmG6PLzOonTSeRf BThFjX/nBv5Fp8ujQe0dt9ZGU2SYw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrudehfedggeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffhvfhfjggtgfesthejredttdefjeenucfhrhhomheprfgvthgv rhcugfhishgvnhhtrhgruhhtuceophgvthgvrhdrvghishgvnhhtrhgruhhtsegvnhhtvg hrphhrihhsvggusgdrtghomheqnecuggftrfgrthhtvghrnhepfedtudehkeetjeevtdeg ieetjeejgeeljedvvdeigeegkeekuefgueelheeileegnecuffhomhgrihhnpehpohhsth hgrhgvshhqlhdrohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgr ihhlfhhrohhmpehpvghtvghrrdgvihhsvghnthhrrghuthesvghnthgvrhhprhhishgvug gsrdgtohhm X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 11 Jan 2022 07:59:34 -0500 (EST) Message-ID: <21ad7747-d4de-e7b6-7864-be07929fb067@enterprisedb.com> Date: Tue, 11 Jan 2022 13:59:32 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.4.1 Subject: Re: Time to drop plpython2? Content-Language: en-US From: Peter Eisentraut 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> In-Reply-To: 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:52, Peter Eisentraut wrote: > 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. This discussion stalled. I think we should do *something* for PostgreSQL 15. I suspect at this point, the Meson move isn't going to happen for PostgreSQL 15. Even if the code were ready, which it is not, then this kind of thing would surely be something more sensible to put into PG16 early rather than PG15 late. So I'm setting aside any concerns about which Python 3.x is the appropriate minimum level. There is the discussion [0], which involves raising the minimum Python version from 2.6 to 2.7, which would affect some build farm members. But if we're going to drop 2.x anyway for PG15, say, then we don't need to spend time organizing a 2.6 to 2.7 transition. (Although backpatching might be required.) Also, I was recently doing some bug fixing work in PL/Python, and just getting a Python 2 installation is not straightforward these days on the sort of OS that might be on a development machine. So there is also that driver for dropping Python 2. I think what I wrote in the message I'm responding to is the best way forward, although maybe with less than 60 days now. Thoughts? [0]: https://www.postgresql.org/message-id/flat/c74add3c-09c4-a9dd-1a03-a846e5b2fc52%40enterprisedb.com