Commit graph

9 commits

Author SHA1 Message Date
Romanos Skiadas dfcd82a01b pylint: fix 1.9
It depends on pyenchant, which is disabled on python2. This results
in:
```
nix-env -iA unstable.python27Packages.pylint
replacing old 'python2.7-pylint-1.9.5'
installing 'python2.7-pylint-1.9.5'
error: pyenchant-3.1.1 not supported for interpreter python2.7
```

Remove it, à la
eb0d5fc3f0
and now it builds again.
2020-06-28 12:56:54 +01:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Kier Davis 443f1a43ef pythonPackages.pylint: add setuptools
Previously it was missing a runtime dependency on setuptools:

    [kier@saelli:~/checkouts/nixpkgs]$ $(nix-build -A python27Packages.pylint --no-out-link)/bin/pylint
    Traceback (most recent call last):
      File "/nix/store/0k8h6n6nxjcs2j5jp54mfppjbx37hrrg-python2.7-pylint-1.9.5/bin/.pylint-wrapped", line 6, in <module>
        from pylint import run_pylint
      File "/nix/store/0k8h6n6nxjcs2j5jp54mfppjbx37hrrg-python2.7-pylint-1.9.5/lib/python2.7/site-packages/pylint/__init__.py", line 11, in <module>
        from .__pkginfo__ import version as __version__
      File "/nix/store/0k8h6n6nxjcs2j5jp54mfppjbx37hrrg-python2.7-pylint-1.9.5/lib/python2.7/site-packages/pylint/__pkginfo__.py", line 25, in <module>
        from pkg_resources import parse_version
    ImportError: No module named pkg_resources

With this change, the same command now correctly prints pylint's help text.

This only applies to Python 2.
2019-10-28 10:52:50 +01:00
Jörg Thalheim b31931adf5
python.pkgs.pylint_1_9: fix incorrect checksum
was not updated in 08d556c0e8
2019-09-13 16:32:04 +01:00
Jörg Thalheim 08d556c0e8
python.pkgs.pylint_1_9: 1.9.4 -> 1.9.5
Also fix build by skipping a test that requires setuptools to be present.
(Also just adding setuptools does not fix the issue either?)
2019-09-13 13:53:20 +01:00
volth f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Frederik Rietdijk c0e6fbba70 python: pylint: 1.9.3 -> 1.9.4 2019-01-04 14:35:58 +01:00
Frederik Rietdijk d6198515b4 python: pylint: 1.9.2 -> 1.9.3 2018-12-03 16:50:39 +01:00
Ben Wolsieffer 67ea56717a python2Packages.pylint: init at 1.9.2 2018-10-11 18:15:15 -04:00