From 30523bb20380217da7da8fbd35452508d89c59a0 Mon Sep 17 00:00:00 2001 From: Frode Nordahl Date: Thu, 19 Dec 2024 11:53:52 +0100 Subject: [PATCH] debian: Drop hard Python dep where appropriate. As a courtesy to users building artifacts from debs, don't pull in Python when not necessary. Interactive UX is retained because apt-get will install dependencies decleared as recommended by default. Signed-off-by: Frode Nordahl Signed-off-by: 0-day Robot --- debian/control.in | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/debian/control.in b/debian/control.in index 6737672d1ae..958eec3a224 100644 --- a/debian/control.in +++ b/debian/control.in @@ -45,8 +45,9 @@ Architecture: linux-any Depends: openssl, ${misc:Depends}, - ${python3:Depends}, ${shlibs:Depends}, +Recommends: + ${python3:Depends}, Suggests: ethtool, openvswitch-doc, @@ -154,12 +155,13 @@ Depends: netbase, openvswitch-common (= ${binary:Version}), procps, - python3-netifaces, - python3-openvswitch (>= ${source:Version}), uuid-runtime, ${misc:Depends}, - ${python3:Depends}, ${shlibs:Depends}, +Recommends: + python3-netifaces, + python3-openvswitch (>= ${source:Version}), + ${python3:Depends}, Breaks: openvswitch-common (<< 2.17~), Replaces: @@ -183,7 +185,6 @@ Description: Open vSwitch switch implementations # DPDK_NETDEV dpdk, # DPDK_NETDEV openvswitch-switch (= ${binary:Version}), # DPDK_NETDEV ${misc:Depends}, -# DPDK_NETDEV ${python3:Depends}, # DPDK_NETDEV ${shlibs:Depends}, # DPDK_NETDEV Enhances: # DPDK_NETDEV openvswitch-switch,