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',
]
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1064726?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I6d2896f13815617d53b270b29dd0a966a6f5807b
Gerrit-Change-Number: 1064726
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]