From 4bd2716b3a6eeb3e0cecd5ee6e742ee262dd179c Mon Sep 17 00:00:00 2001 From: Reno Dakota Date: Sat, 21 Dec 2024 07:59:11 -0800 Subject: [PATCH] python313Packages.dnspython: don't run tests that connect to internet --- pkgs/development/python-modules/dnspython/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/dnspython/default.nix b/pkgs/development/python-modules/dnspython/default.nix index fa2a2565e9164..a41087b49d6eb 100644 --- a/pkgs/development/python-modules/dnspython/default.nix +++ b/pkgs/development/python-modules/dnspython/default.nix @@ -1,4 +1,5 @@ { + stdenv, lib, aioquic, buildPythonPackage, @@ -55,6 +56,11 @@ buildPythonPackage rec { checkInputs = [ cacert ] ++ optional-dependencies.DNSSEC; + # don't run live tests + env = lib.optionalAttrs stdenv.hostPlatform.isDarwin { + NO_INTERNET = 1; + }; + disabledTests = [ # dns.exception.SyntaxError: protocol not found "test_misc_good_WKS_text"