python3: 3.10 -> 3.11

Updates the default python version to 3.11, while keeping 3.10 around
until after the NixOS 23.11 release.
This commit is contained in:
Martin Weinelt 2023-06-18 13:01:07 +02:00
parent 6626399ea9
commit d77e13848d
2 changed files with 3 additions and 3 deletions

View file

@ -127,7 +127,7 @@ in {
enableOptimizations = false;
enableLTO = false;
mimetypesSupport = false;
} // sources.python310)).overrideAttrs(old: {
} // sources.python311)).overrideAttrs(old: {
# TODO(@Artturin): Add this to the main cpython expr
strictDeps = true;
pname = "python3-minimal";

View file

@ -18045,11 +18045,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 = python310;
python3 = python311;
# pythonPackages further below, but assigned here because they need to be in sync
python2Packages = dontRecurseIntoAttrs python27Packages;
python3Packages = dontRecurseIntoAttrs python310Packages;
python3Packages = dontRecurseIntoAttrs python311Packages;
pypy = pypy2;
pypy2 = pypy27;