Commit cd67996e authored by Kirill Smelkov's avatar Kirill Smelkov Fix hang under gpython

Commit 8af78fc5 ( v↑ setuptools_dso (1.2 -> 1.4)) upgraded
setuptools_dso to 1.4, but since from

setuptools_dso started to use multiprocessing,, when running
under gpython, started to hang, which is a known gevent problem - see
e.g. here: The problem was
manifesting itself as unit test hanging under Python3.

Fix it by installing gevent multiprocessing plugin which is
automatically used/activated by gevent.monkey.patch_all().

geventmp says it is pre-alpha, but by using it we can unhang
tests, which is better state than before. The other future possibility
would be to use wrapped into
multiprocessing compatible API.
parent 80ab5863
......@@ -290,7 +290,13 @@ setup(
include_package_data = True,
install_requires = ['gevent', 'six', 'decorator', 'Importing;python_version<="2.7"'],
install_requires = ['gevent', 'six', 'decorator', 'Importing;python_version<="2.7"',
# -> setuptools_dso uses multiprocessing
# FIXME geventmp fails on python2, but setuptools_dso
# uses multiprocessing only on Python3, so for now we
# are ok.
extras_require = extras_require,
entry_points= {'console_scripts': [
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment