cpython: add isPy313, isPy314 helpers
This commit is contained in:
@@ -119,6 +119,8 @@ rec {
|
||||
isPy310 = pythonVersion == "3.10";
|
||||
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;
|
||||
|
||||
@@ -126,6 +126,8 @@ in
|
||||
isPy310
|
||||
isPy311
|
||||
isPy312
|
||||
isPy313
|
||||
isPy314
|
||||
isPy3k
|
||||
isPyPy
|
||||
pythonAtLeast
|
||||
|
||||
Reference in New Issue
Block a user