Skip to content

Commit

Permalink
python3: 3.10 -> 3.11
Browse files Browse the repository at this point in the history
Updates the default python version to 3.11, while keeping 3.10 around
until after the NixOS 23.11 release.
  • Loading branch information
mweinelt committed Sep 27, 2023
1 parent 6626399 commit d77e138
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkgs/development/interpreters/python/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
4 changes: 2 additions & 2 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d77e138

Please sign in to comment.