python3: 3.8 -> 3.9
This commit is contained in:
committed by
Jonathan Ringer
parent
a28ba52cac
commit
94cd70bae2
@@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
Several versions of the Python interpreter are available on Nix, as well as a
|
Several versions of the Python interpreter are available on Nix, as well as a
|
||||||
high amount of packages. The attribute `python3` refers to the default
|
high amount of packages. The attribute `python3` refers to the default
|
||||||
interpreter, which is currently CPython 3.8. The attribute `python` refers to
|
interpreter, which is currently CPython 3.9. The attribute `python` refers to
|
||||||
CPython 2.7 for backwards-compatibility. It is also possible to refer to
|
CPython 2.7 for backwards-compatibility. It is also possible to refer to
|
||||||
specific versions, e.g. `python38` refers to CPython 3.8, and `pypy` refers to
|
specific versions, e.g. `python38` refers to CPython 3.8, and `pypy` refers to
|
||||||
the default PyPy interpreter.
|
the default PyPy interpreter.
|
||||||
|
|||||||
@@ -118,7 +118,7 @@ with pkgs;
|
|||||||
};
|
};
|
||||||
|
|
||||||
sources = {
|
sources = {
|
||||||
"python38" = {
|
python38 = {
|
||||||
sourceVersion = {
|
sourceVersion = {
|
||||||
major = "3";
|
major = "3";
|
||||||
minor = "8";
|
minor = "8";
|
||||||
@@ -127,6 +127,15 @@ with pkgs;
|
|||||||
};
|
};
|
||||||
sha256 = "1n8rjb3jn0j8dvi1qn94rxayc9rh982d8wgkrjy41n1x15k4mwka";
|
sha256 = "1n8rjb3jn0j8dvi1qn94rxayc9rh982d8wgkrjy41n1x15k4mwka";
|
||||||
};
|
};
|
||||||
|
python39 = {
|
||||||
|
sourceVersion = {
|
||||||
|
major = "3";
|
||||||
|
minor = "9";
|
||||||
|
patch = "5";
|
||||||
|
suffix = "";
|
||||||
|
};
|
||||||
|
sha256 = "10vdf46q5ldnzkprm8pldvr5a9hrdpxjv7mpzgdw6vj3cl318nhc";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
in {
|
in {
|
||||||
@@ -176,18 +185,11 @@ in {
|
|||||||
inherit passthruFun;
|
inherit passthruFun;
|
||||||
} // sources.python38);
|
} // sources.python38);
|
||||||
|
|
||||||
python39 = callPackage ./cpython {
|
python39 = callPackage ./cpython ({
|
||||||
self = python39;
|
self = python39;
|
||||||
sourceVersion = {
|
|
||||||
major = "3";
|
|
||||||
minor = "9";
|
|
||||||
patch = "5";
|
|
||||||
suffix = "";
|
|
||||||
};
|
|
||||||
sha256 = "10vdf46q5ldnzkprm8pldvr5a9hrdpxjv7mpzgdw6vj3cl318nhc";
|
|
||||||
inherit (darwin) configd;
|
inherit (darwin) configd;
|
||||||
inherit passthruFun;
|
inherit passthruFun;
|
||||||
};
|
} // sources.python39);
|
||||||
|
|
||||||
python310 = callPackage ./cpython {
|
python310 = callPackage ./cpython {
|
||||||
self = python310;
|
self = python310;
|
||||||
@@ -224,7 +226,7 @@ in {
|
|||||||
includeSiteCustomize = false;
|
includeSiteCustomize = false;
|
||||||
enableOptimizations = false;
|
enableOptimizations = false;
|
||||||
mimetypesSupport = false;
|
mimetypesSupport = false;
|
||||||
} // sources.python38)).overrideAttrs(old: {
|
} // sources.python39)).overrideAttrs(old: {
|
||||||
pname = "python3-minimal";
|
pname = "python3-minimal";
|
||||||
meta = old.meta // {
|
meta = old.meta // {
|
||||||
maintainers = [];
|
maintainers = [];
|
||||||
|
|||||||
@@ -12500,7 +12500,7 @@ in
|
|||||||
# When switching these sets, please update docs at ../../doc/languages-frameworks/python.md
|
# When switching these sets, please update docs at ../../doc/languages-frameworks/python.md
|
||||||
python = python2;
|
python = python2;
|
||||||
python2 = python27;
|
python2 = python27;
|
||||||
python3 = python38;
|
python3 = python39;
|
||||||
pypy = pypy2;
|
pypy = pypy2;
|
||||||
pypy2 = pypy27;
|
pypy2 = pypy27;
|
||||||
pypy3 = pypy36;
|
pypy3 = pypy36;
|
||||||
|
|||||||
Reference in New Issue
Block a user