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:
parent
8d3cdc9c2d
commit
c2fb4222a8
|
@ -14,7 +14,7 @@ buildPythonPackage rec {
|
|||
sha256 = "1mqspsn6bf3ibvih1zna2glkg8iw7vy5zg9gzg0d1m8zcndk2c48";
|
||||
};
|
||||
|
||||
checkInputs = [ pytestCheckHook pytest-benchmark enum34 numpy ];
|
||||
checkInputs = [ pytestCheckHook enum34 numpy ];
|
||||
|
||||
# these have dependencies that are broken on Python 2
|
||||
disabledTestPaths = [
|
||||
|
@ -24,13 +24,12 @@ buildPythonPackage rec {
|
|||
];
|
||||
|
||||
disabledTests = [
|
||||
"test_benchmarks"
|
||||
"test_timestamp"
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
"test_multiprocessing"
|
||||
];
|
||||
|
||||
pytestFlagsArray = [ "--benchmark-disable" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Powerful declarative parser (and builder) for binary data";
|
||||
homepage = "https://construct.readthedocs.org/";
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue