Bug 1459389 - mwlib imports deprecated gevent.coros module, which is removed in gevent 1.2.x
mwlib imports deprecated gevent.coros module, which is removed in gevent 1.2.x
Status: NEW
Product: Fedora
Classification: Fedora
Component: python-mwlib (Show other bugs)
27
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Ian Weller
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-06-06 22:51 EDT by Dan Callaghan
Modified: 2017-08-15 04:04 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Dan Callaghan 2017-06-06 22:51:27 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:

https://github.com/pediapress/mwlib/commit/6e07290108feb7d741401997600b8ca28e08098b

which is in mwlib 0.15.16. You can also fix it directly by just replacing gevent.coros with gevent.lock.
Comment 1 Jan Kurik 2017-08-15 04:04:51 EDT
This bug appears to have been reported against 'rawhide' during the Fedora 27 development cycle.
Changing version to '27'.

Note You need to log in before you can comment on or make changes to this bug.