[Python-apps-team] Bug#606165: Support python3

Matthew Gabeler-Lee cheetah at fastcat.org
Sat Jan 25 23:51:52 UTC 2014


Package: pylint
Version: 1.1.0-1
Followup-For: Bug #606165

I got annoyed with this and decided to try to fix it.  Attached patch I
think gets about 90% of the way there.

The big thing that is broken is that the unit tests fail under python3
because they're written for python2 and need 2to3 run across a copy of them
to have any hope.  This doesn't stop the package from building, however.

Some of the unit tests are failing under python2, but I don't think that's
the fault of these changes.

Something is slightly haywire with the package build knowing which version
of python is used for which binary package, and so the python2 package
generates these warnings:

dpkg-gencontrol: warning: package pylint: unused substitution variable ${python3:Depends}
dpkg-gencontrol: warning: package pylint: unused substitution variable ${python:Versions}

Not sure how to fix that, or if it even needs fixing?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pylint3.diff
Type: text/x-diff
Size: 6514 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-apps-team/attachments/20140125/75fab9db/attachment.diff>


More information about the Python-apps-team mailing list