Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

python.pkgs.attrs: disable tests to prevent infinite recursion

+4 -2
+4 -2
pkgs/development/python-modules/attrs/default.nix
··· 2 2 , pympler, coverage, six, clang }: 3 3 4 4 buildPythonPackage rec { 5 - name = "${pname}-${version}"; 6 5 pname = "attrs"; 7 6 version = "17.4.0"; 8 7 ··· 12 11 }; 13 12 14 13 # macOS needs clang for testing 15 - buildInputs = [ 14 + checkInputs = [ 16 15 pytest hypothesis zope_interface pympler coverage six 17 16 ] ++ lib.optionals (stdenv.isDarwin) [ clang ]; 18 17 19 18 checkPhase = '' 20 19 py.test 21 20 ''; 21 + 22 + # To prevent infinite recursion with pytest 23 + doCheck = false; 22 24 23 25 meta = with lib; { 24 26 description = "Python attributes without boilerplate";