python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [28 lines of output]
/usr/local/lib64/python3.9/site-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /tmp/pip-install-43rjazef/thriftpy2_098466ab960645bcb88f3bcdffd1b7e4/thriftpy2/transport/cybase.pxd
tree = Parsing.p_module(s, pxd, full_module_name)
Error compiling Cython file:
------------------------------------------------------------
...
cdef int grow(self, int min_size):
if min_size <= self.buf_size:
return 0
cdef int multiples = min_size / self.buf_size
^
------------------------------------------------------------
thriftpy2/transport/cybase.pyx:90:38: Cannot assign type 'double' to 'int'
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-install-43rjazef/thriftpy2_098466ab960645bcb88f3bcdffd1b7e4/setup.py", line 61, in <module>
cythonize("thriftpy2/transport/cybase.pyx")
File "/usr/local/lib64/python3.9/site-packages/Cython/Build/Dependencies.py", line 1134, in cythonize
cythonize_one(*args)
File "/usr/local/lib64/python3.9/site-packages/Cython/Build/Dependencies.py", line 1301, in cythonize_one
raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: thriftpy2/transport/cybase.pyx
Compiling thriftpy2/transport/cybase.pyx because it changed.
[1/1] Cythonizing thriftpy2/transport/cybase.pyx
[end of output]
Environment
Note: User could run cd scripts && python collect_info.py all under project directory to get system information
and paste them here directly.
Qbot version: latest
Python version: 3.9
OS (Windows, Linux, MacOS): linux
Commit number (optional, please provide it if you are using the dev version):
🐛 Bug Description
python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [28 lines of output] /usr/local/lib64/python3.9/site-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /tmp/pip-install-43rjazef/thriftpy2_098466ab960645bcb88f3bcdffd1b7e4/thriftpy2/transport/cybase.pxd tree = Parsing.p_module(s, pxd, full_module_name)
Environment
Note: User could run
cd scripts && python collect_info.py all
under project directory to get system information and paste them here directly.Windows
,Linux
,MacOS
): linux