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 1nAE9V-0006po-4Y for pgsql-hackers@arkaria.postgresql.org; Wed, 19 Jan 2022 16:49:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nAE9T-0000U4-D8 for pgsql-hackers@arkaria.postgresql.org; Wed, 19 Jan 2022 16:49:39 +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 1nAE9T-0000Tv-3T for pgsql-hackers@lists.postgresql.org; Wed, 19 Jan 2022 16:49:39 +0000 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nAE9L-0006oS-UK for pgsql-hackers@lists.postgresql.org; Wed, 19 Jan 2022 16:49:37 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 68F7D32030E8; Wed, 19 Jan 2022 11:49:30 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Wed, 19 Jan 2022 11:49:30 -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=E/vLvmd8ruABhQV2C1lVquv8eu8kgpdUPZtTVAqMu HQ=; b=kaCe1/0w7Js9Ku8tAQf1W5sjRZr6XLHramiAQ+ly6Crn6SxwTD493GwGb z+6Sy3Ie3tOquyrH6D2cSqkWWg+H28n8WUyj/mBqr3Rv91fmpIhK8gwqaW5fDcyN Gh7J5fckVvo1GQjfU6P0jU2SbBA5hesCiDVdRisZNan9As4DTI6e8a5uGhJt8vKL YvFXJXYlRi7uEKb/heewaQJVG+JgKdR6pboCTM/aoIs6/fid2xIj953sqjTExg5X 11RgwZ9Z5g5uFpKxNc0BmsRyVooxPqvaNEqRt2PXlGqNvS40I+4tyOxy3LqpFxHY RR091dwdPUtxcLiXGTSZD4W4IswiA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudeigdefgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefkffggfgfuvfhfhfgjtgfgsehtjeertddtfeejnecuhfhrohhmpefrvghtvghr ucfgihhsvghnthhrrghuthcuoehpvghtvghrrdgvihhsvghnthhrrghuthesvghnthgvrh hprhhishgvuggsrdgtohhmqeenucggtffrrghtthgvrhhnpeefjeegheetuefhveevudel ueeftdejteeiffetvdduhfdtieefgfeutedtveeggfenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehpvghtvghrrdgvihhsvghnthhrrghuthes vghnthgvrhhprhhishgvuggsrdgtohhm X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 19 Jan 2022 11:49:28 -0500 (EST) Message-ID: <2872c9a0-4b0a-1354-d5f6-94d6f85ba354@enterprisedb.com> Date: Wed, 19 Jan 2022 17:49:26 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: Replace uses of deprecated Python module distutils.sysconfig Content-Language: en-US To: Tom Lane Cc: Andrew Dunstan , pgsql-hackers@lists.postgresql.org References: <0cd3579e-7790-aa05-0202-c6ce14d0af73@enterprisedb.com> <3777643.1639056683@sss.pgh.pa.us> <312939.1642519464@sss.pgh.pa.us> <7129af76-acf6-f4d5-0de6-a479f75d8ad7@enterprisedb.com> <322779.1642525461@sss.pgh.pa.us> <426613.1642551491@sss.pgh.pa.us> From: Peter Eisentraut In-Reply-To: <426613.1642551491@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 19.01.22 01:18, Tom Lane wrote: > Anyway, based on these results, we might have better luck switching to > sysconfig after we start forcing python3. I'm tempted to resurrect the > idea of changing configure's probe order to "python3 python python2" > in the meantime, just so we can see how much of the buildfarm is ready > for that. This seems sensible in any case, given that we have quasi-committed to enforcing Python 3 soon.