lol

python39Packages.Fabric: format, use pytestCheckHook, update disable test comment

authored by

Sandro Jäckel and committed by
Martin Weinelt
06df8a09 5c5556f5

+13 -10
+13 -10
pkgs/development/python-modules/Fabric/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 2 4 , cryptography 3 5 , invoke 4 6 , mock 5 7 , paramiko 6 - , pytest 8 + , pytestCheckHook 7 9 , pytest-relaxed 8 10 }: 9 11 ··· 23 25 ''; 24 26 25 27 propagatedBuildInputs = [ invoke paramiko cryptography ]; 26 - checkInputs = [ pytest mock pytest-relaxed ]; 28 + 29 + checkInputs = [ pytestCheckHook pytest-relaxed mock ]; 27 30 28 - # requires pytest_relaxed, which doesnt have official support for pytest>=5 29 - # https://github.com/bitprophet/pytest-relaxed/issues/12 31 + # ==================================== ERRORS ==================================== 32 + # ________________________ ERROR collecting test session _________________________ 33 + # Direct construction of SpecModule has been deprecated, please use SpecModule.from_parent 34 + # See https://docs.pytest.org/en/stable/deprecations.html#node-construction-changed-to-node-from-parent for more details. 30 35 doCheck = false; 31 - checkPhase = '' 32 - pytest tests 33 - ''; 36 + 34 37 pythonImportsCheck = [ "fabric" ]; 35 38 36 39 meta = with lib; { 37 40 description = "Pythonic remote execution"; 38 - homepage = "https://www.fabfile.org/"; 39 - license = licenses.bsd2; 41 + homepage = "https://www.fabfile.org/"; 42 + license = licenses.bsd2; 40 43 maintainers = [ maintainers.costrouc ]; 41 44 }; 42 45 }