[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v1] automation: use python-3.11 in Leap container


  • To: xen-devel@xxxxxxxxxxxxxxxxxxxx
  • From: Olaf Hering <olaf@xxxxxxxxx>
  • Date: Mon, 7 Oct 2024 17:25:09 +0200
  • Arc-authentication-results: i=1; strato.com; arc=none; dkim=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1728314723; s=strato-dkim-0002; d=strato.com; h=Message-ID:Date:Subject:Cc:To:From:Cc:Date:From:Subject:Sender; bh=FeyqiNHX8OGIR4enV6XOW6e4DYpDZvrYhLsY8C6tuoA=; b=C+jgREji1jcL8dMlYczMucByYGz6/cGdDpBXWEOQwGiD5LrjsUjQ8HFczEHyN3vwRm 7GX6nuyVnrmg9459p4u9ZXiIVLSJkNGX7QAK+jks+it+5oPa1LzoZViczUrEib15EIud RoKEzCnK1JW0/2xnKQe8hsjAuzUCn1GLgNEITP+gU/4nqvpB6/DD+DOBcpd89J7seT7l mm7m7QdiobPXNn/FETR/cooBfJLBpClP+ldfOwqdClTFIogIL/85nKKIz/1WvraBepML nCfZwH8BNbIhPO68XIjdvwxfuVv249zYN/YkAJb/CxoFbpSPtEN+JOnSNrCK7SbuCHmt yfzQ==
  • Arc-seal: i=1; a=rsa-sha256; t=1728314723; cv=none; d=strato.com; s=strato-dkim-0002; b=Q9ojUWQuxhJOLieoG6J9uCcY5POJ6/6N6W6YqGe5YX6kjuQnXtxVO2YoyuXFf2OUTN I45DjvA1vaDdzdQ6DChCioz+fH+NA7BijAw1mAUq3UP/VjbkUq2+T/9VKFkFOOnzeou4 FldZDv0wjwe8VpyuAk0p/cHysSV2KfxmHcDGmEHl8gmuV8/nhQ9l2OezMPfvTNYZ8U18 3JxFXWMTgxZ6UvpQSmCk9e/hv6Mqt7FJLmVsiubMQMP0atMA1x15cEcZcOP07HsqeBlh ihhwI72+VJLWPFV5E91QN5kDRKGCjFkR7nl5qILrzitTrXKyng/zpQowqegxZO3vdEk3 ZCIw==
  • Cc: Doug Goldstein <cardoe@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>
  • Delivery-date: Mon, 07 Oct 2024 15:25:38 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

python311 is available since Leap 15.4 as additional Python variant.

Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>
---
 automation/build/opensuse/leap-15.6-x86_64.dockerfile | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/automation/build/opensuse/leap-15.6-x86_64.dockerfile 
b/automation/build/opensuse/leap-15.6-x86_64.dockerfile
index ea70dffe2a..97890dfc00 100644
--- a/automation/build/opensuse/leap-15.6-x86_64.dockerfile
+++ b/automation/build/opensuse/leap-15.6-x86_64.dockerfile
@@ -3,6 +3,7 @@ FROM --platform=linux/amd64 opensuse/leap:15.6
 LABEL maintainer.name="The Xen Project"
 LABEL maintainer.email="xen-devel@xxxxxxxxxxxxxxxxxxxx"
 
+ENV PYTHON=python3.11
 ENV XEN_TARGET_ARCH=x86_64
 
 RUN <<EOF
@@ -25,7 +26,7 @@ RUN <<EOF
         gawk
         gcc
         make
-        python3
+        python311
 
         # Tools (general)
         git-core
@@ -53,8 +54,8 @@ RUN <<EOF
         # xentop
         'pkgconfig(ncurses)'
         # Python bindings
-        python3-devel
-        python3-setuptools
+        python311-devel
+        python311-setuptools
         # Ocaml bindings/oxenstored
         ocaml
         ocaml-findlib
@@ -68,7 +69,7 @@ RUN <<EOF
         ninja
         'pkgconfig(glib-2.0)'
         'pkgconfig(pixman-1)'
-        python3-packaging
+        python311-packaging
     )
 
     zypper install -y --no-recommends "${DEPS[@]}"



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.