jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1064726?usp=email )
Change subject: [tests] install wikitextparser instead of mwparserfromhell for Python 3.13 ......................................................................
[tests] install wikitextparser instead of mwparserfromhell for Python 3.13
mwparserfromhell fails with Python 3.13
Bug: T372162 Change-Id: I6d2896f13815617d53b270b29dd0a966a6f5807b --- M setup.py 1 file changed, 2 insertions(+), 1 deletion(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/setup.py b/setup.py index 358aea4..0951b66 100755 --- a/setup.py +++ b/setup.py @@ -91,7 +91,8 @@ # packages which are mandatory dependencies = [ 'importlib_metadata ; python_version < "3.8"', - 'mwparserfromhell>=0.5.2', + 'mwparserfromhell>=0.5.2; python_version != "3.13"', + 'wikitextparser; python_version == "3.13"', 'packaging', 'requests>=2.21.0', ]
pywikibot-commits@lists.wikimedia.org