Merge pull request #129040 from fabaff/bump-diff-cover

python3Packages.diff_cover: 5.2.0 -> 5.4.0

authored by

Jörg Thalheim and committed by
GitHub
89de05fc bcc4404a

+59 -47
+57
pkgs/development/python-modules/diff-cover/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , chardet 4 + , fetchPypi 5 + , inflect 6 + , jinja2 7 + , jinja2_pluralize 8 + , pycodestyle 9 + , pyflakes 10 + , pygments 11 + , pylint 12 + , pytest-mock 13 + , pytestCheckHook 14 + , pythonOlder 15 + }: 16 + 17 + buildPythonPackage rec { 18 + pname = "diff-cover"; 19 + version = "5.4.0"; 20 + disabled = pythonOlder "3.6"; 21 + 22 + src = fetchPypi { 23 + pname = "diff_cover"; 24 + inherit version; 25 + sha256 = "sha256-4iQ9/QcXh/lW8HE6wFZWc6Y57xhAEWu2TQnIUZJNAMs="; 26 + }; 27 + 28 + propagatedBuildInputs = [ 29 + chardet 30 + inflect 31 + jinja2 32 + jinja2_pluralize 33 + pygments 34 + ]; 35 + 36 + checkInputs = [ 37 + pycodestyle 38 + pyflakes 39 + pylint 40 + pytest-mock 41 + pytestCheckHook 42 + ]; 43 + 44 + disabledTests = [ 45 + "added_file_pylint_console" 46 + "file_does_not_exist" 47 + ]; 48 + 49 + pythonImportsCheck = [ "diff_cover" ]; 50 + 51 + meta = with lib; { 52 + description = "Automatically find diff lines that need test coverage"; 53 + homepage = "https://github.com/Bachmann1234/diff-cover"; 54 + license = licenses.asl20; 55 + maintainers = with maintainers; [ dzabraev ]; 56 + }; 57 + }
-46
pkgs/development/python-modules/diff_cover/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi 2 - , chardet 3 - , inflect 4 - , jinja2 5 - , jinja2_pluralize 6 - , pygments 7 - , six 8 - # test dependencies 9 - , coverage 10 - , mock 11 - , nose 12 - , pycodestyle 13 - , pyflakes 14 - , pylint 15 - , pytest 16 - }: 17 - 18 - buildPythonPackage rec { 19 - pname = "diff_cover"; 20 - version = "5.2.0"; 21 - 22 - preCheck = '' 23 - export LC_ALL=en_US.UTF-8; 24 - ''; 25 - 26 - src = fetchPypi { 27 - inherit pname version; 28 - sha256 = "a1cd54232d2e48bd4c1eabc96cfe4a8727a9a92fd2556b52ff8f65bb8adf8768"; 29 - }; 30 - 31 - propagatedBuildInputs = [ chardet jinja2 jinja2_pluralize pygments six inflect ]; 32 - 33 - checkInputs = [ mock coverage pytest nose pylint pyflakes pycodestyle ]; 34 - 35 - # ignore tests which try to write files 36 - checkPhase = '' 37 - pytest -k 'not added_file_pylint_console and not file_does_not_exist' 38 - ''; 39 - 40 - meta = with lib; { 41 - description = "Automatically find diff lines that need test coverage"; 42 - homepage = "https://github.com/Bachmann1234/diff-cover"; 43 - license = licenses.asl20; 44 - maintainers = with maintainers; [ dzabraev ]; 45 - }; 46 - }
+1
pkgs/top-level/python-aliases.nix
··· 36 36 blockdiagcontrib-cisco = throw "blockdiagcontrib-cisco is not compatible with blockdiag 2.0.0 and has been removed."; # Added 2020-11-29 37 37 bugseverywhere = throw "bugseverywhere has been removed: Abandoned by upstream."; # Added 2019-11-27 38 38 detox = throw "detox is no longer maintained, and was broken since may 2019"; # added 2020-07-04 39 + diff_cover = diff-cover; # added 2021-07-02 39 40 dns = dnspython; # Alias for compatibility, 2017-12-10 40 41 faulthandler = throw "faulthandler is built into ${python.executable}"; 41 42 gitdb2 = throw "gitdb2 has been deprecated, use gitdb instead."; # added 2020-03-14
+1 -1
pkgs/top-level/python-packages.nix
··· 1919 1919 1920 1920 dicttoxml = callPackage ../development/python-modules/dicttoxml { }; 1921 1921 1922 - diff_cover = callPackage ../development/python-modules/diff_cover { }; 1922 + diff-cover = callPackage ../development/python-modules/diff-cover { }; 1923 1923 1924 1924 diff-match-patch = callPackage ../development/python-modules/diff-match-patch { }; 1925 1925