Skip to contentSkip to conversation

automation: update openSUSE Tumbleweed building dependencies

PATCH In review Dario Faggioli 2 participants 3 messages Mar 26, 2020 – Mar 30, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 automation: update openSUSE Tumbleweed building dependencies

We need python3 (and the respective -devel package), these days.

---
Cc: Doug Goldstein <[email protected]>

---
 .../build/suse/opensuse-tumbleweed.dockerfile      |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
automation/build/suse/opensuse-tumbleweed.dockerfile +2 -2
index 2676a87c85..e80d773a79 100644
@@ -54,8 +54,8 @@ RUN zypper install -y --no-recommends \
         pandoc \
         patch \
         pkg-config \
-        python \
-        python-devel \
+        python3 \
+        python3-devel \
         systemd-devel \
         tar \
         transfig \
#1 lore raw
Quoted 14 lines · Dario Faggioli

We need python3 (and the respective -devel package), these days.

---
Cc: Doug Goldstein <[email protected]>

---
 .../build/suse/opensuse-tumbleweed.dockerfile      |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
automation/build/suse/opensuse-tumbleweed.dockerfile +0 -0
index 2676a87c85..e80d773a79 100644

automation/build/suse/opensuse-tumbleweed.dockerfile RUN zypper install -y --no-recommends \ · line 58

Quoted 7 lines
automation/build/suse/opensuse-tumbleweed.dockerfile +2 -2
@@ -54,8 +54,8 @@ RUN zypper install -y --no-recommends \
         pandoc \
         patch \
         pkg-config \
-        python \
-        python-devel \
+        python3 \
+        python3-devel \

These containers get used for older Xen branches as well, so you generally can't take deps out like this (Until we stop building the oldest branches which need the dependency).

Will tumbleweed cope with both packages installed concurrently?

~Andrew

#2 lore raw
Quoted 11 lines · Andrew Cooper
Quoted 10 lines · Dario Faggioli
automation/build/suse/opensuse-tumbleweed.dockerfile +0 -0
index 2676a87c85..e80d773a79 100644
@@ -54,8 +54,8 @@ RUN zypper install -y --no-recommends \
         pandoc \
         patch \
         pkg-config \
Quoted 9 lines

automation/build/suse/opensuse-tumbleweed.dockerfile RUN zypper install -y --no-recommends \ · line 58

Quoted 4 lines
automation/build/suse/opensuse-tumbleweed.dockerfile +2 -2
-        python \
-        python-devel \
+        python3 \
+        python3-devel \

These containers get used for older Xen branches as well, so you generally can't take deps out like this (Until we stop building the oldest branches which need the dependency).

Ah, ok, didn't think about that. Makes sense.

Quoted 2 lines

Will tumbleweed cope with both packages installed concurrently?

It does. I'll test building in a container that has both and (if it works) submit v2 of this patch.

Thanks and Regards

Signature · 6 lines
Dario Faggioli, Ph.D
http://about.me/dario.faggioli
Virtualization Software Engineer
SUSE Labs, SUSE https://www.suse.com/
-------------------------------------------------------------------
<<This happens because _I_ choose it to happen!>> (Raistlin Majere)