diff options
author | Pol Dellaiera <pol.dellaiera@protonmail.com> | 2024-05-12 17:21:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-12 17:21:55 +0200 |
commit | fbc8eb34d0083d35a227f32fbfcf7e49b60e533c (patch) | |
tree | 3ded8076df91931fba6480c7e608b26689f8b1d5 /pkgs | |
parent | 7f495fa0693f8bf77b0b300951c5ea6ef7883cb9 (diff) | |
parent | ff97cbbef989d1bc3f90f2a73a2463367b337920 (diff) |
Merge pull request #310935 from GaetanLepage/dask-yarn
python311Packages.dask-yarn: mark as unsupported on python 3.12
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/dask-yarn/default.nix | 27 |
1 files changed, 19 insertions, 8 deletions
diff --git a/pkgs/development/python-modules/dask-yarn/default.nix b/pkgs/development/python-modules/dask-yarn/default.nix index acea511b24952..c14f52aa43c97 100644 --- a/pkgs/development/python-modules/dask-yarn/default.nix +++ b/pkgs/development/python-modules/dask-yarn/default.nix @@ -1,20 +1,22 @@ { lib -, stdenv , buildPythonPackage -, dask -, distributed +, pythonOlder , fetchFromGitHub , fetchpatch +, setuptools +, versioneer +, dask +, distributed , grpcio -, pytestCheckHook -, pythonOlder , skein +, pytestCheckHook +, stdenv }: buildPythonPackage rec { pname = "dask-yarn"; version = "0.9"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.7"; @@ -33,9 +35,18 @@ buildPythonPackage rec { }) ]; - propagatedBuildInputs = [ - distributed + postPatch = '' + rm versioneer.py + ''; + + build-system = [ + setuptools + versioneer + ]; + + dependencies = [ dask + distributed grpcio skein ]; |