python3: 3.13 -> 3.14

For 26.11 Python 3.14 will be the default Python release while 3.13 is
mostly provided for legacy compat.
This commit is contained in:
Martin Weinelt 2026-05-11 22:18:34 +02:00
commit adb4fccdc7
2 changed files with 20 additions and 20 deletions

View file

@ -16,14 +16,14 @@
passthruFun = import ./passthrufun.nix args;
sources = {
python313 = {
python314 = {
sourceVersion = {
major = "3";
minor = "13";
patch = "13";
minor = "14";
patch = "5";
suffix = "";
};
hash = "sha256-Krkf9AF4PMymT3XRDIgulXvf1g4r9acvhCF5Nym3inE=";
hash = "sha256-fjJZe5nl2aOavtNd5Gk/oWnfPlhQ1MM0M3/9ahmjbbY=";
};
};
@ -66,26 +66,26 @@
inherit passthruFun;
};
python313 = callPackage ./cpython (
{
self = __splicedPackages.python313;
inherit passthruFun;
}
// sources.python313
);
python314 = callPackage ./cpython {
self = __splicedPackages.python314;
python313 = callPackage ./cpython {
self = __splicedPackages.python313;
sourceVersion = {
major = "3";
minor = "14";
patch = "5";
minor = "13";
patch = "13";
suffix = "";
};
hash = "sha256-fjJZe5nl2aOavtNd5Gk/oWnfPlhQ1MM0M3/9ahmjbbY=";
hash = "sha256-Krkf9AF4PMymT3XRDIgulXvf1g4r9acvhCF5Nym3inE=";
inherit passthruFun;
};
python314 = callPackage ./cpython (
{
self = __splicedPackages.python314;
inherit passthruFun;
}
// sources.python314
);
python315 = callPackage ./cpython {
self = __splicedPackages.python315;
sourceVersion = {
@ -108,7 +108,7 @@
# strip down that python version as much as possible
withMinimalDeps = true;
}
// sources.python313
// sources.python314
)).overrideAttrs
(old: {
# TODO(@Artturin): Add this to the main cpython expr

View file

@ -4899,11 +4899,11 @@ with pkgs;
# available as `pythonPackages.tkinter` and can be used as any other Python package.
# When switching these sets, please update docs at ../../doc/languages-frameworks/python.md
python2 = python27;
python3 = python313;
python3 = python314;
# pythonPackages further below, but assigned here because they need to be in sync
python2Packages = dontRecurseIntoAttrs python27Packages;
python3Packages = dontRecurseIntoAttrs python313Packages;
python3Packages = dontRecurseIntoAttrs python314Packages;
pypy = pypy2;
pypy2 = pypy27;