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

+16 -6
+16 -6
pkgs/development/python-modules/pytest-doctestplus/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , fetchPypi 4 - , isPy27 5 - , six 6 , pytest 7 , pytestCheckHook 8 - , numpy 9 , setuptools-scm 10 }: 11 12 buildPythonPackage rec { 13 pname = "pytest-doctestplus"; 14 version = "0.10.1"; 15 - disabled = isPy27; # abandoned upstream 16 17 src = fetchPypi { 18 inherit pname version; ··· 22 nativeBuildInputs = [ 23 setuptools-scm 24 ]; 25 buildInputs = [ 26 pytest 27 ]; 28 29 propagatedBuildInputs = [ 30 - six 31 - numpy 32 ]; 33 34 checkInputs = [ 35 pytestCheckHook 36 ]; 37 38 meta = with lib; {
··· 1 { lib 2 , buildPythonPackage 3 , fetchPypi 4 + , pythonOlder 5 + , packaging 6 , pytest 7 , pytestCheckHook 8 , setuptools-scm 9 }: 10 11 buildPythonPackage rec { 12 pname = "pytest-doctestplus"; 13 version = "0.10.1"; 14 + disabled = pythonOlder "3.7"; 15 16 src = fetchPypi { 17 inherit pname version; ··· 21 nativeBuildInputs = [ 22 setuptools-scm 23 ]; 24 + 25 buildInputs = [ 26 pytest 27 ]; 28 29 propagatedBuildInputs = [ 30 + packaging 31 ]; 32 33 checkInputs = [ 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" 46 ]; 47 48 meta = with lib; {