-
Notifications
You must be signed in to change notification settings - Fork 100
Description
Getting requirements to build wheel ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 /tmp/tmpb830mxof get_requires_for_build_wheel /tmp/tmp1myu49kw
cwd: /tmp/pip-install-2s352ylp/gevent
Complete output (45 lines):
Compiling src/gevent/resolver/cares.pyx because it changed.
[1/1] Cythonizing src/gevent/resolver/cares.pyx
performance hint: src/gevent/libev/corecext.pyx:1299:0: Exception check on '_syserr_cb' will always require the GIL to be acquired.
Possible solutions:
1. Declare '_syserr_cb' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
2. Use an 'int' return type on '_syserr_cb' to allow an error code to be returned.
Error compiling Cython file:
...
cdef tuple integer_types
if sys.version_info[0] >= 3:
integer_types = int,
else:
integer_types = (int, long)
^
src/gevent/libev/corecext.pyx:59:26: undeclared name not builtin: long
Compiling src/gevent/libev/corecext.pyx because it changed.
[1/1] Cythonizing src/gevent/libev/corecext.pyx
Traceback (most recent call last):
File "/tmp/tmpb830mxof", line 280, in
main()
File "/tmp/tmpb830mxof", line 263, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/tmp/tmpb830mxof", line 114, in get_requires_for_build_wheel
return hook(config_settings)
File "/tmp/pip-build-env-kw6tejr5/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 333, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
File "/tmp/pip-build-env-kw6tejr5/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 303, in _get_build_requires
self.run_setup()
File "/tmp/pip-build-env-kw6tejr5/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 521, in run_setup
super().run_setup(setup_script=setup_script)
File "/tmp/pip-build-env-kw6tejr5/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 319, in run_setup
exec(code, locals())
File "", line 49, in
File "/tmp/pip-install-2s352ylp/gevent/_setuputils.py", line 236, in cythonize1
new_ext = cythonize(
File "/tmp/pip-build-env-kw6tejr5/overlay/lib/python3.8/site-packages/Cython/Build/Dependencies.py", line 1145, in cythonize
cythonize_one(*args)
File "/tmp/pip-build-env-kw6tejr5/overlay/lib/python3.8/site-packages/Cython/Build/Dependencies.py", line 1289, in cythonize_one
raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: src/gevent/libev/corecext.pyx
ERROR: Command errored out with exit status 1: /usr/bin/python3 /tmp/tmpb830mxof get_requires_for_build_wheel /tmp/tmp1myu49kw Check the logs for full command output.