Skip to content

Commit

Permalink
Python 3 is now an alias of 3.6 instead of 3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
FRidh committed Apr 30, 2017
1 parent 9860e77 commit 66f7398
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -6070,7 +6070,7 @@ with pkgs;
# available as `pythonPackages.tkinter` and can be used as any other Python package.
python = python2;
python2 = python27;
python3 = python35;
python3 = python36;

# Python interpreter that is build with all modules, including tkinter.
# These are for compatibility and should not be used inside Nixpkgs.
Expand All @@ -6084,9 +6084,9 @@ with pkgs;
python36Full = python36.override{x11Support=true;};

# pythonPackages further below, but assigned here because they need to be in sync
pythonPackages = python2Packages;
python2Packages = python27Packages;
python3Packages = python35Packages;
pythonPackages = python.pkgs;
python2Packages = python2.pkgs;
python3Packages = python3.pkgs;

python27 = callPackage ../development/interpreters/python/cpython/2.7 {
self = python27;
Expand All @@ -6096,14 +6096,14 @@ with pkgs;
self = python33;
inherit (darwin) CF configd;
};
python34 = hiPrio (callPackage ../development/interpreters/python/cpython/3.4 {
python34 = callPackage ../development/interpreters/python/cpython/3.4 {
inherit (darwin) CF configd;
self = python34;
});
python35 = hiPrio (callPackage ../development/interpreters/python/cpython/3.5 {
};
python35 = callPackage ../development/interpreters/python/cpython/3.5 {
inherit (darwin) CF configd;
self = python35;
});
};
python36 = callPackage ../development/interpreters/python/cpython/3.6 {
inherit (darwin) CF configd;
self = python36;
Expand Down Expand Up @@ -10556,9 +10556,9 @@ with pkgs;

python34Packages = python34.pkgs;

python35Packages = recurseIntoAttrs python35.pkgs;
python35Packages = python35.pkgs;

python36Packages = python36.pkgs;
python36Packages = recurseIntoAttrs python36.pkgs;

pypyPackages = pypy.pkgs;

Expand Down

0 comments on commit 66f7398

Please sign in to comment.