Closed
Description
Using the latest version of pythoncapi_compat.h
currently breaks on Python 3.11.0a7.
I have seen this on GHA for Ubuntu and MacOS and locally on MacOS:
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;
~~~~~^
See https://github.com/zopefoundation/zope.container/runs/6188321544?check_suite_focus=true#step:7:61 where pythoncapi_compat.h
is src/zope/container/_compat.h
.
Metadata
Metadata
Assignees
Labels
No labels