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
Was interested in testing this out with a webapp I work on that uses uwsgi, but looks like it runs into an error when installing the latest version. Should this work?
Minimal reproduction with docker build .:
# Dockerfile
FROM nogil/python
RUN pip install uwsgi==2.0.20
Error:
#5 12.94 plugins/python/profiler.c: In function ‘uwsgi_python_profiler_call’:
#5 12.94 plugins/python/profiler.c:40:91: error: ‘PyCodeObject’ {aka ‘struct PyCodeObject’} has no member named ‘co_stacksize’; did you mean ‘co_framesize’?
#5 12.94 40 | PyString_AsString(frame->f_code->co_name), frame->f_code->co_argcount, frame->f_code->co_stacksize);
#5 12.94 | ^~~~~~~~~~~~
#5 12.94 | co_framesize
#5 12.94 plugins/python/profiler.c:50:73: error: ‘PyCodeObject’ {aka ‘struct PyCodeObject’} has no member named ‘co_stacksize’; did you mean ‘co_framesize’?
#5 12.94 50 | PyEval_GetFuncName(arg), frame->f_code->co_argcount, frame->f_code->co_stacksize);
#5 12.94 | ^~~~~~~~~~~~
#5 12.94 | co_framesize
#5 12.94 ----------------------------------------
Thanks for the bug report. I have a fix for the co_stacksize issue, but I'm not sure uwsgi will be thread-safe without the GIL. That will take a bit more time to investigate.
I've fixed the issues and updated the Docker image. You may need to run docker pull nogil/python to get the latest image.
Alll of the uwsgi smoke tests pass, but uwsgi is complex and I'm not very familiar with the code so there may be lurking thread-safety issues. Please let me know if you run into any issues.
Thanks for all the great work so far!
Was interested in testing this out with a webapp I work on that uses
uwsgi
, but looks like it runs into an error when installing the latest version. Should this work?Minimal reproduction with
docker build .
:Error:
Full error
The text was updated successfully, but these errors were encountered: