Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

python38: remove

The end of life for Python 3.8 is scheduled for 2024/10. As such it
cannot be a part of NixOS 24.05, because its support cycle goes past
that.

+17 -39
-2
doc/languages-frameworks/python.section.md
··· 7 | Package | Aliases | Interpreter | 8 |------------|-----------------|-------------| 9 | python27 | python2, python | CPython 2.7 | 10 - | python38 | | CPython 3.8 | 11 | python39 | | CPython 3.9 | 12 | python310 | | CPython 3.10 | 13 | python311 | python3 | CPython 3.11 | ··· 60 61 * `pkgs.python27Packages` 62 * `pkgs.python3Packages` 63 - * `pkgs.python38Packages` 64 * `pkgs.python39Packages` 65 * `pkgs.python310Packages` 66 * `pkgs.python311Packages`
··· 7 | Package | Aliases | Interpreter | 8 |------------|-----------------|-------------| 9 | python27 | python2, python | CPython 2.7 | 10 | python39 | | CPython 3.9 | 11 | python310 | | CPython 3.10 | 12 | python311 | python3 | CPython 3.11 | ··· 59 60 * `pkgs.python27Packages` 61 * `pkgs.python3Packages` 62 * `pkgs.python39Packages` 63 * `pkgs.python310Packages` 64 * `pkgs.python311Packages`
+4 -4
pkgs/development/compilers/gcc-arm-embedded/11/default.nix
··· 2 , stdenv 3 , fetchurl 4 , ncurses5 5 - , python38 6 , libxcrypt-legacy 7 , runtimeShell 8 }: ··· 40 find $out -type f | while read f; do 41 patchelf "$f" > /dev/null 2>&1 || continue 42 patchelf --set-interpreter $(cat ${stdenv.cc}/nix-support/dynamic-linker) "$f" || true 43 - patchelf --set-rpath ${lib.makeLibraryPath [ "$out" stdenv.cc.cc ncurses5 python38 libxcrypt-legacy ]} "$f" || true 44 done 45 ''; 46 ··· 48 mv $out/bin/arm-none-eabi-gdb $out/bin/arm-none-eabi-gdb-unwrapped 49 cat <<EOF > $out/bin/arm-none-eabi-gdb 50 #!${runtimeShell} 51 - export PYTHONPATH=${python38}/lib/python3.8 52 - export PYTHONHOME=${python38}/bin/python3.8 53 exec $out/bin/arm-none-eabi-gdb-unwrapped "\$@" 54 EOF 55 chmod +x $out/bin/arm-none-eabi-gdb
··· 2 , stdenv 3 , fetchurl 4 , ncurses5 5 + , python39 6 , libxcrypt-legacy 7 , runtimeShell 8 }: ··· 40 find $out -type f | while read f; do 41 patchelf "$f" > /dev/null 2>&1 || continue 42 patchelf --set-interpreter $(cat ${stdenv.cc}/nix-support/dynamic-linker) "$f" || true 43 + patchelf --set-rpath ${lib.makeLibraryPath [ "$out" stdenv.cc.cc ncurses5 python39 libxcrypt-legacy ]} "$f" || true 44 done 45 ''; 46 ··· 48 mv $out/bin/arm-none-eabi-gdb $out/bin/arm-none-eabi-gdb-unwrapped 49 cat <<EOF > $out/bin/arm-none-eabi-gdb 50 #!${runtimeShell} 51 + export PYTHONPATH=${python39}/lib/python3.9 52 + export PYTHONHOME=${python39.interpreter} 53 exec $out/bin/arm-none-eabi-gdb-unwrapped "\$@" 54 EOF 55 chmod +x $out/bin/arm-none-eabi-gdb
+4 -4
pkgs/development/compilers/gcc-arm-embedded/12/default.nix
··· 2 , stdenv 3 , fetchurl 4 , ncurses5 5 - , python38 6 , libxcrypt-legacy 7 , runtimeShell 8 }: ··· 42 find $out -type f | while read f; do 43 patchelf "$f" > /dev/null 2>&1 || continue 44 patchelf --set-interpreter $(cat ${stdenv.cc}/nix-support/dynamic-linker) "$f" || true 45 - patchelf --set-rpath ${lib.makeLibraryPath [ "$out" stdenv.cc.cc ncurses5 python38 libxcrypt-legacy ]} "$f" || true 46 done 47 ''; 48 ··· 50 mv $out/bin/arm-none-eabi-gdb $out/bin/arm-none-eabi-gdb-unwrapped 51 cat <<EOF > $out/bin/arm-none-eabi-gdb 52 #!${runtimeShell} 53 - export PYTHONPATH=${python38}/lib/python3.8 54 - export PYTHONHOME=${python38}/bin/python3.8 55 exec $out/bin/arm-none-eabi-gdb-unwrapped "\$@" 56 EOF 57 chmod +x $out/bin/arm-none-eabi-gdb
··· 2 , stdenv 3 , fetchurl 4 , ncurses5 5 + , python39 6 , libxcrypt-legacy 7 , runtimeShell 8 }: ··· 42 find $out -type f | while read f; do 43 patchelf "$f" > /dev/null 2>&1 || continue 44 patchelf --set-interpreter $(cat ${stdenv.cc}/nix-support/dynamic-linker) "$f" || true 45 + patchelf --set-rpath ${lib.makeLibraryPath [ "$out" stdenv.cc.cc ncurses5 python39 libxcrypt-legacy ]} "$f" || true 46 done 47 ''; 48 ··· 50 mv $out/bin/arm-none-eabi-gdb $out/bin/arm-none-eabi-gdb-unwrapped 51 cat <<EOF > $out/bin/arm-none-eabi-gdb 52 #!${runtimeShell} 53 + export PYTHONPATH=${python39}/lib/python3.9 54 + export PYTHONHOME=${python39.interpreter} 55 exec $out/bin/arm-none-eabi-gdb-unwrapped "\$@" 56 EOF 57 chmod +x $out/bin/arm-none-eabi-gdb
+4 -4
pkgs/development/compilers/gcc-arm-embedded/13/default.nix
··· 2 , stdenv 3 , fetchurl 4 , ncurses5 5 - , python38 6 , libxcrypt-legacy 7 , runtimeShell 8 }: ··· 42 find $out -type f | while read f; do 43 patchelf "$f" > /dev/null 2>&1 || continue 44 patchelf --set-interpreter $(cat ${stdenv.cc}/nix-support/dynamic-linker) "$f" || true 45 - patchelf --set-rpath ${lib.makeLibraryPath [ "$out" stdenv.cc.cc ncurses5 python38 libxcrypt-legacy ]} "$f" || true 46 done 47 ''; 48 ··· 50 mv $out/bin/arm-none-eabi-gdb $out/bin/arm-none-eabi-gdb-unwrapped 51 cat <<EOF > $out/bin/arm-none-eabi-gdb 52 #!${runtimeShell} 53 - export PYTHONPATH=${python38}/lib/python3.8 54 - export PYTHONHOME=${python38}/bin/python3.8 55 exec $out/bin/arm-none-eabi-gdb-unwrapped "\$@" 56 EOF 57 chmod +x $out/bin/arm-none-eabi-gdb
··· 2 , stdenv 3 , fetchurl 4 , ncurses5 5 + , python39 6 , libxcrypt-legacy 7 , runtimeShell 8 }: ··· 42 find $out -type f | while read f; do 43 patchelf "$f" > /dev/null 2>&1 || continue 44 patchelf --set-interpreter $(cat ${stdenv.cc}/nix-support/dynamic-linker) "$f" || true 45 + patchelf --set-rpath ${lib.makeLibraryPath [ "$out" stdenv.cc.cc ncurses5 python39 libxcrypt-legacy ]} "$f" || true 46 done 47 ''; 48 ··· 50 mv $out/bin/arm-none-eabi-gdb $out/bin/arm-none-eabi-gdb-unwrapped 51 cat <<EOF > $out/bin/arm-none-eabi-gdb 52 #!${runtimeShell} 53 + export PYTHONPATH=${python39}/lib/python3.9 54 + export PYTHONHOME=${python39.interpreter} 55 exec $out/bin/arm-none-eabi-gdb-unwrapped "\$@" 56 EOF 57 chmod +x $out/bin/arm-none-eabi-gdb
-13
pkgs/development/interpreters/python/default.nix
··· 42 inherit passthruFun; 43 }; 44 45 - python38 = callPackage ./cpython { 46 - self = __splicedPackages.python38; 47 - sourceVersion = { 48 - major = "3"; 49 - minor = "8"; 50 - patch = "18"; 51 - suffix = ""; 52 - }; 53 - hash = "sha256-P/txzTSaMmunsvrcfn34a6V33ZxJF+UqhAGtvadAXj8="; 54 - inherit (darwin) configd; 55 - inherit passthruFun; 56 - }; 57 - 58 python39 = callPackage ./cpython { 59 self = __splicedPackages.python39; 60 sourceVersion = {
··· 42 inherit passthruFun; 43 }; 44 45 python39 = callPackage ./cpython { 46 self = __splicedPackages.python39; 47 sourceVersion = {
+2 -2
pkgs/development/libraries/qt-5/modules/qtwebkit.nix
··· 2 , qtbase, qtdeclarative, qtlocation, qtmultimedia, qtsensors, qtwebchannel 3 , fontconfig, libwebp, libxml2, libxslt 4 , sqlite, systemd, glib, gst_all_1, cmake 5 - , bison, flex, gdb, gperf, perl, pkg-config, python38, ruby 6 , ICU, OpenGL 7 }: 8 ··· 26 ++ lib.optional stdenv.isDarwin qtmultimedia; 27 buildInputs = [ fontconfig libwebp libxml2 libxslt sqlite glib gst_all_1.gstreamer gst_all_1.gst-plugins-base hyphen ] 28 ++ lib.optionals stdenv.isDarwin [ ICU OpenGL ]; 29 - nativeBuildInputs = [ bison flex gdb gperf perl pkg-config python38 ruby cmake ]; 30 31 cmakeFlags = [ "-DPORT=Qt" ] 32 ++ lib.optionals stdenv.isDarwin [
··· 2 , qtbase, qtdeclarative, qtlocation, qtmultimedia, qtsensors, qtwebchannel 3 , fontconfig, libwebp, libxml2, libxslt 4 , sqlite, systemd, glib, gst_all_1, cmake 5 + , bison, flex, gdb, gperf, perl, pkg-config, python3, ruby 6 , ICU, OpenGL 7 }: 8 ··· 26 ++ lib.optional stdenv.isDarwin qtmultimedia; 27 buildInputs = [ fontconfig libwebp libxml2 libxslt sqlite glib gst_all_1.gstreamer gst_all_1.gst-plugins-base hyphen ] 28 ++ lib.optionals stdenv.isDarwin [ ICU OpenGL ]; 29 + nativeBuildInputs = [ bison flex gdb gperf perl pkg-config python3 ruby cmake ]; 30 31 cmakeFlags = [ "-DPORT=Qt" ] 32 ++ lib.optionals stdenv.isDarwin [
+3 -10
pkgs/top-level/all-packages.nix
··· 8718 8719 google-clasp = callPackage ../development/tools/google-clasp { }; 8720 8721 - google-compute-engine = with python38.pkgs; toPythonApplication google-compute-engine; 8722 8723 google-guest-oslogin = callPackage ../tools/virtualization/google-guest-oslogin { }; 8724 ··· 17708 bluezSupport = lib.meta.availableOn stdenv.hostPlatform bluez; 17709 x11Support = true; 17710 }; 17711 - python38Full = python38.override { 17712 - self = python38Full; 17713 - pythonAttr = "python38Full"; 17714 - bluezSupport = lib.meta.availableOn stdenv.hostPlatform bluez; 17715 - x11Support = true; 17716 - }; 17717 python39Full = python39.override { 17718 self = python39Full; 17719 pythonAttr = "python39Full"; ··· 17746 }; 17747 17748 pythonInterpreters = callPackage ./../development/interpreters/python { }; 17749 - inherit (pythonInterpreters) python27 python38 python39 python310 python311 python312 python313 python3Minimal pypy27 pypy310 pypy39 rustpython; 17750 17751 # List of extensions with overrides to apply to all Python package sets. 17752 pythonPackagesExtensions = [ ]; 17753 # Python package sets. 17754 python27Packages = python27.pkgs // { __attrsFailEvaluation = true; }; 17755 - python38Packages = python38.pkgs // { __attrsFailEvaluation = true; }; 17756 python39Packages = python39.pkgs // { __attrsFailEvaluation = true; }; 17757 python310Packages = python310.pkgs // { __attrsFailEvaluation = true; }; 17758 python311Packages = recurseIntoAttrs python311.pkgs // { pythonPackages = python311.pkgs // { __attrsFailEvaluation = true; }; }; ··· 25179 vale = callPackage ../tools/text/vale { }; 25180 25181 valhalla = callPackage ../development/libraries/valhalla { 25182 - boost = boost.override { enablePython = true; python = python38; }; 25183 protobuf = protobuf_21.override { 25184 abseil-cpp = abseil-cpp_202103.override { 25185 cxxStandard = "17";
··· 8718 8719 google-clasp = callPackage ../development/tools/google-clasp { }; 8720 8721 + google-compute-engine = with python3.pkgs; toPythonApplication google-compute-engine; 8722 8723 google-guest-oslogin = callPackage ../tools/virtualization/google-guest-oslogin { }; 8724 ··· 17708 bluezSupport = lib.meta.availableOn stdenv.hostPlatform bluez; 17709 x11Support = true; 17710 }; 17711 python39Full = python39.override { 17712 self = python39Full; 17713 pythonAttr = "python39Full"; ··· 17740 }; 17741 17742 pythonInterpreters = callPackage ./../development/interpreters/python { }; 17743 + inherit (pythonInterpreters) python27 python39 python310 python311 python312 python313 python3Minimal pypy27 pypy310 pypy39 rustpython; 17744 17745 # List of extensions with overrides to apply to all Python package sets. 17746 pythonPackagesExtensions = [ ]; 17747 # Python package sets. 17748 python27Packages = python27.pkgs // { __attrsFailEvaluation = true; }; 17749 python39Packages = python39.pkgs // { __attrsFailEvaluation = true; }; 17750 python310Packages = python310.pkgs // { __attrsFailEvaluation = true; }; 17751 python311Packages = recurseIntoAttrs python311.pkgs // { pythonPackages = python311.pkgs // { __attrsFailEvaluation = true; }; }; ··· 25172 vale = callPackage ../tools/text/vale { }; 25173 25174 valhalla = callPackage ../development/libraries/valhalla { 25175 + boost = boost.override { enablePython = true; python = python3; }; 25176 protobuf = protobuf_21.override { 25177 abseil-cpp = abseil-cpp_202103.override { 25178 cxxStandard = "17";