Bug#993438: python3-pygments: Markdown and Output lexers cannot be found
>> Package: python3-pygments >> Version: 2.7.1+dfsg-2.1 >> Severity: normal >> X-Debbugs-Cc: none, Francesco Potortì >> >> get_lexer_by_name("markdown") >> does not work: it does not find the lexer. >> However, >> get_lexer_by_name("md") >> works, so this is a bug with a workaround. >> >> get_lexer_by_name("output") >> does not work: it does not find the lexer. >> This time, it seems that OutputLexer is not really there, as >> from pygments.lexers import OutputLexer >> does not work either. > >If the version (2.7.1) is correct, this is expected: the "markdown" >alias is new in 2.8.0, while the Output lexer is new in 2.10.0. Ok, thanks, will wait :) -- Francesco Potortì (ricercatore)Voice: +39.050.621.3058 ISTI - Area della ricerca CNR Mobile: +39.348.8283.107 via G. Moruzzi 1, I-56124 Pisa Skype: wnlabisti (gate 20, 1st floor, room C71) Web:http://fly.isti.cnr.it
Bug#993438: python3-pygments: Markdown and Output lexers cannot be found
On 01/09/2021 13:34, Francesco Potortì wrote: > Package: python3-pygments > Version: 2.7.1+dfsg-2.1 > Severity: normal > X-Debbugs-Cc: none, Francesco Potortì > > get_lexer_by_name("markdown") > does not work: it does not find the lexer. > However, > get_lexer_by_name("md") > works, so this is a bug with a workaround. > > get_lexer_by_name("output") > does not work: it does not find the lexer. > This time, it seems that OutputLexer is not really there, as > from pygments.lexers import OutputLexer > does not work either. If the version (2.7.1) is correct, this is expected: the "markdown" alias is new in 2.8.0, while the Output lexer is new in 2.10.0.
Bug#993438: python3-pygments: Markdown and Output lexers cannot be found
Package: python3-pygments Version: 2.7.1+dfsg-2.1 Severity: normal X-Debbugs-Cc: none, Francesco Potortì get_lexer_by_name("markdown") does not work: it does not find the lexer. However, get_lexer_by_name("md") works, so this is a bug with a workaround. get_lexer_by_name("output") does not work: it does not find the lexer. This time, it seems that OutputLexer is not really there, as from pygments.lexers import OutputLexer does not work either. -- Francesco Potortì (ricercatore)Voice: +39.050.621.3058 ISTI - Area della ricerca CNR Mobile: +39.348.8283.107 via G. Moruzzi 1, I-56124 Pisa Skype: wnlabisti (gate 20, 1st floor, room C71) Web:http://fly.isti.cnr.it -- System Information: Debian Release: 11.0 APT prefers testing APT policy: (990, 'testing'), (101, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.10.0-3-amd64 (SMP w/4 CPU threads) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=C.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages python3-pygments depends on: ii python33.9.2-3 ii python3-pkg-resources 52.0.0-4 python3-pygments recommends no packages. Versions of packages python3-pygments suggests: pn python-pygments-doc ii ttf-bitstream-vera 1.10-8.1 -- no debconf information