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:
@@ -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";
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user