diff -Nru speedtest-cli-2.0.0/debian/changelog speedtest-cli-2.0.0/debian/changelog --- speedtest-cli-2.0.0/debian/changelog 2018-02-12 07:12:09.000000000 -0600 +++ speedtest-cli-2.0.0/debian/changelog 2021-10-27 18:52:02.000000000 -0500 @@ -1,3 +1,9 @@ +speedtest-cli (2.0.0-1ubuntu1) bionic; urgency=medium + + * d/p/fix-ValueError-in-ignore_servers-list.patch (LP: #1923352) + + -- William 'jawn-smith' Wilson Wed, 27 Oct 2021 18:52:02 -0500 + speedtest-cli (2.0.0-1) unstable; urgency=medium * New upstream release diff -Nru speedtest-cli-2.0.0/debian/control speedtest-cli-2.0.0/debian/control --- speedtest-cli-2.0.0/debian/control 2018-02-12 07:12:09.000000000 -0600 +++ speedtest-cli-2.0.0/debian/control 2021-10-27 18:52:02.000000000 -0500 @@ -1,7 +1,8 @@ Source: speedtest-cli Section: utils Priority: optional -Maintainer: Jonathan Carter +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Jonathan Carter Build-Depends: debhelper (>= 11), python3-all, python3-setuptools Standards-Version: 4.1.3 Homepage: https://github.com/sivel/speedtest-cli/ diff -Nru speedtest-cli-2.0.0/debian/patches/fix-ValueError-in-ignore_servers-list.patch speedtest-cli-2.0.0/debian/patches/fix-ValueError-in-ignore_servers-list.patch --- speedtest-cli-2.0.0/debian/patches/fix-ValueError-in-ignore_servers-list.patch 1969-12-31 18:00:00.000000000 -0600 +++ speedtest-cli-2.0.0/debian/patches/fix-ValueError-in-ignore_servers-list.patch 2021-10-27 18:52:02.000000000 -0500 @@ -0,0 +1,25 @@ +Description: Fix type error in speedtest-cli + Without this patch speedtest-cli is unable to downoad the list of + servers it needs to fetch each time it is invoked and causes a python + exception and terminates, rendering the tool unusable +Origin: upstream, https://github.com/sivel/speedtest-cli/commit/ +Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/speedtest-cli/+bug/1923352 +Applied-Upstream: Version 2.1.3 +Last-Update: 2021-10-27 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- a/speedtest.py ++++ b/speedtest.py +@@ -1077,9 +1077,9 @@ + # times = get_attributes_by_tag_name(root, 'times') + client = get_attributes_by_tag_name(root, 'client') + +- ignore_servers = list( +- map(int, server_config['ignoreids'].split(',')) +- ) ++ ignore_servers = [ ++ int(i) for i in server_config['ignoreids'].split(',') if i ++ ] + + ratio = int(upload['ratio']) + upload_max = int(upload['maxchunkcount']) diff -Nru speedtest-cli-2.0.0/debian/patches/series speedtest-cli-2.0.0/debian/patches/series --- speedtest-cli-2.0.0/debian/patches/series 1969-12-31 18:00:00.000000000 -0600 +++ speedtest-cli-2.0.0/debian/patches/series 2021-10-27 18:51:30.000000000 -0500 @@ -0,0 +1 @@ +fix-ValueError-in-ignore_servers-list.patch