From fcad29d73e2283be4286bd0151a527abec36cfd6 Mon Sep 17 00:00:00 2001 From: natsukium Date: Thu, 22 Jun 2023 22:31:33 +0900 Subject: [PATCH] python3Packages.pytest-sanic: remove --- .../python-modules/pytest-sanic/default.nix | 52 ------------------- pkgs/top-level/python-aliases.nix | 1 + pkgs/top-level/python-packages.nix | 4 -- 3 files changed, 1 insertion(+), 56 deletions(-) delete mode 100644 pkgs/development/python-modules/pytest-sanic/default.nix diff --git a/pkgs/development/python-modules/pytest-sanic/default.nix b/pkgs/development/python-modules/pytest-sanic/default.nix deleted file mode 100644 index a62bd2ada95f..000000000000 --- a/pkgs/development/python-modules/pytest-sanic/default.nix +++ /dev/null @@ -1,52 +0,0 @@ -{ lib -, aiohttp -, async_generator -, buildPythonPackage -, fetchFromGitHub -, httpx -, pytest -, pytestCheckHook -, sanic -, websockets -}: - -buildPythonPackage rec { - pname = "pytest-sanic"; - version = "1.9.1"; - - src = fetchFromGitHub { - owner = "yunstanford"; - repo = pname; - rev = "v${version}"; - hash = "sha256-82Xq/jyxTXyZVHqn7G+S9K++InDdORCO9oFqgaIgY7s="; - }; - - buildInputs = [ - pytest - ]; - - propagatedBuildInputs = [ - aiohttp - async_generator - httpx - pytest - websockets - ]; - - nativeCheckInputs = [ - sanic - pytestCheckHook - ]; - - pythonImportsCheck = [ - "pytest_sanic" - ]; - - meta = with lib; { - description = "A pytest plugin for Sanic"; - homepage = "https://github.com/yunstanford/pytest-sanic/"; - license = licenses.asl20; - maintainers = with maintainers; [ costrouc ]; - broken = true; # 2021-11-04 - }; -} diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index 672e42ae71da..0f6bab8fdbab 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -253,6 +253,7 @@ mapAliases ({ pytest-pep8 = pytestpep8; # added 2021-01-04 pytest-pep257 = throw "pytest-pep257 was removed, as the pep257 package was migrated into pycodestyle"; # added 2022-04-12 pytest-pythonpath = throw "pytest-pythonpath is obsolete as of pytest 7.0.0 and has been removed"; # added 2022-03-09 + pytest-sanic = throw "pytest-sanic has been removed because it is unmaintained and broken"; # added 2023-06-22 pytestpep8 = throw "pytestpep8 was removed because it is abandoned and no longer compatible with pytest v6.0"; # added 2020-12-10 pytestquickcheck = pytest-quickcheck; # added 2021-07-20 pytestrunner = pytest-runner; # added 2021-01-04 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 69def0df2c98..d3d836530858 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -9729,10 +9729,6 @@ self: super: with self; { pytest-runner = callPackage ../development/python-modules/pytest-runner { }; - pytest-sanic = callPackage ../development/python-modules/pytest-sanic { - sanic = self.sanic.override { doCheck = false; }; - }; - pytest-server-fixtures = callPackage ../development/python-modules/pytest-server-fixtures { }; pytest-services = callPackage ../development/python-modules/pytest-services { };