From 1c8cabbb5cbb3d370f254dbde58441279e1ee3f5 Mon Sep 17 00:00:00 2001 From: Moraxyc Date: Wed, 22 May 2024 17:36:20 +0800 Subject: [PATCH] python3Packages.nose-randomly: remove It was archived and unmaintained since 2019 --- .../python-modules/nose-randomly/default.nix | 34 ------------------- pkgs/top-level/python-aliases.nix | 1 + pkgs/top-level/python-packages.nix | 2 -- 3 files changed, 1 insertion(+), 36 deletions(-) delete mode 100644 pkgs/development/python-modules/nose-randomly/default.nix diff --git a/pkgs/development/python-modules/nose-randomly/default.nix b/pkgs/development/python-modules/nose-randomly/default.nix deleted file mode 100644 index afb797d3e2f2..000000000000 --- a/pkgs/development/python-modules/nose-randomly/default.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ lib -, stdenv -, buildPythonPackage -, fetchPypi -, nose -, numpy -}: - -buildPythonPackage rec { - pname = "nose-randomly"; - version = "1.2.6"; - format = "setuptools"; - - src = fetchPypi { - inherit pname version; - sha256 = "7e483a3d79e13ae760d6ade57ae07ae45bb4b223b61a805e958b4c077116c67c"; - }; - - nativeCheckInputs = [ numpy nose ]; - - checkPhase = if stdenv.isDarwin then '' - # Work around "OSError: AF_UNIX path too long" - TMPDIR="/tmp" nosetests - '' else '' - nosetests - ''; - - meta = with lib; { - description = "Nose plugin to randomly order tests and control random.seed"; - homepage = "https://github.com/adamchainz/nose-randomly"; - license = licenses.bsd3; - maintainers = [ ]; - }; -} diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index caf1e8fbc970..49eec3d93d70 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -307,6 +307,7 @@ mapAliases ({ nose-cov = throw "nose-cov has been removed, it was archived and unmaintained since 2012"; # added 2024-05-21 nose-cover3 = throw "nose-cover3 has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-02-16 nose-cprof = throw "nose-cprof has been removed since it has not been maintained for 7 years and there are no dependent packages"; # added 2024-05-21 + nose-randomly = throw "nose-randomly has been removed, it was archived and unmaintained since 2019"; # added 2024-05-22 nose_progressive = throw "nose_progressive has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; #added 2023-02-21 nose_warnings_filters = nose-warnings-filters; # added 2024-01-07 notifymuch = throw "notifymuch has been promoted to a top-level attribute name: `pkgs.notifymuch`"; # added 2022-10-02 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 73bf650c68c3..5e94ab510995 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -8869,8 +8869,6 @@ self: super: with self; { nose-pattern-exclude = callPackage ../development/python-modules/nose-pattern-exclude { }; - nose-randomly = callPackage ../development/python-modules/nose-randomly { }; - nose-warnings-filters = callPackage ../development/python-modules/nose-warnings-filters { }; nose-xunitmp = callPackage ../development/python-modules/nose-xunitmp { };