Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1DEEFCA0ECF for ; Tue, 12 Sep 2023 12:17:51 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.600443.936061 (Exim 4.92) (envelope-from ) id 1qg2Kd-0005Br-1b; Tue, 12 Sep 2023 12:17:27 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 600443.936061; Tue, 12 Sep 2023 12:17:27 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qg2Kc-0005Bk-V6; Tue, 12 Sep 2023 12:17:26 +0000 Received: by outflank-mailman (input) for mailman id 600443; Tue, 12 Sep 2023 12:17:25 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qg2Kb-0005AK-Lg for xen-devel@lists.xenproject.org; Tue, 12 Sep 2023 12:17:25 +0000 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [2a00:1450:4864:20::32b]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 53e38d34-5166-11ee-9b0d-b553b5be7939; Tue, 12 Sep 2023 14:17:23 +0200 (CEST) Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-401bdff4cb4so59410345e9.3 for ; Tue, 12 Sep 2023 05:17:23 -0700 (PDT) Received: from [10.80.67.28] (default-46-102-197-194.interdsl.co.uk. [46.102.197.194]) by smtp.gmail.com with ESMTPSA id d21-20020a1c7315000000b00400268671c6sm12635375wmb.13.2023.09.12.05.17.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 12 Sep 2023 05:17:22 -0700 (PDT) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 53e38d34-5166-11ee-9b0d-b553b5be7939 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=citrix.com; s=google; t=1694521042; x=1695125842; darn=lists.xenproject.org; h=content-transfer-encoding:in-reply-to:references:cc:to :content-language:subject:from:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=TfQbF+10Yr9U5rXDmXrTOP0lHxoo5t96uTGA5j+vw2Q=; b=ScUcrTNsxnFtK7TAjYdWcK+cdfOLAcAPtHpJuQg70Tgpl7lRGhaHoKmd2RmYQcOeaX JFX54/o4a1ooq73U5YxUxYaGdDsAcQcBsUs94qJ75Xm4SYPGnqqb2gjZSeTKp887s1n6 HW9Dor2aWBDnWxJlJl+VL6fHNAAHXZqNSe8iY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694521042; x=1695125842; h=content-transfer-encoding:in-reply-to:references:cc:to :content-language:subject:from:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=TfQbF+10Yr9U5rXDmXrTOP0lHxoo5t96uTGA5j+vw2Q=; b=OsPVtQtjheV1hwHvyAG3lpOv8UheDlHC79qRd6IeYf7N1oEyFsPJU8YfJk5fGMGrND RNbdHno2VMpX1Wjj4oqZHR/+3ys6XEx4EajhrJdy6J+WibZG+dW4Jn2eqZ8S8+b0dEFU 8wd9Hp9oNTlkVPLKPOPDjT/4LgbZTNv+p6VBE9SMg38GmUQ/iz1hvjUENCq5m18zb0GK ePEjpKqyepuohboDBX/b3Du69my1QT47gyDiCoGoRiI/kkSWaAjkm9Wz4u7oTnXcLYoi 5LjCxUrgAabo8J87kHgUayO6yEcOy96bxqFX0DlTZXjpOcaWNKiS/aKjNvaq6cXrSn6X zCQw== X-Gm-Message-State: AOJu0YzfKeoKvmxnLVKBl79Q1ww1TYQzqnyg1Cj3GgRQKRAd3fvM4Y2p /u+7g86YE72j/Q8Gy/h+8iXu8w== X-Google-Smtp-Source: AGHT+IH6a393JEKGrtIfvJeW1ErFbsQjYIxBrgOu5sdPjQDky/qknCXphHWFhTETqF6742nOSz/COw== X-Received: by 2002:adf:f302:0:b0:31a:e6bf:9032 with SMTP id i2-20020adff302000000b0031ae6bf9032mr10024177wro.4.1694521042573; Tue, 12 Sep 2023 05:17:22 -0700 (PDT) Message-ID: Date: Tue, 12 Sep 2023 13:17:21 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 From: Andrew Cooper Subject: Re: [XEN PATCH v2 3/5] tools: don't use distutils in configure nor Makefile Content-Language: en-GB To: =?UTF-8?Q?Marek_Marczykowski-G=c3=b3recki?= Cc: Javi Merino , xen-devel@lists.xenproject.org, Jan Beulich , George Dunlap , Wei Liu , Anthony PERARD , Juergen Gross References: <7b3ecf211f60e0d6f7a4d146b62f9c28eff003f5.1694450145.git.javi.merino@cloud.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 12/09/2023 12:50 pm, Marek Marczykowski-Górecki wrote: > On Tue, Sep 12, 2023 at 11:38:04AM +0100, Andrew Cooper wrote: >> On 11/09/2023 5:51 pm, Javi Merino wrote: >>> From: Marek Marczykowski-Górecki >>> >>> Python distutils is deprecated and is going to be removed in Python >>> 3.12. The distutils.sysconfig is available as sysconfig module in >>> stdlib since Python 3.2, so use that directly. >>> >>> Signed-off-by: Marek Marczykowski-Górecki >> This breaks Py2, doesn't it? > I was thinking that too, but "sysconfig" module seems to be in Python > 2.7 too. Oh, so it is.  Lovely that the documentation says this... It seems to have appeared in Py2.7 and 3.2 together.  https://docs.python.org/2.7/library/sysconfig.html I notice that README currently says Py2.6.  We can definitely bump that to 2.7, and take this patch as-is. ~Andrew