Unverified Commit 17dc109c authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

Merge pull request #288373 from SuperSandro2000/livereload

python312Packages.livereload: fix build by swapping nose with pytest
parents c0490501 31fada65
Loading
Loading
Loading
Loading
+7 −4
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchFromGitHub
, nose
, django
, pytestCheckHook
, tornado
, six
}:
@@ -23,13 +23,16 @@ buildPythonPackage rec {

  propagatedBuildInputs = [ tornado six ];

  nativeCheckInputs = [ nose ];
  # TODO: retry running all tests after v2.6.1
  checkPhase = "NOSE_EXCLUDE=test_watch_multiple_dirs nosetests -s";
  nativeCheckInputs = [ pytestCheckHook ];

  disabledTests = [
    "test_watch_multiple_dirs"
  ];

  meta = {
    description = "Runs a local server that reloads as you develop";
    homepage = "https://github.com/lepture/python-livereload";
    license = lib.licenses.bsd3;
    maintainers = with lib; [ ];
  };
}