Skip to content

Commit

Permalink
[tests] install wikitextparser instead of mwparserfromhell for Python…
Browse files Browse the repository at this point in the history
… 3.13

mwparserfromhell fails with Python 3.13

Bug: T372162
Change-Id: I6d2896f13815617d53b270b29dd0a966a6f5807b
  • Loading branch information
xqt committed Aug 22, 2024
1 parent 04425b7 commit 3fa7d12
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
]
Expand Down

0 comments on commit 3fa7d12

Please sign in to comment.