diff options
author | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2018-07-24 17:53:48 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2018-07-26 12:43:18 +0200 |
commit | 7f698253346ab5d24e2461ca86aad06a264ff70a (patch) | |
tree | 2a207af8e237269d3a087504fcad2e7c670155df /pkgs/development/python-modules/pylint | |
parent | 3030fab2f13e6c1786bb49998b5a3840070549d0 (diff) | |
download | nixpkgs-7f698253346ab5d24e2461ca86aad06a264ff70a.tar nixpkgs-7f698253346ab5d24e2461ca86aad06a264ff70a.tar.gz nixpkgs-7f698253346ab5d24e2461ca86aad06a264ff70a.tar.bz2 nixpkgs-7f698253346ab5d24e2461ca86aad06a264ff70a.tar.lz nixpkgs-7f698253346ab5d24e2461ca86aad06a264ff70a.tar.xz nixpkgs-7f698253346ab5d24e2461ca86aad06a264ff70a.tar.zst nixpkgs-7f698253346ab5d24e2461ca86aad06a264ff70a.zip |
python.pkgs.pylint: 2.0.0 -> 2.0.1
Diffstat (limited to 'pkgs/development/python-modules/pylint')
-rw-r--r-- | pkgs/development/python-modules/pylint/default.nix | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/pkgs/development/python-modules/pylint/default.nix b/pkgs/development/python-modules/pylint/default.nix index 0dcb5181534..0156e92738a 100644 --- a/pkgs/development/python-modules/pylint/default.nix +++ b/pkgs/development/python-modules/pylint/default.nix @@ -1,29 +1,32 @@ -{ stdenv, buildPythonPackage, fetchPypi, python, astroid, isort, - pytest, pytestrunner, mccabe, configparser, backports_functools_lru_cache }: +{ stdenv, buildPythonPackage, fetchPypi, python, pythonOlder, astroid, isort, + pytest, pytestrunner, mccabe, pytest_xdist, pyenchant }: buildPythonPackage rec { pname = "pylint"; - version = "2.0.0"; + version = "2.0.1"; + + disabled = pythonOlder "3.4"; src = fetchPypi { inherit pname version; - sha256 = "9cd70527ef3b099543eeabeb5c80ff325d86b477aa2b3d49e264e12d12153bc8"; + sha256 = "2c90a24bee8fae22ac98061c896e61f45c5b73c2e0511a4bf53f99ba56e90434"; }; - buildInputs = [ pytest pytestrunner mccabe configparser backports_functools_lru_cache ]; + checkInputs = [ pytest pytestrunner pytest_xdist pyenchant ]; - propagatedBuildInputs = [ astroid configparser isort mccabe ]; + propagatedBuildInputs = [ astroid isort mccabe ]; postPatch = '' - # Remove broken darwin tests - sed -i -e '/test_parallel_execution/,+2d' pylint/test/test_self.py - sed -i -e '/test_py3k_jobs_option/,+4d' pylint/test/test_self.py + # Remove broken darwin test rm -vf pylint/test/test_functional.py ''; checkPhase = '' - cd pylint/test - ${python.interpreter} -m unittest discover -p "*test*" + cat pylint/test/test_self.py + # Disable broken darwin tests + pytest pylint/test -k "not test_parallel_execution \ + and not test_py3k_jobs_option \ + and not test_good_comprehension_checks" ''; postInstall = '' |