diff options
author | Gabriella Gonzalez <GenuineGabriella@gmail.com> | 2023-02-27 12:39:53 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-27 12:39:53 -0800 |
commit | 509f32d9c9262cb76f06d21a811b1bb2f3399ef6 (patch) | |
tree | 77e765aeaa947116a2ecd96b12dc589c2efcd533 | |
parent | 57b5ae9ac87d052f0d8fac34c2b22814454cb8ec (diff) |
python3Packages.dnspython: fix tests (again) (#218662)
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.
-rw-r--r-- | pkgs/development/python-modules/dnspython/default.nix | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/dnspython/default.nix b/pkgs/development/python-modules/dnspython/default.nix index 30a220fd6da84..01e3dd2cb55e3 100644 --- a/pkgs/development/python-modules/dnspython/default.nix +++ b/pkgs/development/python-modules/dnspython/default.nix @@ -64,10 +64,8 @@ buildPythonPackage rec { ]; checkInputs = [ - ] ++ passthru.optional-dependencies.DNSSEC - ++ lib.optionals stdenv.isDarwin [ cacert - ]; + ] ++ passthru.optional-dependencies.DNSSEC; disabledTests = [ # dns.exception.SyntaxError: protocol not found |