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 A836DCA0ECF for ; Tue, 12 Sep 2023 10:19:42 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.600327.935960 (Exim 4.92) (envelope-from ) id 1qg0UK-0004L1-Ec; Tue, 12 Sep 2023 10:19:20 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 600327.935960; Tue, 12 Sep 2023 10:19:20 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qg0UK-0004Ku-AJ; Tue, 12 Sep 2023 10:19:20 +0000 Received: by outflank-mailman (input) for mailman id 600327; Tue, 12 Sep 2023 10:19:19 +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 1qg0UJ-0004Jb-2d for xen-devel@lists.xenproject.org; Tue, 12 Sep 2023 10:19:19 +0000 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [2a00:1450:4864:20::335]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id d4319b25-5155-11ee-9b0d-b553b5be7939; Tue, 12 Sep 2023 12:19:17 +0200 (CEST) Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-401b0d97850so59871215e9.2 for ; Tue, 12 Sep 2023 03:19:17 -0700 (PDT) Received: from [192.168.20.115] (ip-185-104-136-29.ptr.icomera.net. [185.104.136.29]) by smtp.gmail.com with ESMTPSA id r18-20020a5d6952000000b003141a3c4353sm12592111wrw.30.2023.09.12.03.19.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 12 Sep 2023 03:19:16 -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: d4319b25-5155-11ee-9b0d-b553b5be7939 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=citrix.com; s=google; t=1694513956; x=1695118756; 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=27aNj847z6WP7Aj8LQYB9kh7/yLtTyxrvmLSUeUuS2k=; b=husyTaohEUSOtj+v29P9gAcPA6BZXkGLoSI2BzJbQt8QoYoAyZIRob6/bd3rVM4tXY MtPp0ZmY/yVqc57HkGSIAVubc8luk/jUjboepfqIG/FmYgoNq3QH+8EJjbveyjq4FRDw T/aIP+bBYUaqm+5Q4+MTnkophk9lnAdXS2OCc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694513956; x=1695118756; 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=27aNj847z6WP7Aj8LQYB9kh7/yLtTyxrvmLSUeUuS2k=; b=fLKX7sYRk/Yjdl0TXHlKkwH83XJ8JHKLOvzaInynTDBZ1HLa/0UOUR+NML1CQWQf9M IPihtX/0Ga3Dhhha51QVTXTNyaT4VCfys12OqgaiGTdZ5rH5BWY1tZs0+6VeMrEi6+5V FWb4k8Gi8Bl0fxEGRL6tWob8I19CtTB+8zZW1RlXafqvWghi9VuOpuCUDSOwYP6Hyewm /0SV8qUbyAYiIlgLe6gx9Y9Nq2JaTnx2l5O5vEY3GEn6fKPSp50LMZ4LL85PPLGTNjAe 2c3guR//75K8InlvjVzSS9bTrm+M5CTJvXLFwgPw9/EeVblJ6r5omUYt4aJYgJllgJ/o Ndiw== X-Gm-Message-State: AOJu0Yzo5na/e/NvhWB/GB3y2ifVjrYznLvHa3t7zfZjmJzC2KPJAXkZ cL613AQ5dCv00uesyercXYkMxA== X-Google-Smtp-Source: AGHT+IEVV+ACr1rzlrFXz/xU7M9EDTs+jbmI0NZOOLdRAYYH67/9/VowHlGH5bpHkBD8qzpSH5738A== X-Received: by 2002:a7b:c042:0:b0:401:aa8f:7573 with SMTP id u2-20020a7bc042000000b00401aa8f7573mr10929389wmc.6.1694513956566; Tue, 12 Sep 2023 03:19:16 -0700 (PDT) Message-ID: <4a98d2d7-457a-020b-c936-d19b772b626e@citrix.com> Date: Tue, 12 Sep 2023 11:18:42 +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 1/5] automation: add python3's setuptools to containers Content-Language: en-GB To: Javi Merino , xen-devel@lists.xenproject.org Cc: =?UTF-8?Q?Marek_Marczykowski-G=c3=b3recki?= , Jan Beulich , George Dunlap , Doug Goldstein , Stefano Stabellini References: <4f14ea4aeb44c234d9930578614a35234769fa41.1694450145.git.javi.merino@cloud.com> In-Reply-To: <4f14ea4aeb44c234d9930578614a35234769fa41.1694450145.git.javi.merino@cloud.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 11/09/2023 5:51 pm, Javi Merino wrote: > In preparation of dropping python distutils and moving to setuptools, > add the python3 setuptools module to the containers that need it. > > The centos7 container was building using python2. Change it to build > python scripts using python3. > > Debian Stretch is no longer debian oldstable, so move to the archive > repositories. > > Signed-off-by: Javi Merino We are not dropping distutils.  We're moving to support both distutils and setuptools, because setuptools doesn't support the minimum version of python that Xen supports. Therefore, it's important to keep some of the containers on distutils rather than switching all to setuptools. CenOS can stay as is, as can Stretch and probably Bionic/Focal. Any containers with Py3.10 or later definitely need to move, seeing as distuils is formally deprecated there It's sadly a little too early to make a Py3.12 container, which will lack distutils, but we can come back to that in 4.19. As Stefano points out, you should refresh at least some of the arm64 containers too.  RISC-V and PPC aren't set up for tools builds set, so they're fine to leave. ~Andrew