From bb9ec832fe93f64fd7c17213c6a9f8c7ca95f3ff Mon Sep 17 00:00:00 2001 From: natsukium Date: Tue, 20 Jun 2023 21:42:26 +0900 Subject: [PATCH] python3Packages.pygbm: remove --- .../python-modules/pygbm/default.nix | 47 ------------------- pkgs/top-level/python-aliases.nix | 1 + pkgs/top-level/python-packages.nix | 2 - 3 files changed, 1 insertion(+), 49 deletions(-) delete mode 100644 pkgs/development/python-modules/pygbm/default.nix diff --git a/pkgs/development/python-modules/pygbm/default.nix b/pkgs/development/python-modules/pygbm/default.nix deleted file mode 100644 index 4eac823b50e8..000000000000 --- a/pkgs/development/python-modules/pygbm/default.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ lib -, buildPythonPackage -, fetchFromGitHub -, scipy -, numpy -, numba -, scikit-learn -, pytest -, pythonOlder -}: - -buildPythonPackage rec { - pname = "pygbm"; - version = "0.1.0"; - disabled = pythonOlder "3.6"; - - src = fetchFromGitHub { - owner = "ogrisel"; - repo = pname; - rev = "v${version}"; - sha256 = "1qg2md86d0z5aa6jn8kj3rxsippsqsccx1dbraspdsdkycncvww3"; - }; - - propagatedBuildInputs = [ - scipy - numpy - numba - scikit-learn - ]; - - nativeCheckInputs = [ - pytest - ]; - - checkPhase = '' - # numerical rounding error in test - pytest -k "not test_derivatives" - ''; - - meta = with lib; { - description = "Experimental Gradient Boosting Machines in Python"; - homepage = "https://github.com/ogrisel/pygbm"; - license = licenses.mit; - maintainers = [ maintainers.costrouc ]; - broken = true; - }; -} diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index 11052f5cde5b..b6dcf52b990d 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -209,6 +209,7 @@ mapAliases ({ pyblake2 = throw "pyblake2 is deprecated in favor of hashlib"; # added 2023-04-23 pyblock = throw "pyblock has been removed, since it is abandoned and broken"; # added 2023-06-20 pydrive = throw "pydrive is broken and deprecated and has been replaced with pydrive2."; # added 2022-06-01 + pygbm = throw "pygbm has been removed, since it is abandoned and broken"; # added 2023-06-20 PyGithub = pygithub; # added 2023-02-19 pyGtkGlade = throw "Glade support for pygtk has been removed"; # added 2022-01-15 pycallgraph = throw "pycallgraph has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-01-18 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 7d3e4d186a17..11f7494df64b 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -8640,8 +8640,6 @@ self: super: with self; { pygatt = callPackage ../development/python-modules/pygatt { }; - pygbm = callPackage ../development/python-modules/pygbm { }; - pygccxml = callPackage ../development/python-modules/pygccxml { }; pygdbmi = callPackage ../development/python-modules/pygdbmi { };