FS#40395 - [python-pylint] broken

Attached to Project: Arch Linux
Opened by Stefan Tatschner (rumpelsepp) - Friday, 16 May 2014, 14:28 GMT
Last edited by Felix Yan (felixonmars) - Friday, 16 May 2014, 17:20 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Angel Velasquez (angvp)
Felix Yan (felixonmars)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The package python-pylint seems to be broken. If I set it up in a virtualenv it works like a charm.

$ pylint pynote/containerng.py
No config file found, using default configuration
Traceback (most recent call last):
File "/usr/bin/pylint", line 9, in <module>
load_entry_point('pylint==1.2.1', 'console_scripts', 'pylint')()
File "/usr/lib/python3.4/site-packages/pylint/__init__.py", line 21, in run_pylint
Run(sys.argv[1:])
File "/usr/lib/python3.4/site-packages/pylint/lint.py", line 1051, in __init__
linter.check(args)
File "/usr/lib/python3.4/site-packages/pylint/lint.py", line 626, in check
self.check_astroid_module(astroid, walker, rawcheckers, tokencheckers)
File "/usr/lib/python3.4/site-packages/pylint/lint.py", line 708, in check_astroid_module
checker.process_module(astroid)
File "/usr/lib/python3.4/site-packages/pylint/checkers/strings.py", line 225, in process_module
self._unicode_literals = 'unicode_literals' in module.future_imports
AttributeError: 'Module' object has no attribute 'future_imports'
This task depends upon

Closed by  Felix Yan (felixonmars)
Friday, 16 May 2014, 17:20 GMT
Reason for closing:  Fixed
Additional comments about closing:  python-astroid 1.1.1-1
Comment by Felix Yan (felixonmars) - Friday, 16 May 2014, 17:14 GMT
This should be fixed with python-astroid 1.1.1-1, could you confirm this too?
Comment by Stefan Tatschner (rumpelsepp) - Friday, 16 May 2014, 17:18 GMT
Yes, I could. It solves the problem, thanks!

Loading...