Dvorapa created this task. Dvorapa added a project: Pywikibot-Documentation. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. Restricted Application added a project: Pywikibot.
TASK DESCRIPTION Doctest fails to import module _tkinter in userinterfaces/gui.py. This prevents the doc for the file to be generated at all. WARNING: autodoc: failed to import module 'gui' from module 'pywikibot.userinterfaces'; the following exception was raised: No module named '_tkinter', please install the python3-tk package From my point of view, either similar approach to script_wui.py could be used to solve this issue, or `autodoc_mock_imports` could be used. But I've been unable to make any of these work. TASK DETAIL https://phabricator.wikimedia.org/T240070 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Dvorapa Cc: Aklapper, pywikibot-bugs-list, Dvorapa, AndreasTraut, Zkhalido, Urstrulykkr, Viztor, DannyS712, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Altostratus, Avicennasis, mys_721tx, jayvdb, Dalba, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs