From 581998a73e648a93978570e70017939acb3a6f8a Mon Sep 17 00:00:00 2001 From: Simon Kohlmeyer Date: Sun, 17 Apr 2022 23:44:12 +0200 Subject: [PATCH] python39Packages.pytest-testmon: fix build The tests have been removed upstream in late january: https://github.com/tarpas/pytest-testmon/commit/decb4f4fdefeea875f4c66ff56bea29ae222b872 which means this package has been broken since 1.3.0 on March 2nd --- .../python-modules/pytest-testmon/default.nix | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/pytest-testmon/default.nix b/pkgs/development/python-modules/pytest-testmon/default.nix index d40aeb9cf645..0f8d09e597d2 100644 --- a/pkgs/development/python-modules/pytest-testmon/default.nix +++ b/pkgs/development/python-modules/pytest-testmon/default.nix @@ -16,16 +16,11 @@ buildPythonPackage rec { sha256 = "sha256-6gWWCtm/GHknhjLyRdVf42koeaSKzk5/V0173DELmj0="; }; - propagatedBuildInputs = [ coverage ]; + propagatedBuildInputs = [ pytest coverage ]; - checkInputs = [ pytest ]; - - # avoid tests which try to import unittest_mixins - # unittest_mixins doesn't seem to be very active - checkPhase = '' - cd test - pytest test_{core,process_code,pytest_assumptions}.py - ''; + # The project does not include tests since version 1.3.0 + doCheck = false; + pythonImportsCheck = [ "testmon" ]; meta = with lib; { homepage = "https://github.com/tarpas/pytest-testmon/";