Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#26173 - [pylint] Missing python 3 version
Attached to Project:
Arch Linux
Opened by Médéric Boquien (mboquien) - Saturday, 01 October 2011, 08:09 GMT
Last edited by Angel Velasquez (angvp) - Friday, 28 June 2013, 18:22 GMT
Opened by Médéric Boquien (mboquien) - Saturday, 01 October 2011, 08:09 GMT
Last edited by Angel Velasquez (angvp) - Friday, 28 June 2013, 18:22 GMT
|
DetailsHello,
Pylint supports Python 3, however only the Python 2 version is available in Arch. It would be great to add the python 3 version too. Thanks! Médéric |
This task depends upon
Closed by Angel Velasquez (angvp)
Friday, 28 June 2013, 18:22 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed on python-logilab-common-0.59.1-2 release, now we have pylint on python3 woohoo
Friday, 28 June 2013, 18:22 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed on python-logilab-common-0.59.1-2 release, now we have pylint on python3 woohoo
However, according to the README.Python3 file of pylint (http://hg.logilab.org/pylint/file/tip/README.Python3) setup.py needs to be called in a specific way for the python3 version, and the python3-versions of the dependencies logilab-{common,astng} aren't in portage yet either.
Anyway, I will look at this in September, after the holidays :)
since there is none, i’ll make a python-pylint AUR package (for python 3).
also: there is always a benefit in providing a python 3 version: we want to be able to uninstall python2 one day, because everything has been ported to python 3!
i’ll report back as soon as my package is ready.
for now it’s just too painful to build a package named python-egenix-mx-base while there is already a package wrongly named python-egenix-mx-base.
logilab only uses mx.DateTime objects from egenix-mx-base. but as of version 0.40.1, it can also use ordinary python datetime objects if the mx ones are unavailable. this is actually a critical requirement for pylint's python3 support, because egenix-mx-base does not currently have any python3 support itself.
so since egenix-mx-base is really only an optional dependency of pylint, there is now no reason why pylint/logilab packages for python3 shouldn't be made available.
I will upload python3 version of pylint once this get fixed : http://www.logilab.org/ticket/110213
A simple script with an import statement will make python-pylint traceback, as in the attached file.
EDIT:
Well, pylint now works for simple stuff like `pylint --version`, but it still fails under actual use. See "pylint-test.txt". Same symptoms with the pylint-python3 AUR package.
AttributeError: 'NoneType' object has no attribute 'startswith'
Is supposed to be fixed for the next release of astng [1] .. will check the commits and try to get a patch from there.
[1] https://bitbucket.org/logilab/pylint/issue/14/crashes-on-missing-import