diff -Nru dnspython-2.1.0/debian/changelog dnspython-2.1.0/debian/changelog --- dnspython-2.1.0/debian/changelog 2021-11-14 07:12:31.000000000 +0000 +++ dnspython-2.1.0/debian/changelog 2021-12-15 15:48:52.000000000 +0000 @@ -1,3 +1,10 @@ +dnspython (2.1.0-1ubuntu1) jammy; urgency=medium + + * d/p/ubuntu-disable-online-tests.patch: Restored patch + from a previous release to disable online tests. + + -- Corey Bryant Wed, 15 Dec 2021 10:48:52 -0500 + dnspython (2.1.0-1) unstable; urgency=medium [ Ondřej Nový ] diff -Nru dnspython-2.1.0/debian/control dnspython-2.1.0/debian/control --- dnspython-2.1.0/debian/control 2021-11-14 06:53:48.000000000 +0000 +++ dnspython-2.1.0/debian/control 2021-12-15 15:48:52.000000000 +0000 @@ -1,7 +1,8 @@ Source: dnspython Section: python Priority: optional -Maintainer: Debian Python Team +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian Python Team Uploaders: Robert S. Edmonds , Scott Kitterman , Matthew Grant Build-Depends: debhelper-compat (= 12), python3-all, python3-setuptools, dh-python, netbase Homepage: https://www.dnspython.org diff -Nru dnspython-2.1.0/debian/patches/series dnspython-2.1.0/debian/patches/series --- dnspython-2.1.0/debian/patches/series 2021-11-14 07:12:31.000000000 +0000 +++ dnspython-2.1.0/debian/patches/series 2021-12-15 15:33:37.000000000 +0000 @@ -1 +1,2 @@ 0001-add-missing-mx-pickle-test-data.patch +ubuntu-disable-online-tests.patch diff -Nru dnspython-2.1.0/debian/patches/ubuntu-disable-online-tests.patch dnspython-2.1.0/debian/patches/ubuntu-disable-online-tests.patch --- dnspython-2.1.0/debian/patches/ubuntu-disable-online-tests.patch 1970-01-01 00:00:00.000000000 +0000 +++ dnspython-2.1.0/debian/patches/ubuntu-disable-online-tests.patch 2021-12-15 15:48:43.000000000 +0000 @@ -0,0 +1,61 @@ +Description: Disable online testing due to failures on autopkgtest infra +Author: Lukas Märdian +Forwarded: not-needed +Bug-Ubuntu: https://bugs.launchpad.net/bugs/1892832 +Last-Update: 2021-12-15 + +--- a/tests/test_async.py ++++ b/tests/test_async.py +@@ -41,7 +41,7 @@ + + # Some tests require the internet to be available to run, so let's + # skip those if it's not there. +-_network_available = True ++_network_available = False + try: + socket.gethostbyname('dnspython.org') + except socket.gaierror: +--- a/tests/test_doh.py ++++ b/tests/test_doh.py +@@ -60,7 +60,7 @@ + + # Some tests require the internet to be available to run, so let's + # skip those if it's not there. +-_network_available = True ++_network_available = False + try: + socket.gethostbyname('dnspython.org') + except socket.gaierror: +--- a/tests/test_query.py ++++ b/tests/test_query.py +@@ -38,7 +38,7 @@ + + # Some tests require the internet to be available to run, so let's + # skip those if it's not there. +-_network_available = True ++_network_available = False + try: + socket.gethostbyname('dnspython.org') + except socket.gaierror: +--- a/tests/test_resolver.py ++++ b/tests/test_resolver.py +@@ -33,7 +33,7 @@ + + # Some tests require the internet to be available to run, so let's + # skip those if it's not there. +-_network_available = True ++_network_available = False + try: + socket.gethostbyname('dnspython.org') + except socket.gaierror: +--- a/tests/test_resolver_override.py ++++ b/tests/test_resolver_override.py +@@ -11,7 +11,7 @@ + + # Some tests require the internet to be available to run, so let's + # skip those if it's not there. +-_network_available = True ++_network_available = False + try: + socket.gethostbyname('dnspython.org') + except socket.gaierror: