Your message dated Mon, 14 Sep 2026 10:19:23 +0000
with message-id <[email protected]>
and subject line Bug#1146362: fixed in dnspython 2.8.0-6
has caused the Debian Bug report #1146362,
regarding dnspython: FTBFS against python 3.15rc1
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1146362: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1146362
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:dnspython
Version: 2.8.0-5
User: [email protected]
Usertags: python3.15
Tags: patch, ftbfs, forky, sid

Hi!

While rebuilding the python related packages against the Python 3.15rc1
version we found that dnspython fails to build from source [1].
I've applied a couple of upstream patches to solve the issue:
- fix testInvalidDigestLengthCDS0 for 3.15 [2]
- IDNA 2008 transitional is even more deprecated in idna 3.19; remove
  tests [3]

And I've also added an additional patch to avoid testing the network
against cloudflare as only google is used in the tests.

I applied these fixes in the sandbox [4] to be able to build the
packages that depend on dnspython, please consider applying these
patches to support the upcoming 3.15 version.

Happy hacking,

[1]: 
https://debusine.debian.net/debian/r-python-python3.15/work-request/1111989/
[2]: 
https://github.com/rthalley/dnspython/commit/d91f1ee30bcc68cb356d13b7c5f14b49e63c58bc
[3]: 
https://github.com/rthalley/dnspython/commit/6af77d7e6762f951dd6fcc4018a2cf25a06700cd
[4]: https://debusine.debian.net/debian/r-python-python3.15/

--
"Can you imagine what I would do if I could do all I can?" -- Sun Tzu
Saludos /\/\ /\ >< `/
From: Bob Halley <[email protected]>
Date: Sun, 12 Apr 2026 10:47:20 -0700
Subject: fix testInvalidDigestLengthCDS0 for 3.15

---
 tests/test_dnssec.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/tests/test_dnssec.py b/tests/test_dnssec.py
index 77bd4fef..b1995034 100644
--- a/tests/test_dnssec.py
+++ b/tests/test_dnssec.py
@@ -1246,11 +1246,12 @@ class DNSSECMakeDSTestCase(unittest.TestCase):
             "digest length inconsistent with digest type": ["0 0 0 0000"],
             "Odd-length string": ["0 0 0 0", "0 0 0 000"],
         }
-        for msg, records in test_records.items():
+        for _, records in test_records.items():
             for record in records:
                 with self.assertRaises(dns.exception.SyntaxError) as cm:
                     dns.rdata.from_text(dns.rdataclass.IN, dns.rdatatype.CDS, record)
-                self.assertEqual(msg, str(cm.exception))
+                # we don't test the message because it varies between pre=3.15 and 3.15
+                #self.assertEqual(msg, str(cm.exception))
 
     def testMakeCDS(self):  # type: () -> None
         name = dns.name.from_text("example.com")
From: Bob Halley <[email protected]>
Date: Thu, 20 Aug 2026 18:06:56 -0700
Subject: IDNA 2008 transitional is even more deprecated in idna 3.19; remove tests

---
 tests/test_name.py | 19 -------------------
 1 file changed, 19 deletions(-)

diff --git a/tests/test_name.py b/tests/test_name.py
index 40a409c3..dff7b25e 100644
--- a/tests/test_name.py
+++ b/tests/test_name.py
@@ -817,9 +817,6 @@ class NameTestCase(unittest.TestCase):
         self.assertRaises(dns.name.IDNAException, bad)
         e1 = dns.name.from_unicode(t, idna_codec=dns.name.IDNA_2008)
         self.assertEqual(str(e1), "xn--knigsgchen-b4a3dun.")
-        c2 = dns.name.IDNA_2008_Transitional
-        e2 = dns.name.from_unicode(t, idna_codec=c2)
-        self.assertEqual(str(e2), "xn--knigsgsschen-lcb0w.")
 
     @unittest.skipUnless(
         dns.name.have_idna_2008, "Python idna cannot be imported; no IDNA2008"
@@ -828,7 +825,7 @@ class NameTestCase(unittest.TestCase):
         # the IDN rules for names are very restrictive, disallowing
         # practical names like '_sip._tcp.Königsgäßchen'.  Dnspython
         # has a "practical" mode which permits labels which are purely
-        # ASCII to go straight through, and thus not invalid useful
+        # ASCII to go straight through, and thus not invalidate useful
         # things in the real world.
         t = "_sip._tcp.Königsgäßchen"
 
@@ -840,13 +837,8 @@ class NameTestCase(unittest.TestCase):
             codec = dns.name.IDNA_2008_UTS_46
             return dns.name.from_unicode(t, idna_codec=codec)
 
-        def bad3():
-            codec = dns.name.IDNA_2008_Transitional
-            return dns.name.from_unicode(t, idna_codec=codec)
-
         self.assertRaises(dns.name.IDNAException, bad1)
         self.assertRaises(dns.name.IDNAException, bad2)
-        self.assertRaises(dns.name.IDNAException, bad3)
         e = dns.name.from_unicode(t, idna_codec=dns.name.IDNA_2008_Practical)
         self.assertEqual(str(e), "_sip._tcp.xn--knigsgchen-b4a3dun.")
 
@@ -879,17 +871,6 @@ class NameTestCase(unittest.TestCase):
         self.assertEqual(str(n), "xn--eckwd4c7c.xn--zckzah.")
         self.assertEqual(s, "ドメイン.テスト.")
 
-    @unittest.skipUnless(
-        dns.name.have_idna_2008, "Python idna cannot be imported; no IDNA2008"
-    )
-    def testToUnicode5(self):
-        # Exercise UTS 46 remapping in decode.  This doesn't normally happen
-        # as you can see from us having to instantiate the codec as
-        # transitional with strict decoding, not one of our usual choices.
-        codec = dns.name.IDNA2008Codec(True, True, False, True)
-        n = dns.name.from_text("xn--gro-7ka.com")
-        self.assertEqual(n.to_unicode(idna_codec=codec), "gross.com.")
-
     @unittest.skipUnless(
         dns.name.have_idna_2008, "Python idna cannot be imported; no IDNA2008"
     )
Description: Check exact test addresses for network availability
Origin: vendor
Forwarded: no
Index: dnspython/tests/util.py
===================================================================
--- dnspython.orig/tests/util.py
+++ dnspython/tests/util.py
@@ -86,11 +86,9 @@ def is_internet_reachable():
             _internet_reachable = False
         else:
             global _have_ipv4
-            _have_ipv4 = check_networking(["8.8.8.8", "1.1.1.1"])
+            _have_ipv4 = check_networking(["8.8.8.8"])
             global _have_ipv6
-            _have_ipv6 = check_networking(
-                ["2001:4860:4860::8888", "2606:4700:4700::1111"]
-            )
+            _have_ipv6 = check_networking(["2001:4860:4860::8888"])
             _internet_reachable = _have_ipv4 or _have_ipv6
     return _internet_reachable
 

--- End Message ---
--- Begin Message ---
Source: dnspython
Source-Version: 2.8.0-6
Done: Stuart Prescott <[email protected]>

We believe that the bug you reported is fixed in the latest version of
dnspython, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stuart Prescott <[email protected]> (supplier of updated dnspython package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 14 Sep 2026 18:17:05 +1000
Source: dnspython
Architecture: source
Version: 2.8.0-6
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Stuart Prescott <[email protected]>
Closes: 1146267 1146362
Changes:
 dnspython (2.8.0-6) unstable; urgency=medium
 .
   * Team upload.
   * Add 2 patches to fix FTBFS, with thanks to Maximiliano Curia for
     forwarding these patches (Closes: #1146362, #1146267).
Checksums-Sha1:
 4b5d64bca9d75cc2b1467a6e378e9691cba13a5e 2840 dnspython_2.8.0-6.dsc
 fd4ad6d87b376e28750e68ab8ddb06283135f44f 8824 dnspython_2.8.0-6.debian.tar.xz
 1b3753d62b9b18a2d9d6f1180691bac1136ba588 950084 dnspython_2.8.0-6.git.tar.xz
 a54bdbdd00abf088fb834597c1f103990d18bdec 17676 
dnspython_2.8.0-6_source.buildinfo
Checksums-Sha256:
 bccb932e6ab02cc16838d21142024dbd5531e585b167d7545ff39b71f4229593 2840 
dnspython_2.8.0-6.dsc
 b07565f17e8c1f9cdb4db88daecd02ce329bed2e6e81fd520488b204504fc1a1 8824 
dnspython_2.8.0-6.debian.tar.xz
 4654097bcf95f87164ed88aa5dd33cd06cd5fb8bc3365e18f60fb9de807a9f4c 950084 
dnspython_2.8.0-6.git.tar.xz
 f04a302225f5cd4246e25cddc673f44f47a8c85a260363479fc0ed203cfc7ea5 17676 
dnspython_2.8.0-6_source.buildinfo
Files:
 42be8570986323473fea65f95fc4adfd 2840 python optional dnspython_2.8.0-6.dsc
 78c412dc2ab6d55d44774fa2c958bf20 8824 python optional 
dnspython_2.8.0-6.debian.tar.xz
 31e86f9be8398b8fe7d1713eb604d04e 950084 python None 
dnspython_2.8.0-6.git.tar.xz
 913b26bac4bc2202a669f4fe63c31bbf 17676 python optional 
dnspython_2.8.0-6_source.buildinfo
Git-Tag-Info: tag=cce3197cfd201ba371ad4e395b202915940f5cff 
fp=90e2d2c1ad146a1b7ebb891dbbc17ebb1396f2f7
Git-Tag-Tagger: Stuart Prescott <[email protected]>

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmqnxp8ACgkQYG0ITkaD
wHnzExAAuhy0ubTFyS+LCBcJdMiCrI6EaZY7kx1kN3LhguvZibhoQVqjPKHHPCuk
l12EiqM+byaFJuKF9B54lHINUduKzZplij8qIbJA49yCc5nVQgvtvOuhvucFDUV/
SDfeb5lwBWZ6Mf9ZRojOXUUZBp/9+HQocj6itrMLQ4lBaDAf8NNE64dsu5fyK+8g
ZokFL7wgeyq9AlBUxAHCmqO6D9Y/SrXisnK6lIeN9OFoSaTdy79rjV7Hdo6tpCxg
yLAp+zn0h+qgkQm9UySB69vwQT8XSBINgM0o3l5Oly6WzKApJ/c+jDnHsC4U4xOW
fkIyHdFFPnL47J6sRM+r9LhcU5ZNiXmV0tx4m6moKQJu1iGWDW7asCI1dNd+YVik
G7Q9dollUCc9oxdmzv9UmtRBqejbF8tHIoRHyKHce+Xj68V8Er18NavoM1updwp4
4HE29QITugOpC7rf4+ouATxiDRnUyi5tgno7zzoU3PXZDEhXm8jq9LXbFwJ7wwO8
GgIFvRlMuzEIWCuj/lIDaoZnLQx184lV36f47POekgnGVfCkUeuhXHoKrvKSm0rb
jN2E/oaYMgOPb9KshSxUmqES4mmOJQ5GltHoHA4/SmksK5/Rn5n/4EiGVtDykpfW
dJsSqTzx6tNylg2wPQ8I1YEYXis9ZmBL8FHIJHd8kA338vd2cNw=
=Kp65
-----END PGP SIGNATURE-----

Attachment: pgpOlN1D4gGv1.pgp
Description: PGP signature


--- End Message ---

Reply via email to