Package: release.debian.org Severity: normal Tags: buster User: release.debian....@packages.debian.org Usertags: pu
Dear stable release team, This python library breaks creation of secondary zone in Openstack's designate project included in buster. This is known issue and already fixed in upstream. Debian-Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=986645 Upstream-Bug: https://github.com/rthalley/dnspython/issues/390 Upstream-Patch: https://github.com/nrhall/dnspython/commit/9403c1bdbdf562cb01ee492b207b1f26191976ca Could you please approve upload to buster ? Debdiff attached. Cheers, Michal Arbet (kevko)
diff -Nru dnspython-1.16.0/debian/changelog dnspython-1.16.0/debian/changelog --- dnspython-1.16.0/debian/changelog 2018-12-23 02:13:05.000000000 +0100 +++ dnspython-1.16.0/debian/changelog 2021-04-08 19:09:26.000000000 +0200 @@ -1,3 +1,11 @@ +dnspython (1.16.0-1+deb10u1) buster; urgency=medium + + * Team upload. + * d/patches: Add fix-do-not-compare-with-expiration- + if-None.patch from upstream (Closes: #986645) + + -- Michal Arbet <michal.ar...@ultimum.io> Thu, 08 Apr 2021 19:09:26 +0200 + dnspython (1.16.0-1) unstable; urgency=medium * Update debian/watch to use Github diff -Nru dnspython-1.16.0/debian/patches/fix-do-not-compare-with-expiration-if-None.patch dnspython-1.16.0/debian/patches/fix-do-not-compare-with-expiration-if-None.patch --- dnspython-1.16.0/debian/patches/fix-do-not-compare-with-expiration-if-None.patch 1970-01-01 01:00:00.000000000 +0100 +++ dnspython-1.16.0/debian/patches/fix-do-not-compare-with-expiration-if-None.patch 2021-04-08 19:08:31.000000000 +0200 @@ -0,0 +1,22 @@ +Description: When doing xfr, do not compare with + expiration if it is None. +Author: Bob Halley <hal...@dnspython.org> +Date: Sun, 29 Sep 2019 13:39:41 -0700 +Origin: upstream, https://github.com/nrhall/dnspython/commit/9403c1bdbdf562cb01ee492b207b1f26191976ca +Bug-Report: https://github.com/rthalley/dnspython/issues/390 +Last-Update: 2020-04-08 + +diff --git a/dns/query.py b/dns/query.py +index c0c517c..2a06c33 100644 +--- a/dns/query.py ++++ b/dns/query.py +@@ -608,7 +608,8 @@ def xfr(where, zone, rdtype=dns.rdatatype.AXFR, rdclass=dns.rdataclass.IN, + first = True + while not done: + mexpiration = _compute_expiration(timeout) +- if mexpiration is None or mexpiration > expiration: ++ if mexpiration is None or \ ++ (expiration is not None and mexpiration > expiration): + mexpiration = expiration + if use_udp: + _wait_for_readable(s, expiration) diff -Nru dnspython-1.16.0/debian/patches/series dnspython-1.16.0/debian/patches/series --- dnspython-1.16.0/debian/patches/series 1970-01-01 01:00:00.000000000 +0100 +++ dnspython-1.16.0/debian/patches/series 2021-04-08 19:08:49.000000000 +0200 @@ -0,0 +1 @@ +fix-do-not-compare-with-expiration-if-None.patch