treewide: remove isPy27 and isPy2 flags

This commit is contained in:
Aliaksandr
2026-05-04 00:17:19 +03:00
parent cfaddae52a
commit 574bf7de39
73 changed files with 5 additions and 185 deletions
@@ -109,12 +109,10 @@ let
);
in
rec {
isPy27 = pythonVersion == "2.7";
isPy311 = pythonVersion == "3.11";
isPy312 = pythonVersion == "3.12";
isPy313 = pythonVersion == "3.13";
isPy314 = pythonVersion == "3.14";
isPy2 = lib.strings.substring 0 1 pythonVersion == "2";
isPy3 = lib.strings.substring 0 1 pythonVersion == "3";
isPy3k = isPy3;
isPyPy = lib.hasInfix "pypy" interpreter;
@@ -190,7 +190,6 @@ in
{
inherit lib pkgs stdenv;
inherit (python.passthru)
isPy27
isPy311
isPy312
isPy313