jenkins-bot submitted this change.
[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(-)
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',
]
To view, visit change 1064726. To unsubscribe, or for help writing mail filters, visit settings.