Merge pull request #288373 from SuperSandro2000/livereload

python312Packages.livereload: fix build by swapping nose with pytest
This commit is contained in:
Martin Weinelt
2024-02-17 04:03:29 +01:00
committed by GitHub
@@ -1,8 +1,8 @@
{ 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; [ ];
};
}