Hi Graham (2025.12.03_05:55:49_-0400)
Previously, mwparserfromhell built a Python extension:
/usr/lib/python3/dist-packages/mwparserfromhell/parser/_tokenizer.cpython-313-x86_64-linux-gnu.so
but it is missing from the latest rebuild.
Looks like this was a combination of breakage with GCC-15 + an
intentional fallback to pure-Python by the usptream, if the extension
fails to compile:
building 'mwparserfromhell.parser._tokenizer' extension
creating
build/temp.linux-x86_64-cpython-313/src/mwparserfromhell/parser/ctokenizer
x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/mwparserfromhell-0.6.6=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
-I/usr/include/python3.13 -c src/mwparserfromhell/parser/ctokenizer/avl_tree.c
-o
build/temp.linux-x86_64-cpython-313/src/mwparserfromhell/parser/ctokenizer/avl_tree.o
src/mwparserfromhell/parser/ctokenizer/avl_tree.c:24:13: error: ‘bool’ cannot
be defined via ‘typedef’
24 | typedef int bool;
| ^~~~
src/mwparserfromhell/parser/ctokenizer/avl_tree.c:24:13: note: ‘bool’ is a
keyword with ‘-std=c23’ onwards
src/mwparserfromhell/parser/ctokenizer/avl_tree.c:24:1: warning: useless type
name in empty declaration
24 | typedef int bool;
| ^~~~~~~
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
Falling back to pure Python mode.
--
Stefano Rivera
http://tumbleweed.org.za/
+1 415 683 3272