jayvdb added a comment.
Another reason to remove the dependency on mwlib: it has a nasty list of dependencies, which is both long and has some very restrictive version requirements:
"pyparsing>=1.4.11,<1.6", "timelib>=0.2", "bottle>=0.10", "pyPdf>=1.12", "apipkg>=1.2", "qserve>=0.2.7", "lxml", "py>=1.4", "sqlite3dbm", "simplejson>=2.3", "roman", "gevent", "odfpy>=0.9, <0.10", "Pillow", "setuptools"
https://github.com/pediapress/mwlib/blob/master/setup.py#L44
The worst aspect is that it requires "pyparsing>=1.4.11,<1.6", which prevents using the most recent version of pyparsing, https://pypi.python.org/pypi/pyparsing/2.0.3
The requirement for "odfpy>=0.9, <0.10" is not as bad, as the latest version is https://pypi.python.org/pypi/odfpy/0.9.6
TASK DETAIL https://phabricator.wikimedia.org/T95142
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: XZise, jayvdb Cc: Krenair, gerritbot, XZise, Ricordisamoa, jayvdb, Aklapper, pywikipedia-bugs