Xqt created this task. Xqt added projects: Pywikibot, Pywikibot-tests, Upstream. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION Running CI tests with pypy 3.9 fails with mwpfh 0.7.1: https://integration.wikimedia.org/ci/job/pywikibot-core-tox-fasttest-pypy/1422/console 14:07:40 running build_ext 14:07:40 building 'mwparserfromhell.parser._tokenizer' extension 14:07:40 creating build/temp.linux-x86_64-pypy39/src/mwparserfromhell/parser/ctokenizer 14:07:40 gcc -pthread -DNDEBUG -O2 -fPIC -I/src/.tox/fasttest-pypy/include -I/usr/include/pypy3.9 -c src/mwparserfromhell/parser/ctokenizer/avl_tree.c -o build/temp.linux-x86_64-pypy39/src/mwparserfromhell/parser/ctokenizer/avl_tree.o 14:07:40 gcc -pthread -DNDEBUG -O2 -fPIC -I/src/.tox/fasttest-pypy/include -I/usr/include/pypy3.9 -c src/mwparserfromhell/parser/ctokenizer/definitions.c -o build/temp.linux-x86_64-pypy39/src/mwparserfromhell/parser/ctokenizer/definitions.o 14:07:40 In file included from src/mwparserfromhell/parser/ctokenizer/definitions.h:25, 14:07:40 from src/mwparserfromhell/parser/ctokenizer/definitions.c:23: 14:07:40 src/mwparserfromhell/parser/ctokenizer/common.h:29:10: fatal error: Python.h: No such file or directory 14:07:40 29 | #include <Python.h> 14:07:40 | ^~~~~~~~~~ 14:07:40 compilation terminated. 14:07:40 14:07:40 ********** 14:07:40 Note: To avoid building the C tokenizer extension, set the environment variable `WITH_EXTENSION=0`. 14:07:40 This will fall back to a pure-Python tokenizer. 14:07:40 ********** 14:07:40 14:07:40 error: command '/usr/bin/gcc' failed with exit code 1 14:07:40 [end of output] 14:07:40 14:07:40 note: This error originates from a subprocess, and is likely not a problem with pip. 14:07:40 ERROR: Failed building wheel for mwparserfromhell TASK DETAIL https://phabricator.wikimedia.org/T398194 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
_______________________________________________ pywikibot-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
