Skip to content

community/py3-gevent: fix dependency on setuptools

Introduced in https://github.com/gevent/gevent/commit/94d9788fc047a44bf2db7e179abb8796e3bed79e

Without pkg_resources shipped with setuptools gevent fails with this trace.

...
    patch_all()
  File "/usr/lib/python3.9/site-packages/gevent/monkey.py", line 1226, in patch_all
    from gevent import events
  File "/usr/lib/python3.9/site-packages/gevent/events.py", line 74, in <module>
    from pkg_resources import iter_entry_points
ModuleNotFoundError: No module named 'pkg_resources'

Merge request reports