src/zope/container/_compat.h:254:14: error: incomplete definition of type 'struct _frame'
if (frame->f_lasti < 0) {
~~~~~^
/Users/runner/hostedtoolcache/Python/3.11.0-alpha.7/x64/include/python3.11/pytypedefs.h:22:16: note: forward declaration of 'struct _frame'
typedef struct _frame PyFrameObject;
^
In file included from src/zope/container/_zope_container_contained.c:34:
src/zope/container/_compat.h:257:17: error: incomplete definition of type 'struct _frame'
return frame->f_lasti * 2;
~~~~~^
Using the latest version of
pythoncapi_compat.hcurrently breaks on Python 3.11.0a7.I have seen this on GHA for Ubuntu and MacOS and locally on MacOS:
See https://github.com/zopefoundation/zope.container/runs/6188321544?check_suite_focus=true#step:7:61 where
pythoncapi_compat.hissrc/zope/container/_compat.h.