#1146362 dnspython: FTBFS against python 3.15rc1

Package:
src:dnspython
Source:
src:dnspython
Submitter:
Maximiliano Curia
Date:
2026-08-31 19:07:02 UTC
Severity:
normal
Tags:
#1146362#5
Date:
2026-08-31 19:04:54 UTC
From:
To:
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/