diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2022-02-25 14:04:07 +0100 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2022-02-25 14:04:07 +0100 |
commit | 51ef95e6faa8efd644424dd72796e1bb9997983c (patch) | |
tree | e5880c0d65467635d2b05e306f0b698ed27681e5 /pkgs/development/python-modules/dask | |
parent | e67331103e23dc2a2ee44dbf0e093bcdda417462 (diff) |
python3.pkgs.dask: don't offer an option for extras-require
Using such an option within the package set this way will result in different packages depending on different versions of dask and thereby collisions. Instead, we can simply declare in the package offering the extras the packages the extra needs.
Diffstat (limited to 'pkgs/development/python-modules/dask')
-rw-r--r-- | pkgs/development/python-modules/dask/default.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/dask/default.nix b/pkgs/development/python-modules/dask/default.nix index 132753b1583f5..7af0eca747e81 100644 --- a/pkgs/development/python-modules/dask/default.nix +++ b/pkgs/development/python-modules/dask/default.nix @@ -18,7 +18,6 @@ , pythonOlder , pyyaml , toolz -, withExtraComplete ? false }: buildPythonPackage rec { @@ -46,9 +45,6 @@ buildPythonPackage rec { jinja2 bokeh numpy - ] ++ lib.optionals (withExtraComplete) [ - # infinite recursion between distributed and dask - distributed ]; doCheck = true; @@ -104,6 +100,10 @@ buildPythonPackage rec { "dask.diagnostics" ]; + passthru.extras-require = { + complete = [ distributed ]; + }; + meta = with lib; { description = "Minimal task scheduling abstraction"; homepage = "https://dask.org/"; |