From beff245878325f7013320dfc11b5a2af27523880 Mon Sep 17 00:00:00 2001 From: seb314 Date: Tue, 6 Feb 2024 20:36:20 +0100 Subject: [PATCH] python3Packages.piep: enable for python3 This re-enables the piep package for python3, as piep v0.10.0 (the current version) works fine with python3. The `disabled = isPy3k` line had been added for an earlier version of piep. Here, I chose not to remove the `disabled = ...` line, but to change to condition to `!isPy3k`, because https://github.com/timbertson/piep/commit/a5594a4e6a163d1ac3f7f95e1146bf4d8372344d and https://github.com/timbertson/piep/blob/9c032f593bbcb977b3b6048081bfa482dfe9a148/piep/main.py#L1 seem to indicate that piep no longer works with python2. --- pkgs/development/python-modules/piep/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/piep/default.nix b/pkgs/development/python-modules/piep/default.nix index 0825380a925b..ec3a9f5ec53c 100644 --- a/pkgs/development/python-modules/piep/default.nix +++ b/pkgs/development/python-modules/piep/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { version = "0.10.0"; format = "setuptools"; pname = "piep"; - disabled = isPy3k; + disabled = !isPy3k; src = fetchPypi { inherit pname version;