treewide: unpin python311 (#412204)

authored by

Peder Bergebakken Sundt and committed by
GitHub
a02f4e55 b210ec66

+40 -53
+1 -4
pkgs/by-name/do/dooit-extras/package.nix
··· 1 { 2 lib, 3 fetchFromGitHub, 4 - python311, 5 dooit, 6 nix-update-script, 7 }: 8 - let 9 - python3 = python311; 10 - in 11 python3.pkgs.buildPythonPackage rec { 12 pname = "dooit-extras"; 13 version = "0.2.1";
··· 1 { 2 lib, 3 fetchFromGitHub, 4 + python3, 5 dooit, 6 nix-update-script, 7 }: 8 python3.pkgs.buildPythonPackage rec { 9 pname = "dooit-extras"; 10 version = "0.2.1";
+1 -4
pkgs/by-name/do/dooit/package.nix
··· 2 lib, 3 fetchFromGitHub, 4 dooit, 5 - python311, 6 testers, 7 nix-update-script, 8 extraPackages ? [ ], 9 }: 10 - let 11 - python3 = python311; 12 - in 13 python3.pkgs.buildPythonApplication rec { 14 pname = "dooit"; 15 version = "3.2.2";
··· 2 lib, 3 fetchFromGitHub, 4 dooit, 5 + python3, 6 testers, 7 nix-update-script, 8 extraPackages ? [ ], 9 }: 10 python3.pkgs.buildPythonApplication rec { 11 pname = "dooit"; 12 version = "3.2.2";
+2 -2
pkgs/by-name/fr/freecad/package.nix
··· 23 opencascade-occt_7_6, 24 opencascade-occt, 25 pkg-config, 26 - python311Packages, 27 spaceNavSupport ? stdenv.hostPlatform.isLinux, 28 ifcSupport ? false, 29 stdenv, ··· 40 nix-update-script, 41 }: 42 let 43 - inherit (python311Packages) 44 boost 45 gitpython 46 ifcopenshell
··· 23 opencascade-occt_7_6, 24 opencascade-occt, 25 pkg-config, 26 + python3Packages, 27 spaceNavSupport ? stdenv.hostPlatform.isLinux, 28 ifcSupport ? false, 29 stdenv, ··· 40 nix-update-script, 41 }: 42 let 43 + inherit (python3Packages) 44 boost 45 gitpython 46 ifcopenshell
+4 -4
pkgs/by-name/fr/frescobaldi/package.nix
··· 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 - python311Packages, 6 lilypond, 7 }: 8 9 - python311Packages.buildPythonApplication rec { 10 pname = "frescobaldi"; 11 version = "3.3.0"; 12 ··· 17 sha256 = "sha256-Q6ruthNcpjLlYydUetkuTECiCIzu055bw40O8BPGq/A="; 18 }; 19 20 - propagatedBuildInputs = with python311Packages; [ 21 qpageview 22 lilypond 23 pygame ··· 28 pyqtwebengine 29 ]; 30 31 - nativeBuildInputs = [ python311Packages.pyqtwebengine.wrapQtAppsHook ]; 32 33 # Needed because source is fetched from git 34 preBuild = ''
··· 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 + python3Packages, 6 lilypond, 7 }: 8 9 + python3Packages.buildPythonApplication rec { 10 pname = "frescobaldi"; 11 version = "3.3.0"; 12 ··· 17 sha256 = "sha256-Q6ruthNcpjLlYydUetkuTECiCIzu055bw40O8BPGq/A="; 18 }; 19 20 + propagatedBuildInputs = with python3Packages; [ 21 qpageview 22 lilypond 23 pygame ··· 28 pyqtwebengine 29 ]; 30 31 + nativeBuildInputs = [ python3Packages.pyqtwebengine.wrapQtAppsHook ]; 32 33 # Needed because source is fetched from git 34 preBuild = ''
+5 -4
pkgs/by-name/gp/gpodder/package.nix
··· 6 gobject-introspection, 7 gtk3, 8 intltool, 9 - python311Packages, 10 wrapGAppsHook3, 11 xdg-utils, 12 }: 13 14 - python311Packages.buildPythonApplication rec { 15 pname = "gpodder"; 16 version = "3.11.4"; 17 format = "other"; ··· 35 intltool 36 wrapGAppsHook3 37 gobject-introspection 38 ]; 39 40 buildInputs = [ ··· 42 adwaita-icon-theme 43 ]; 44 45 - nativeCheckInputs = with python311Packages; [ 46 minimock 47 pytest 48 pytest-httpserver ··· 51 52 doCheck = true; 53 54 - propagatedBuildInputs = with python311Packages; [ 55 feedparser 56 dbus-python 57 mygpoclient
··· 6 gobject-introspection, 7 gtk3, 8 intltool, 9 + python3Packages, 10 wrapGAppsHook3, 11 xdg-utils, 12 }: 13 14 + python3Packages.buildPythonApplication rec { 15 pname = "gpodder"; 16 version = "3.11.4"; 17 format = "other"; ··· 35 intltool 36 wrapGAppsHook3 37 gobject-introspection 38 + python3Packages.distutils 39 ]; 40 41 buildInputs = [ ··· 43 adwaita-icon-theme 44 ]; 45 46 + nativeCheckInputs = with python3Packages; [ 47 minimock 48 pytest 49 pytest-httpserver ··· 52 53 doCheck = true; 54 55 + propagatedBuildInputs = with python3Packages; [ 56 feedparser 57 dbus-python 58 mygpoclient
+3 -2
pkgs/by-name/py/py3c/package.nix
··· 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 - python311, 6 }: 7 8 stdenv.mkDerivation rec { ··· 30 doCheck = true; 31 32 nativeCheckInputs = [ 33 - python311 34 ]; 35 36 checkTarget = "test-python";
··· 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 + python3, 6 }: 7 8 stdenv.mkDerivation rec { ··· 30 doCheck = true; 31 32 nativeCheckInputs = [ 33 + python3 34 + python3.pkgs.distutils 35 ]; 36 37 checkTarget = "test-python";
+3 -3
pkgs/by-name/py/pysolfc/package.nix
··· 2 lib, 3 stdenv, 4 fetchzip, 5 - python311Packages, 6 desktop-file-utils, 7 freecell-solver, 8 black-hole-solver, ··· 10 gitUpdater, 11 }: 12 13 - python311Packages.buildPythonApplication rec { 14 pname = "pysolfc"; 15 version = "3.2.0"; 16 ··· 51 ''; 52 }; 53 54 - propagatedBuildInputs = with python311Packages; [ 55 tkinter 56 six 57 random2
··· 2 lib, 3 stdenv, 4 fetchzip, 5 + python3Packages, 6 desktop-file-utils, 7 freecell-solver, 8 black-hole-solver, ··· 10 gitUpdater, 11 }: 12 13 + python3Packages.buildPythonApplication rec { 14 pname = "pysolfc"; 15 version = "3.2.0"; 16 ··· 51 ''; 52 }; 53 54 + propagatedBuildInputs = with python3Packages; [ 55 tkinter 56 six 57 random2
+5 -5
pkgs/by-name/re/renderdoc/package.nix
··· 13 nix-update-script, 14 pcre, 15 pkg-config, 16 - python311Packages, 17 qt5, 18 stdenv, 19 vulkan-loader, ··· 51 [ 52 libXdmcp 53 libpthreadstubs 54 - python311Packages.pyside2 55 - python311Packages.pyside2-tools 56 - python311Packages.shiboken2 57 qt5.qtbase 58 qt5.qtsvg 59 vulkan-loader ··· 71 makeWrapper 72 pcre 73 pkg-config 74 - python311Packages.python 75 qt5.qtx11extras 76 qt5.wrapQtAppsHook 77 ];
··· 13 nix-update-script, 14 pcre, 15 pkg-config, 16 + python3Packages, 17 qt5, 18 stdenv, 19 vulkan-loader, ··· 51 [ 52 libXdmcp 53 libpthreadstubs 54 + python3Packages.pyside2 55 + python3Packages.pyside2-tools 56 + python3Packages.shiboken2 57 qt5.qtbase 58 qt5.qtsvg 59 vulkan-loader ··· 71 makeWrapper 72 pcre 73 pkg-config 74 + python3Packages.python 75 qt5.qtx11extras 76 qt5.wrapQtAppsHook 77 ];
+1 -4
pkgs/by-name/sm/smassh/package.nix
··· 2 lib, 3 fetchFromGitHub, 4 smassh, 5 - python311, 6 testers, 7 }: 8 9 - let 10 - python3 = python311; 11 - in 12 python3.pkgs.buildPythonApplication rec { 13 pname = "smassh"; 14 version = "3.1.6";
··· 2 lib, 3 fetchFromGitHub, 4 smassh, 5 + python3, 6 testers, 7 }: 8 9 python3.pkgs.buildPythonApplication rec { 10 pname = "smassh"; 11 version = "3.1.6";
+3 -4
pkgs/by-name/th/thelounge/package.nix
··· 6 nodejs, 7 yarn, 8 fixup-yarn-lock, 9 - python311, 10 npmHooks, 11 cctools, 12 sqlite, ··· 39 hash = "sha256-csVrgsEy9HjSBXxtgNG0hcBrR9COlcadhMQrw6BWPc4="; 40 }; 41 42 - # Distutils was deprecated in 3.10, and removed in 3.12. This build needs it. An alternative could be adding 43 - # setuptools, but testing with that and 3.12 still fails. 44 nativeBuildInputs = [ 45 nodejs 46 yarn 47 fixup-yarn-lock 48 - python311 49 npmHooks.npmInstallHook 50 ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ cctools ]; 51 buildInputs = [ sqlite ];
··· 6 nodejs, 7 yarn, 8 fixup-yarn-lock, 9 + python3, 10 npmHooks, 11 cctools, 12 sqlite, ··· 39 hash = "sha256-csVrgsEy9HjSBXxtgNG0hcBrR9COlcadhMQrw6BWPc4="; 40 }; 41 42 nativeBuildInputs = [ 43 nodejs 44 yarn 45 fixup-yarn-lock 46 + python3 47 + python3.pkgs.distutils 48 npmHooks.npmInstallHook 49 ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ cctools ]; 50 buildInputs = [ sqlite ];
+4 -4
pkgs/by-name/to/toolong/package.nix
··· 1 { 2 lib, 3 - python311Packages, 4 fetchFromGitHub, 5 testers, 6 toolong, 7 }: 8 9 - python311Packages.buildPythonApplication { 10 pname = "toolong"; 11 version = "1.4.0"; 12 pyproject = true; ··· 18 hash = "sha256-HrmU7HxWKYrbV25Y5CHLw7/7tX8Y5mTsTL1aXGGTSIo="; 19 }; 20 21 - build-system = [ python311Packages.poetry-core ]; 22 - dependencies = with python311Packages; [ 23 click 24 textual 25 typing-extensions
··· 1 { 2 lib, 3 + python3Packages, 4 fetchFromGitHub, 5 testers, 6 toolong, 7 }: 8 9 + python3Packages.buildPythonApplication { 10 pname = "toolong"; 11 version = "1.4.0"; 12 pyproject = true; ··· 18 hash = "sha256-HrmU7HxWKYrbV25Y5CHLw7/7tX8Y5mTsTL1aXGGTSIo="; 19 }; 20 21 + build-system = [ python3Packages.poetry-core ]; 22 + dependencies = with python3Packages; [ 23 click 24 textual 25 typing-extensions
+4 -5
pkgs/by-name/vo/volk_2/package.nix
··· 3 lib, 4 fetchFromGitHub, 5 cmake, 6 - python311, 7 enableModTool ? true, 8 removeReferencesTo, 9 fetchpatch, ··· 49 50 nativeBuildInputs = [ 51 cmake 52 - # This version of the project wasn't updated to use Python 3.12 which 53 - # doesn't include the deprecated distutils module. 54 - python311 55 - python311.pkgs.mako 56 removeReferencesTo 57 ]; 58
··· 3 lib, 4 fetchFromGitHub, 5 cmake, 6 + python3, 7 enableModTool ? true, 8 removeReferencesTo, 9 fetchpatch, ··· 49 50 nativeBuildInputs = [ 51 cmake 52 + python3 53 + python3.pkgs.mako 54 + python3.pkgs.distutils 55 removeReferencesTo 56 ]; 57
+4 -8
pkgs/top-level/all-packages.nix
··· 2249 stdenv = gcc14Stdenv; 2250 }; 2251 2252 - hyprshade = python311Packages.callPackage ../applications/window-managers/hyprwm/hyprshade { }; 2253 2254 hyprlandPlugins = recurseIntoAttrs ( 2255 callPackage ../applications/window-managers/hyprwm/hyprland-plugins { } ··· 12617 } 12618 ); 12619 12620 - manuskript = libsForQt5.callPackage ../applications/editors/manuskript { 12621 - python3Packages = python311Packages; 12622 - }; 12623 12624 minari = python3Packages.toPythonApplication python3Packages.minari; 12625 ··· 15262 15263 steam-run-free = steam-fhsenv-without-steam.run; 15264 15265 - steamback = python311.pkgs.callPackage ../tools/games/steamback { }; 15266 15267 protontricks = python3Packages.callPackage ../tools/package-management/protontricks { 15268 steam-run = steam-run-free; ··· 15542 15543 deepdiff = with python3Packages; toPythonApplication deepdiff; 15544 15545 - deepsecrets = callPackage ../tools/security/deepsecrets { 15546 - python3 = python311; 15547 - }; 15548 15549 deep-translator = with python3Packages; toPythonApplication deep-translator; 15550
··· 2249 stdenv = gcc14Stdenv; 2250 }; 2251 2252 + hyprshade = python3Packages.callPackage ../applications/window-managers/hyprwm/hyprshade { }; 2253 2254 hyprlandPlugins = recurseIntoAttrs ( 2255 callPackage ../applications/window-managers/hyprwm/hyprland-plugins { } ··· 12617 } 12618 ); 12619 12620 + manuskript = libsForQt5.callPackage ../applications/editors/manuskript { }; 12621 12622 minari = python3Packages.toPythonApplication python3Packages.minari; 12623 ··· 15260 15261 steam-run-free = steam-fhsenv-without-steam.run; 15262 15263 + steamback = python3.pkgs.callPackage ../tools/games/steamback { }; 15264 15265 protontricks = python3Packages.callPackage ../tools/package-management/protontricks { 15266 steam-run = steam-run-free; ··· 15540 15541 deepdiff = with python3Packages; toPythonApplication deepdiff; 15542 15543 + deepsecrets = callPackage ../tools/security/deepsecrets { }; 15544 15545 deep-translator = with python3Packages; toPythonApplication deep-translator; 15546