Re: Require packages to build without any configured DNS
On Mon, 06 Sep 2021, Mattia Rizzolo wrote:
> It must be noted that no actual network operation happen, so this
> doesn't fall into the "no network activity" bucket.
>
> This is the bug that was filed against dnspython: https://bugs.debian.org/989171
>
> Do anybody on the list have any opinion on where is the bug, on
> dnspython, or on the build environment?
Do you know why dnspython doesn't just fall back to socket.getaddrinfo
if it can't parse /etc/resolv.conf [or maybe why python applications
using dnspython don't fall back to that if dnspython fails?]
That seems like the right default unless you really, really need to talk
to a full-fledged DNS server directly.
--
Don Armstrong https://www.donarmstrong.com
He quite enjoyed the time by himself in the mornings. The day was too
early to have started going really wrong.
-- Terry Pratchet _Only You Can Save Mankind_ p133
Reply to: