Legoktm added a comment.
To summarize a bit:
- Toolforge policy is to not install Python packages system-wide because it
causes confusion and conflicts over versions. People should use virtualenvs or
`pip install --user` instead.
- Debian Stretch (what the bastions/grid run) contains mwparserfromhell
0.4.2, which wouldn't meet Pywikibot's requirement of >=0.5.0 anyways.
- Pywikibot requires external dependencies and the shared Toolforge
installation (maintained by Pywikibot developers
<https://admin.toolforge.org/?tool=pywikibot>, not Toolforge admins) installs
them for you.
- As of April / T106763: Mandatory dependency on mwparserfromhell
<https://phabricator.wikimedia.org/T106763>, mwparserfromhell or wikitextparser
is required.
- Pywikibot also requires requests and setuptools, but those are installed
by coincidence because other system packages need them.
If you want to maintain your own Pywikibot installation, IMO using a
virtualenv is the easiest. You could also `pip install --user mwparserfromhell`
too, I don't remember exactly what downsides that has over a virtualenv.
Otherwise, I'm not really sure what's actionable in this ticket besides
asking for a revert of the mwparserfromhell/wikitextparser dependency.
TASK DETAIL
https://phabricator.wikimedia.org/T291771
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Legoktm
Cc: Majavah, JJMC89, Legoktm, Xqt, Aklapper, pywikibot-bugs-list, Multichill,
Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi,
Tbscho, MayS, Mdupont, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb,
Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]