python38Packages.python-redis-lock: fix build on darwin

This commit is contained in:
Mario Rodas 2021-06-03 04:20:00 +00:00
parent d8a76e3dc1
commit 4af9ec199f

View File

@ -1,4 +1,5 @@
{ lib
, stdenv
, buildPythonPackage
, fetchPypi
, redis
@ -30,6 +31,10 @@ buildPythonPackage rec {
disabledTests = [
# https://github.com/ionelmc/python-redis-lock/issues/86
"test_no_overlap2"
] ++ lib.optionals stdenv.isDarwin [
# fail on Darwin because it defaults to multiprocessing `spawn`
"test_reset_signalizes"
"test_reset_all_signalizes"
];
meta = with lib; {