pythonPackages.construct: Remove pytest-benchmark check dependency

No need to pull it in at all when the benchmarks are skipped anyways.
This commit is contained in:
Zhaofeng Li
2021-10-19 17:57:07 -07:00
committed by Jonathan Ringer
parent 8d3cdc9c2d
commit c2fb4222a8
2 changed files with 4 additions and 7 deletions

View File

@@ -22,11 +22,9 @@ buildPythonPackage rec {
lz4
];
checkInputs = [ pytestCheckHook pytest-benchmark numpy arrow ruamel-yaml cloudpickle ];
checkInputs = [ pytestCheckHook numpy arrow ruamel-yaml cloudpickle ];
disabledTests = lib.optionals stdenv.isDarwin [ "test_multiprocessing" ];
pytestFlagsArray = [ "--benchmark-disable" ];
disabledTests = [ "test_benchmarks" ] ++ lib.optionals stdenv.isDarwin [ "test_multiprocessing" ];
meta = with lib; {
description = "Powerful declarative parser (and builder) for binary data";