diff options
author | Noah D. Brenowitz <nbren12@gmail.com> | 2021-05-12 01:06:40 -0700 |
---|---|---|
committer | Noah D. Brenowitz <nbren12@gmail.com> | 2021-05-18 08:27:25 -0700 |
commit | 1473a2bf1a541b4b791a5bb98bd88d312da752e1 (patch) | |
tree | 01d64a83208a5e2f0b916a35c415cdb5d7e24cfb | |
parent | 55301e2cb383eb205edf319b5ba0cbafcdea2b35 (diff) | |
download | nixpkgs-1473a2bf1a541b4b791a5bb98bd88d312da752e1.tar nixpkgs-1473a2bf1a541b4b791a5bb98bd88d312da752e1.tar.gz nixpkgs-1473a2bf1a541b4b791a5bb98bd88d312da752e1.tar.bz2 nixpkgs-1473a2bf1a541b4b791a5bb98bd88d312da752e1.tar.lz nixpkgs-1473a2bf1a541b4b791a5bb98bd88d312da752e1.tar.xz nixpkgs-1473a2bf1a541b4b791a5bb98bd88d312da752e1.tar.zst nixpkgs-1473a2bf1a541b4b791a5bb98bd88d312da752e1.zip |
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.
-rw-r--r-- | pkgs/development/python-modules/flufl/lock.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/flufl/lock.nix b/pkgs/development/python-modules/flufl/lock.nix index b44a7f3cdfe..ce2ead246f9 100644 --- a/pkgs/development/python-modules/flufl/lock.nix +++ b/pkgs/development/python-modules/flufl/lock.nix @@ -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"; |