diff --git a/pkgs/development/python-modules/gradient-utils/default.nix b/pkgs/development/python-modules/gradient-utils/default.nix deleted file mode 100644 index ea5ae6585850..000000000000 --- a/pkgs/development/python-modules/gradient-utils/default.nix +++ /dev/null @@ -1,67 +0,0 @@ -{ - lib, - buildPythonPackage, - fetchFromGitHub, - hyperopt, - mock, - numpy, - poetry-core, - prometheus-client, - pytestCheckHook, - requests, -}: - -buildPythonPackage rec { - pname = "gradient-utils"; - version = "0.5.0"; - pyproject = true; - - src = fetchFromGitHub { - owner = "Paperspace"; - repo = "gradient-utils"; - tag = "v${version}"; - hash = "sha256-swnl0phdOsBSP8AX/OySI/aYI9z60Ss3SsJox/mb9KY="; - }; - - nativeBuildInputs = [ poetry-core ]; - - propagatedBuildInputs = [ - hyperopt - prometheus-client - numpy - ]; - - nativeCheckInputs = [ - mock - requests - pytestCheckHook - ]; - - postPatch = '' - # https://github.com/Paperspace/gradient-utils/issues/68 - # https://github.com/Paperspace/gradient-utils/issues/72 - substituteInPlace pyproject.toml \ - --replace 'wheel = "^0.35.1"' 'wheel = "*"' \ - --replace 'prometheus-client = ">=0.8,<0.10"' 'prometheus-client = "*"' \ - --replace 'pymongo = "^3.11.0"' 'pymongo = ">=3.11.0"' - ''; - - preCheck = '' - export HOSTNAME=myhost-experimentId - ''; - - disabledTestPaths = [ - # Requires a working Prometheus push gateway - "tests/integration/test_metrics.py" - ]; - - pythonImportsCheck = [ "gradient_utils" ]; - - meta = { - description = "Python utils and helpers library for Gradient"; - homepage = "https://github.com/Paperspace/gradient-utils"; - license = lib.licenses.mit; - maintainers = [ ]; - platforms = lib.platforms.unix; - }; -} diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index 4ca3ec4a47e7..220e45a84c01 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -305,6 +305,7 @@ mapAliases { gpgme = gpg; # added 2026-06-26 gplaycli = throw "'gplaycli' has been removed as it was broken and lacked maintenance"; # Added 2025-11-09 gpy = throw "'gpy' has been removed as it is based on 'paramz', which was removed"; # added 2025-11-10 + gradient-utils = throw "'gradient-utils' has been removed because it was archived upstream and unused in tree."; # Added 2026-10-15 gradient_statsd = throw "'gradient_statsd' has been renamed to/replaced by 'gradient-statsd'"; # Converted to throw 2025-10-29 grapheme = throw "'grapheme' has been removed as it is unmaintained upstream. Consider using 'graphemeu' instead."; # Converted to throw 2025-12-22 grappelli_safe = throw "'grappelli_safe' has been renamed to/replaced by 'grappelli-safe'"; # Converted to throw 2025-10-29 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index cb9eedc9818b..00259849c3e7 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -7274,8 +7274,6 @@ self: super: with self; { gradient-statsd = callPackage ../development/python-modules/gradient-statsd { }; - gradient-utils = callPackage ../development/python-modules/gradient-utils { }; - gradio = callPackage ../development/python-modules/gradio { }; gradio-client = callPackage ../development/python-modules/gradio/client.nix {