Somehow you are using a development version of mwparserfromhell that has dropped support
for Python 2.7. It is not clear to me why Toolforge is making development versions
available to people by default. You need to either switch to Python 3.4+ or use the latest
stable release of mwparserfromhell (v0.5.4) which still has Python 2 support.
On Jan 14, 2020, at 6:37 AM, Russell Blau
<russblau(a)imapmail.org> wrote:
This just started today on the version of pywikibot used on the Wikimedia Toolforge
Traceback (most recent call last):
File
"/var/spool/gridengine/execd/tools-sgewebgrid-generic-0902/job_scripts/451453",
line 26, in <module>
import pywikibot
File "/shared/pywikipedia/core/pywikibot/__init__.py", line 59, in
<module>
import pywikibot.textlib as textlib
File "/shared/pywikipedia/core/pywikibot/textlib.py", line 45, in
<module>
import mwparserfromhell
File "/shared/pywikipedia/core/mwparserfromhell/__init__.py", line 34, in
<module>
from . import (definitions, nodes, parser, smart_list, string_mixin,
File "/shared/pywikipedia/core/mwparserfromhell/nodes/__init__.py", line 32,
in <module>
from ..string_mixin import StringMixIn
File "/shared/pywikipedia/core/mwparserfromhell/string_mixin.py", line 86
yield from self.__unicode__()
^
SyntaxError: invalid syntax
--
Russell Blau
russblau(a)imapmail.org
_______________________________________________
pywikibot mailing list
pywikibot(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot