jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/697989 )
Change subject: [deps] Update wikitextparser requirement ......................................................................
[deps] Update wikitextparser requirement
Change-Id: I0420de72d9c50c80e2d0a6bb6d702bdc670b2b64 --- M pywikibot/textlib.py M requirements.txt M setup.py 3 files changed, 4 insertions(+), 3 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/textlib.py b/pywikibot/textlib.py index c38bde3..d17cff9 100644 --- a/pywikibot/textlib.py +++ b/pywikibot/textlib.py @@ -47,7 +47,7 @@
or
- pip install "wikitextparser>=0.47.0" + pip install "wikitextparser>=0.47.5" """) from None
ETPType = List[Tuple[str, OrderedDictType[str, str]]] diff --git a/requirements.txt b/requirements.txt index 2a6cbc4..8bd4b10 100644 --- a/requirements.txt +++ b/requirements.txt @@ -26,7 +26,7 @@ # MediaWiki markup parser # mwparserfromhell is default, wikitextparser can be used instead # mwparserfromhell is still required for commons_information.py and patrol.py -# wikitextparser>=0.47.0 +# wikitextparser>=0.47.5 mwparserfromhell>=0.5.0
# OAuth support diff --git a/setup.py b/setup.py index 5cea247..5855919 100644 --- a/setup.py +++ b/setup.py @@ -63,7 +63,8 @@ 'Graphviz': ['pydot>=1.2'], 'Google': ['google>=1.7'], 'mwparserfromhell': ['mwparserfromhell>=0.5.0'], - 'wikitextparser': ['wikitextparser>=0.47.0'], + 'wikitextparser': ['wikitextparser>=0.47.5;python_version<"3.6"', + 'wikitextparser>=0.47.0'], 'Tkinter': [ # vulnerability found in Pillow<8.1.1 'Pillow>=8.1.1;python_version>="3.6"', ],
pywikibot-commits@lists.wikimedia.org