You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An error occurs during the building of accelerate on Python 3.11 with Cython 0.29. Works fine with Cython 3.0a11. Re-generating source should work for Python 3.6+
Failing
docker run --rm -it python:3.11-rc bash
pip install git+https://github.com/mcfletch/pyopengl.git@227f9c6#subdirectory=accelerate
Output
building 'OpenGL_accelerate.wrapper' extension
creating build/temp.linux-x86_64-cpython-311
creating build/temp.linux-x86_64-cpython-311/src
gcc -pthread -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/tmp/pip-req-build-gz8ht9om/accelerate/.. -I/tmp/pip-req-build-gz8ht9om/accelerate/src -I/tmp/pip-req-build-gz8ht9om/accelerate -I/usr/local/include/python3.11 -c src/wrapper.c -o build/temp.linux-x86_64-cpython-311/src/wrapper.o
src/wrapper.c: In function ‘__Pyx_AddTraceback’:
src/wrapper.c:438:62: error: invalid use of incomplete typedef ‘PyFrameObject’ {aka ‘struct _frame’}
438 | #define __Pyx_PyFrame_SetLineNumber(frame, lineno) (frame)->f_lineno = (lineno)
| ^~
src/wrapper.c:28232:5: note: in expansion of macro ‘__Pyx_PyFrame_SetLineNumber’
28232 | __Pyx_PyFrame_SetLineNumber(py_frame, py_line);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
error: command '/usr/bin/gcc' failed with exit code 1
An error occurs during the building of accelerate on Python 3.11 with Cython 0.29. Works fine with Cython 3.0a11. Re-generating source should work for Python 3.6+
Failing
Output
Environment
Succeeding
docker run --rm -it python:3.11-rc bash pip install 'cython >= 3.0a11' pip install pyopengl-accelerate
The text was updated successfully, but these errors were encountered: