Skip to content

Commit

Permalink
python3Packages.dnspython: fix tests (again) (#3)
Browse files Browse the repository at this point in the history
This is essentially the same fix as NixOS#161740, except not just for macOS.

The `dnspython` build was failing on Linux with a certificate
verification failure just like in NixOS#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.
  • Loading branch information
Gabriella439 authored and wavewave committed Mar 12, 2024
1 parent d5363b6 commit 4604e3e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkgs/development/python-modules/dnspython/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ buildPythonPackage rec {

nativeCheckInputs = [
pytestCheckHook
cacert
];

checkInputs = [
Expand Down

0 comments on commit 4604e3e

Please sign in to comment.