python3Packages.pytest-doctestplus: disable failing tests, update deps

+16 -6
+16 -6
pkgs/development/python-modules/pytest-doctestplus/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchPypi 4 - , isPy27 5 - , six 4 + , pythonOlder 5 + , packaging 6 6 , pytest 7 7 , pytestCheckHook 8 - , numpy 9 8 , setuptools-scm 10 9 }: 11 10 12 11 buildPythonPackage rec { 13 12 pname = "pytest-doctestplus"; 14 13 version = "0.10.1"; 15 - disabled = isPy27; # abandoned upstream 14 + disabled = pythonOlder "3.7"; 16 15 17 16 src = fetchPypi { 18 17 inherit pname version; ··· 22 21 nativeBuildInputs = [ 23 22 setuptools-scm 24 23 ]; 24 + 25 25 buildInputs = [ 26 26 pytest 27 27 ]; 28 28 29 29 propagatedBuildInputs = [ 30 - six 31 - numpy 30 + packaging 32 31 ]; 33 32 34 33 checkInputs = [ 35 34 pytestCheckHook 35 + ]; 36 + 37 + disabledTests = [ 38 + # ERROR: usage: __main__.py [options] [file_or_dir] [file_or_dir] [...] 39 + # __main__.py: error: unrecognized arguments: --remote-data 40 + "test_remote_data_url" 41 + "test_remote_data_float_cmp" 42 + "test_remote_data_ignore_whitespace" 43 + "test_remote_data_ellipsis" 44 + "test_remote_data_requires" 45 + "test_remote_data_ignore_warnings" 36 46 ]; 37 47 38 48 meta = with lib; {