From ceed997bebdaef0ec3a2e78988fc7b67ba9b098b Mon Sep 17 00:00:00 2001 From: Gabriella Gonzalez Date: Mon, 27 Feb 2023 12:10:59 -0800 Subject: [PATCH] python3Packages.dnspython: fix tests (again) (#3) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is essentially the same fix as #161740, except not just for macOS. The `dnspython` build was failing on Linux with a certificate verification failure just like in #161740: ```ShellSession $ nix build nixpkgs#python3Packages.dnspython --rebuild error: builder for '/nix/store/c1v553fzq3yybsd0lm398qf87jmy47qd-python3.10-dnspython-2.3.0.drv' failed with exit code 1; last 10 log lines: > > /nix/store/iw1vmh509hcbby8dbpsaanbri4zsq7dj-python3-3.10.10/lib/python3.10/ssl.py:1342: SSLCertVerificationError … ``` … and this change fixes that build failure. --- pkgs/development/python-modules/dnspython/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/dnspython/default.nix b/pkgs/development/python-modules/dnspython/default.nix index 01e3dd2cb55e3..2342c310dea43 100644 --- a/pkgs/development/python-modules/dnspython/default.nix +++ b/pkgs/development/python-modules/dnspython/default.nix @@ -61,6 +61,7 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook + cacert ]; checkInputs = [