python3Packages.flufl_lock: fix darwin build

The code coverage requirement of 100% was too stringent on Darwin.

Since there is no way that we can address a lack of code coverage
downstream we remove this check.
This commit is contained in:
Noah D. Brenowitz 2021-05-12 01:06:40 -07:00
parent 55301e2cb3
commit 1473a2bf1a
No known key found for this signature in database
GPG Key ID: 55465F962E05AAD1

View File

@ -14,6 +14,11 @@ buildPythonPackage rec {
propagatedBuildInputs = [ atpublic psutil ];
checkInputs = [ pytestCheckHook pytestcov sybil ];
# disable code coverage checks for all OS. Upstream does not enforce these
# checks on Darwin, and code coverage cannot be improved downstream nor is it
# relevant to the user.
pytestFlagsArray = [ "--no-cov" ];
meta = with lib; {
homepage = "https://flufllock.readthedocs.io/";
description = "NFS-safe file locking with timeouts for POSIX and Windows";