From b4cfbc67bf4a04fc221cecd358ac11d90145e645 Mon Sep 17 00:00:00 2001 From: Adrien Banlin Date: Tue, 31 May 2022 10:40:36 +0200 Subject: [PATCH] gvgen: fix module dependency gvgen module require the six module from python3-six package. This new dependency is only necessary for python2/python3 cross compatibility on dict.iteritems() (py2) vs dict.items() (py3). ifupdown2 does not support python2 so we could replace every iteritems occurrences to it's python3 format but this means the gvgen module will diff from upstream. The simplest way is to make ifupdown depends on python3-six. --- debian/control | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/control b/debian/control index b9cd3b0..9ef843c 100644 --- a/debian/control +++ b/debian/control @@ -17,7 +17,7 @@ Architecture: all Provides: ifupdown Conflicts: ifupdown Replaces: ifupdown -Depends: ${python3:Depends}, ${misc:Depends}, iproute2 +Depends: ${python3:Depends}, ${misc:Depends}, python3-six, iproute2 Suggests: isc-dhcp-client, bridge-utils, ethtool, python3-gvgen, python3-mako Description: Network Interface Management tool similar to ifupdown ifupdown2 is ifupdown re-written in Python. It replaces ifupdown and provides