]> xenbits.xensource.com Git - xen.git/commitdiff
automation: Add python3's setuptools to some containers
authorJavi Merino <javi.merino@cloud.com>
Tue, 19 Sep 2023 06:30:26 +0000 (07:30 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 20 Sep 2023 19:53:58 +0000 (20:53 +0100)
In preparation of supporting both distutils and setuptools, add the
python3 setuptools module to the containers that have recent python3
installations.

Debian Stretch, Ubuntu trusty (14.04), Ubuntu xenial (16.04) and
Ubuntu bionic (18.04) are kept without setuptools on purpose, to test
installations that don't have it.

Centos 7 in particular is kept with python2 only.

Signed-off-by: Javi Merino <javi.merino@cloud.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
automation/build/alpine/3.18-arm64v8.dockerfile
automation/build/alpine/3.18.dockerfile
automation/build/archlinux/current.dockerfile
automation/build/debian/bookworm-arm64v8.dockerfile
automation/build/debian/bookworm-i386.dockerfile
automation/build/debian/bookworm.dockerfile
automation/build/suse/opensuse-leap.dockerfile
automation/build/suse/opensuse-tumbleweed.dockerfile
automation/build/ubuntu/focal.dockerfile

index ce198f7d045e0bf94976c3044a836b30b0c237b6..470f5d72a921c7247b40fd05c82eeb6318d5e7e3 100644 (file)
@@ -32,6 +32,7 @@ RUN apk --no-cache add \
   ocaml-findlib \
   patch  \
   python3-dev \
+  py3-setuptools \
   texinfo \
   util-linux-dev \
   xz-dev \
index ca5756955e6d4362b205acc699a89f6b3ee0fa6d..5d2a69a06010543fe8200b3e7dde1e2ccc2e187e 100644 (file)
@@ -34,6 +34,7 @@ RUN apk --no-cache add \
   ocaml-findlib \
   patch  \
   python3-dev \
+  py3-setuptools \
   texinfo \
   util-linux-dev \
   xz-dev \
index 13fb472d9e953d8445c3175403709608d5104c6f..47e79637a4a67f3e6a7779012a19a3b1067890fa 100644 (file)
@@ -34,6 +34,7 @@ RUN pacman -S --refresh --sysupgrade --noconfirm --noprogressbar --needed \
         pixman \
         pkgconfig \
         python \
+        python-setuptools \
         sdl \
         sdl2 \
         spice \
index a6d4246d968219de14ca182d79eda10cd955b1f7..640b1e0eadf2999581628f4395d36c544ad5a0c7 100644 (file)
@@ -16,6 +16,7 @@ RUN apt-get update && \
         libncurses5-dev \
         libssl-dev \
         python3-dev \
+        python3-setuptools \
         xorg-dev \
         uuid-dev \
         libyajl-dev \
index eb1c732f53f5393adcdf3abe691196b0b6810d6a..559bf670f0f1de6ad88d38031c841b0818f68da2 100644 (file)
@@ -18,6 +18,7 @@ RUN apt-get update && \
         libncurses5-dev \
         libssl-dev \
         python3-dev \
+        python3-setuptools \
         xorg-dev \
         uuid-dev \
         libyajl-dev \
index f8415425e610e8f372e874c62ca650d8ee075d0e..ae008c8d46e568d9c80dae4beee8c6ec4f877a9e 100644 (file)
@@ -16,6 +16,7 @@ RUN apt-get update && \
         libncurses5-dev \
         libssl-dev \
         python3-dev \
+        python3-setuptools \
         xorg-dev \
         uuid-dev \
         libyajl-dev \
index 98ee42970d8c66c3325b6aefe62f5d69042e9b74..7010b71acaa0293e46a3885f2c98561a407ddc72 100644 (file)
@@ -60,6 +60,7 @@ RUN zypper install -y --no-recommends \
         'pkgconfig(sdl)' \
         'pkgconfig(sdl2)' \
         python3-devel \
+        python3-setuptools \
         systemd-devel \
         tar \
         transfig \
index aed81f024035123bf7a1fa2acb62d887137d46ec..959e1f6939f06cf00c0fe7f0102c83057cf3fc19 100644 (file)
@@ -63,6 +63,7 @@ RUN zypper install -y --no-recommends \
         'pkgconfig(sdl)' \
         'pkgconfig(sdl2)' \
         python3-devel \
+        python3-setuptools \
         systemd-devel \
         tar \
         transfig \
index 9c851c062073d731795f9db77dd0d595f24bd407..e3d11194ee2ffa826c22d27ef9a62934e7fa5df0 100644 (file)
@@ -16,6 +16,7 @@ RUN apt-get update && \
         libncurses5-dev \
         libssl-dev \
         python3-dev \
+        python3-setuptools \
         xorg-dev \
         uuid-dev \
         libyajl-dev \