diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2024-04-19 10:35:48 +0200 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2024-04-19 10:35:48 +0200 |
commit | da03c8fb0a127580ccb95d4430f8f1f67a89cf38 (patch) | |
tree | c82da2cfb1bb961eb41f2a993ad2aaa622e2874d /pkgs/development | |
parent | 6ad1fe08582fcdfedb2cb7c31b4a016a227bd38a (diff) |
python312Packages.cytoolz: fix build
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/cytoolz/default.nix | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/cytoolz/default.nix b/pkgs/development/python-modules/cytoolz/default.nix index 64ac6ad9dfd01..afa9152c9babf 100644 --- a/pkgs/development/python-modules/cytoolz/default.nix +++ b/pkgs/development/python-modules/cytoolz/default.nix @@ -4,6 +4,7 @@ , isPyPy , pytestCheckHook , cython +, setuptools , toolz , python , isPy27 @@ -12,7 +13,8 @@ buildPythonPackage rec { pname = "cytoolz"; version = "0.12.3"; - format = "setuptools"; + pyproject = true; + disabled = isPy27 || isPyPy; src = fetchPypi { @@ -20,7 +22,10 @@ buildPythonPackage rec { hash = "sha256-RQPcWfTO1TpUZDJyxh3DBdHbv719a98paUjenzTDooI="; }; - nativeBuildInputs = [ cython ]; + nativeBuildInputs = [ + cython + setuptools + ]; propagatedBuildInputs = [ toolz ]; @@ -31,6 +36,11 @@ buildPythonPackage rec { export PYTHONPATH=$out/${python.sitePackages}:$PYTHONPATH ''; + disabledTests = [ + # https://github.com/pytoolz/cytoolz/issues/200 + "test_inspect_wrapped_property" + ]; + nativeCheckInputs = [ pytestCheckHook ]; meta = with lib; { |