1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 23:20:55 +00:00

Merge pull request #125460 from marsam/fix-python-redis-lock-darwin

python38Packages.python-redis-lock: fix build on darwin
This commit is contained in:
Mario Rodas 2021-06-20 10:23:39 -05:00 committed by GitHub
commit 84d4666a2e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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; {