pediapress / mwlib

mediawiki parser library
103 stars 35 forks source link

gevent.coros missing #63

Closed jmsaltzman closed 6 years ago

jmsaltzman commented 7 years ago

Semaphore from gevent.coros is used in fetch.py and sapi.py, but Semaphore is in gevent.lock.

This causes the first line of the test to fail: mw-zip -c :en -o test.zip Acdc Number (from http://mwlib.readthedocs.io/en/latest/installation.html#test-install)

Replacing 'coros' with 'lock' fixes it.

This may be an issue with gevent not deprecating coros nicely but thought you should know :)

v0lk3r commented 6 years ago

fixed in the latest version