You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The python package in nixpkgs which is most equivalent to the original Python[38]https://www.python.org/ should be called via pkgs.python[38]
Adapt the standardized way of naming/semantic with Python in nixpkgs.
The current Naming/Semantic of Python in nixpkgs is against the usual/standardized way of calling Python
-> that seems easy to workaround (like installing nixpkgs tkinter) if the environment is very small and without further tooling from nixos/nixpkgs ecosystem but can high complexity in an advanced environment within other tools of the nix ecosystem like mach-nix - as to say it makes debugging way more complex if the interpreter does not know about "packages installed" with are not installed
e.g. tkinter is not contained in pkgs.python38 (but it is an essential part the original Python[38]https://www.python.org/)
-> the naming as pkgs.python[38] is misleading because it is build to NOT represent the original Python[38]
but pkgs.python[38]Full tries to represent the original Python[38] -> that's why this package should be called pkgs.python[38] in nixpkgs
the shortened packages version of python should be called minimal because that was one of the main reasons for the change in 2016
the technology standard could be seen as well at docker
there you have the original Python[38] called python:3.8
and besides that there are manipulated/shortened Python variants (e.g. due to reasons of size) - those get a suffix like -slim e.g. python:3.8-slim
Expected behavior
If a developer uses NixOS/nix/nixpkgs he/she expects to get a derivative (most adequate to) the original Python[38] when calling pkgs.python[38] (not the minimal version of python)
I know that the size then will be a big bigger, but thats shouldn't be any issue for keeping the general naming convention - e.g. the pkgs.python[38] can be renamed to pkgs.python[38]-slim
Describe the bug
The python package in nixpkgs which is most equivalent to the
original Python[38]
https://www.python.org/ should be called viapkgs.python[38]
Adapt the standardized way of naming/semantic with Python in nixpkgs.
The current Naming/Semantic of Python in nixpkgs is against the usual/standardized way of calling Python
Like in the discussion in 2016 the minimal python should NOT be called python because that leads to confusion and mishandling
Additional context
see as well an issue example where
pkgs.python38
does not know about the pkgs cuts that have been placed on it in nixpkgs.-> that seems easy to workaround (like installing nixpkgs tkinter) if the environment is very small and without further tooling from nixos/nixpkgs ecosystem but can high complexity in an advanced environment within other tools of the nix ecosystem like mach-nix - as to say it makes debugging way more complex if the interpreter does not know about "packages installed" with are not installed
To Reproduce
In NixOs/nixpkgs
e.g. tkinter is not contained in
pkgs.python38
(but it is an essential part theoriginal Python[38]
https://www.python.org/)-> the naming as
pkgs.python[38]
is misleading because it is build to NOT represent theoriginal Python[38]
pkgs.python[38]Full
tries to represent theoriginal Python[38]
-> that's why this package should be calledpkgs.python[38]
in nixpkgsthe technology standard could be seen as well at
docker
python:3.8
-slim
e.g.python:3.8-slim
docker run --rm -it python:3.8 python -c "import tkinter; print(tkinter.__name__) "
vs:
docker run --rm -it python:3.8-slim python -c "import tkinter; print(tkinter.__name__) "
Expected behavior
If a developer uses NixOS/nix/nixpkgs he/she expects to get a derivative (most adequate to) the
original Python[38]
when callingpkgs.python[38]
(not the minimal version of python)I know that the size then will be a big bigger, but thats shouldn't be any issue for keeping the general naming convention - e.g. the
pkgs.python[38]
can be renamed topkgs.python[38]-slim
Notify maintainers
@FRidh
Maintainer information:
The text was updated successfully, but these errors were encountered: