From e28313352094a8029c2cb9b10dac4dd812508cea Mon Sep 17 00:00:00 2001 From: Tom Hunger Date: Sun, 20 Sep 2020 22:30:50 +0100 Subject: [PATCH] distributed: disable build for Python older than 3.6 --- pkgs/development/python-modules/distributed/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/distributed/default.nix b/pkgs/development/python-modules/distributed/default.nix index fe4213d13f0..91f6f06f6d9 100644 --- a/pkgs/development/python-modules/distributed/default.nix +++ b/pkgs/development/python-modules/distributed/default.nix @@ -23,6 +23,7 @@ , singledispatch , mpi4py , bokeh +, pythonOlder }: buildPythonPackage rec { @@ -35,11 +36,13 @@ buildPythonPackage rec { sha256 = "469e505fd7ce75f600188bdb69a95641899d5b372f74246c8f308376b6929e9c"; }; + disabled = pythonOlder "3.6"; + checkInputs = [ pytest pytest-repeat pytest-timeout mock joblib ]; propagatedBuildInputs = [ click cloudpickle dask msgpack psutil six sortedcontainers tblib toolz tornado zict pyyaml mpi4py bokeh - ] ++ lib.optionals (!isPy3k) [ futures singledispatch ]; + ]; # tests take about 10-15 minutes # ignore 5 cli tests out of 1000 total tests that fail due to subprocesses