python3Packages.dask: disable network tests
There were hydra failures (https://hydra.nixos.org/build/141870744/nixlog/1) for some tests requiring data on github (failing on mac and linux), and tests requiring local network access on mac. Disable the former and enable the latter.
This commit is contained in:
parent
672912f73e
commit
fc98e85759
|
@ -72,7 +72,10 @@ buildPythonPackage rec {
|
||||||
--replace "cmdclass=versioneer.get_cmdclass()," ""
|
--replace "cmdclass=versioneer.get_cmdclass()," ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
pytestFlagsArray = [ "-n $NIX_BUILD_CORES" ];
|
pytestFlagsArray = [
|
||||||
|
"-n $NIX_BUILD_CORES"
|
||||||
|
"-m 'not network'"
|
||||||
|
];
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
"test_annotation_pack_unpack"
|
"test_annotation_pack_unpack"
|
||||||
|
@ -82,6 +85,8 @@ buildPythonPackage rec {
|
||||||
"test_auto_blocksize_csv"
|
"test_auto_blocksize_csv"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
__darwinAllowLocalNetworking = true;
|
||||||
|
|
||||||
pythonImportsCheck = [ "dask.dataframe" "dask" "dask.array" ];
|
pythonImportsCheck = [ "dask.dataframe" "dask" "dask.array" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue