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 1mtArC-0000tU-QI for pgsql-hackers@arkaria.postgresql.org; Fri, 03 Dec 2021 15:52:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mtArB-0004TD-Ka for pgsql-hackers@arkaria.postgresql.org; Fri, 03 Dec 2021 15:52:17 +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 1mtArB-0004T1-B5 for pgsql-hackers@lists.postgresql.org; Fri, 03 Dec 2021 15:52:17 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mtAr7-0002S0-TI for pgsql-hackers@postgresql.org; Fri, 03 Dec 2021 15:52:16 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 8695F5C03E5; Fri, 3 Dec 2021 10:52:11 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Fri, 03 Dec 2021 10:52:11 -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=Ysz2lYcVQCGdMQpH9EllOK1MjsUmNR2RQrdwHmTAi +o=; b=Y9Z7+a33Um0amQFtHWwBq6S2MJDcWJL5NYSpxMPLhYdsFeqnUAsjJJ3UF 4ZhRj1QtFqeiGxbnm28wEIfqxpMn0UsR61kIvhfAXlKMLCXTqFcswYBXS5E0rKyF PyOkvIdJnRpjwHgT0Qaw6cwI4LHic36NksaVga5mdd+iifWfbm4+27tAX1cOVD9K AXz5gqxLrMxnUx7R6Zep+/AzMLIjt66CfWYfsj8lCRDjlK/ilWJJS1h7Yg56GiGY WCXrmXIlPmS2HkEcVu0MMXqQYLV0CsIpZ+WdwLc/b7BLsZ/lhXFcy0saFPHJlp/b Bnu7b2pPBMR0bOCqGDUqvpnMMgpqw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrieejgdekgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepkfffgggfuffvfhfhjggtgfesthejre dttdefjeenucfhrhhomheprfgvthgvrhcugfhishgvnhhtrhgruhhtuceophgvthgvrhdr vghishgvnhhtrhgruhhtsegvnhhtvghrphhrihhsvggusgdrtghomheqnecuggftrfgrth htvghrnhepfeejgeehteeuhfevveduleeufedtjeetiefftedvudfhtdeifefgueettdev gefgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepph gvthgvrhdrvghishgvnhhtrhgruhhtsegvnhhtvghrphhrihhsvggusgdrtghomh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 3 Dec 2021 10:52:10 -0500 (EST) Message-ID: <1d1330a3-9f68-8dae-5ac1-713aebe65a42@enterprisedb.com> Date: Fri, 3 Dec 2021 16:52:10 +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.2 Subject: Re: Replace uses of deprecated Python module distutils.sysconfig Content-Language: en-US To: Tom Lane Cc: pgsql-hackers References: <2115892.1638469333@sss.pgh.pa.us> From: Peter Eisentraut In-Reply-To: <2115892.1638469333@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 02.12.21 19:22, Tom Lane wrote: > That's surely no problem in HEAD, but as you say, it is an issue for > the older branches. How difficult would it be to teach configure to > try both ways, or adapt based on its python version check? I think it wouldn't be unreasonable to do that. I'll look into it.