python3: 3.12.10 -> 3.13.3

Updates the default Python version to 3.13 for the NixOS 25.11 release
cycle. We still keep recursing into python312Packages and
python313Packages.
This commit is contained in:
Martin Weinelt
2025-05-15 04:50:50 +02:00
parent 4b927f15fb
commit 033d93e793
3 changed files with 46 additions and 46 deletions

View File

@@ -17,14 +17,14 @@
passthruFun = import ./passthrufun.nix args;
sources = {
python312 = {
python313 = {
sourceVersion = {
major = "3";
minor = "12";
patch = "10";
minor = "13";
patch = "3";
suffix = "";
};
hash = "sha256-B6tpdHRZXgbwZkdBfTx/qX3tB6/Bp+RFTFY5kZtG6uo=";
hash = "sha256-QPhovL3rgUmjFJWAu5v9QHszIc1I8L5jGvlVrJLA4EE=";
};
};
@@ -67,26 +67,26 @@
inherit passthruFun;
};
python312 = callPackage ./cpython (
{
self = __splicedPackages.python312;
inherit passthruFun;
}
// sources.python312
);
python313 = callPackage ./cpython {
self = __splicedPackages.python313;
python312 = callPackage ./cpython {
self = __splicedPackages.python312;
sourceVersion = {
major = "3";
minor = "13";
patch = "3";
minor = "12";
patch = "10";
suffix = "";
};
hash = "sha256-QPhovL3rgUmjFJWAu5v9QHszIc1I8L5jGvlVrJLA4EE=";
hash = "sha256-B6tpdHRZXgbwZkdBfTx/qX3tB6/Bp+RFTFY5kZtG6uo=";
inherit passthruFun;
};
python313 = callPackage ./cpython (
{
self = __splicedPackages.python313;
inherit passthruFun;
}
// sources.python313
);
python314 = callPackage ./cpython {
self = __splicedPackages.python314;
sourceVersion = {
@@ -139,7 +139,7 @@
"libffi"
];
}
// sources.python312
// sources.python313
)).overrideAttrs
(old: {
# TODO(@Artturin): Add this to the main cpython expr