Xqt submitted this change.
[fix] Decrease needed mwpfh version to 0.5.2
mwpfh version 0.5.2 is available on toolforge.
Pywikibot uses an external installation which is not
detected via pkg_resources in wrapper.py script.
cherry-pick from master
Bug: T326498
Bug: T327600
Change-Id: I729e8736ca17788442669f75d1cc190e8ed3c34c
---
M setup.py
M requirements.txt
2 files changed, 19 insertions(+), 2 deletions(-)
diff --git a/requirements.txt b/requirements.txt
index 67bdf87..1c7e5ed 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -18,7 +18,7 @@
# $ awk -F '[#>=]' '{print $1}' requirements.txt | xargs apt-cache search
# mandatory dependencies, others are optional
-mwparserfromhell>=0.6.3
+mwparserfromhell>=0.5.2
requests>=2.21.0, < 2.28.0; python_version < '3.7'
requests>=2.21.0; python_version >= '3.7'
setuptools>=48.0.0 ; python_version >= '3.10'
diff --git a/setup.py b/setup.py
index e2d203f..8ac1364 100755
--- a/setup.py
+++ b/setup.py
@@ -86,7 +86,7 @@
# ------- setup install_requires ------- #
# packages which are mandatory
dependencies = [
- 'mwparserfromhell>=0.6.3',
+ 'mwparserfromhell>=0.5.2',
'requests>=2.21.0, <2.28.0; python_version < "3.7"',
'requests>=2.21.0; python_version>="3.7"',
# PEP 440
To view, visit change 908467. To unsubscribe, or for help writing mail filters, visit settings.