Red Hat Bugzilla – Bug 1459389
mwlib imports deprecated gevent.coros module, which is removed in gevent 1.2.x
Last modified: 2017-08-15 04:04:51 EDT
I am updating python-gevent to 1.2.2 in rawhide (for F27), bug 1389634.
I noticed that mwlib imports the gevent.coros module. In gevent 1.1.x (starting April 2012) gevent.coros was renamed to gevent.lock and importing gevent.coros raises a DeprecationWarning. In gevent 1.2.x the gevent.coros module is removed entirely.
There is already an upstream fix in mwlib for this:
which is in mwlib 0.15.16. You can also fix it directly by just replacing gevent.coros with gevent.lock.
This bug appears to have been reported against 'rawhide' during the Fedora 27 development cycle.
Changing version to '27'.