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