mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-16 15:58:36 +00:00
python3: 3.8 -> 3.9
This commit is contained in:
parent
a28ba52cac
commit
94cd70bae2
|
@ -8,7 +8,7 @@
|
|||
|
||||
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
|
||||
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
|
||||
specific versions, e.g. `python38` refers to CPython 3.8, and `pypy` refers to
|
||||
the default PyPy interpreter.
|
||||
|
|
|
@ -118,7 +118,7 @@ with pkgs;
|
|||
};
|
||||
|
||||
sources = {
|
||||
"python38" = {
|
||||
python38 = {
|
||||
sourceVersion = {
|
||||
major = "3";
|
||||
minor = "8";
|
||||
|
@ -127,6 +127,15 @@ with pkgs;
|
|||
};
|
||||
sha256 = "1n8rjb3jn0j8dvi1qn94rxayc9rh982d8wgkrjy41n1x15k4mwka";
|
||||
};
|
||||
python39 = {
|
||||
sourceVersion = {
|
||||
major = "3";
|
||||
minor = "9";
|
||||
patch = "5";
|
||||
suffix = "";
|
||||
};
|
||||
sha256 = "10vdf46q5ldnzkprm8pldvr5a9hrdpxjv7mpzgdw6vj3cl318nhc";
|
||||
};
|
||||
};
|
||||
|
||||
in {
|
||||
|
@ -176,18 +185,11 @@ in {
|
|||
inherit passthruFun;
|
||||
} // sources.python38);
|
||||
|
||||
python39 = callPackage ./cpython {
|
||||
python39 = callPackage ./cpython ({
|
||||
self = python39;
|
||||
sourceVersion = {
|
||||
major = "3";
|
||||
minor = "9";
|
||||
patch = "5";
|
||||
suffix = "";
|
||||
};
|
||||
sha256 = "10vdf46q5ldnzkprm8pldvr5a9hrdpxjv7mpzgdw6vj3cl318nhc";
|
||||
inherit (darwin) configd;
|
||||
inherit passthruFun;
|
||||
};
|
||||
} // sources.python39);
|
||||
|
||||
python310 = callPackage ./cpython {
|
||||
self = python310;
|
||||
|
@ -224,7 +226,7 @@ in {
|
|||
includeSiteCustomize = false;
|
||||
enableOptimizations = false;
|
||||
mimetypesSupport = false;
|
||||
} // sources.python38)).overrideAttrs(old: {
|
||||
} // sources.python39)).overrideAttrs(old: {
|
||||
pname = "python3-minimal";
|
||||
meta = old.meta // {
|
||||
maintainers = [];
|
||||
|
|
|
@ -12500,7 +12500,7 @@ in
|
|||
# When switching these sets, please update docs at ../../doc/languages-frameworks/python.md
|
||||
python = python2;
|
||||
python2 = python27;
|
||||
python3 = python38;
|
||||
python3 = python39;
|
||||
pypy = pypy2;
|
||||
pypy2 = pypy27;
|
||||
pypy3 = pypy36;
|
||||
|
|
Loading…
Reference in a new issue