Merge pull request #244063 from reckenrode/maxminddb-fix

python3Packages.maxminddb: fix build on Darwin
This commit is contained in:
Weijia Wang 2023-07-18 12:51:17 +03:00 committed by GitHub
commit 897f5b1ad1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -31,6 +31,10 @@ buildPythonPackage rec {
"maxminddb"
];
# The multiprocessing tests fail on Darwin because multiprocessing uses spawn instead of fork,
# resulting in an exception when it cant pickle the `lookup` local function.
disabledTests = lib.optionals stdenv.isDarwin [ "multiprocessing" ];
meta = with lib; {
description = "Reader for the MaxMind DB format";
homepage = "https://github.com/maxmind/MaxMind-DB-Reader-python";