FS#40547 - [python-pygments] python3 compatibility
Attached to Project:
Community Packages
Opened by nan (someonerandom) - Sunday, 25 May 2014, 14:54 GMT
Last edited by Evangelos Foutras (foutrelis) - Wednesday, 02 July 2014, 15:02 GMT
Opened by nan (someonerandom) - Sunday, 25 May 2014, 14:54 GMT
Last edited by Evangelos Foutras (foutrelis) - Wednesday, 02 July 2014, 15:02 GMT
|
Details
Description:
python-pygments isn't compatible with python 3.4 at least. Additional info: * python 3.4.1-1 * python-pygments 1.6-3 Steps to reproduce: Run cppcheck-htmlreport will give errors like: Traceback (most recent call last): File "/usr/bin/cppcheck-htmlreport", line 309, in <module> lexer = guess_lexer_for_filename(source_filename, '') File "/usr/lib/python3.4/site-packages/pygments/lexers/__init__.py", line 190, in guess_lexer_for_filename result.sort() TypeError: unorderable types: RegexLexerMeta() < LexerMeta() To fix this a patch from the pygments hg is necessary: https://bitbucket.org/birkenfeld/pygments-main/commits/c31841d2fd2171419134f30e815dcafb1e8c7eee |
This task depends upon
Closed by Evangelos Foutras (foutrelis)
Wednesday, 02 July 2014, 15:02 GMT
Reason for closing: Fixed
Additional comments about closing: Patch added in python-pygments 1.6-4.
Wednesday, 02 July 2014, 15:02 GMT
Reason for closing: Fixed
Additional comments about closing: Patch added in python-pygments 1.6-4.