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
I am trying to compile a wheel using the limited API feature of Cython 3.1 and when I use abi3audit to check the built wheel, some symbols should have not been used. I am building the wheel for Python 3.11 stable ABI and abi3audit has found symbols that will be in the stable API for version 3.14 of Python.
Code to reproduce the behaviour:
With this code, only Py_TYPE appears in the built wheel. In my use case, Py_REFCNT also appears.
cpdef int test(int a, int b):
return a + b
Expected behaviour
I would have expected my wheel to be compatible with the stable API of version 3.11.
OS
Linux
Python version
3.12.7
Cython version
3.1.0
Additional context
I am currently using the following compiler directives for building my wheel
The status of the various macros in the limited API is really badly documented and they've been resistant to documenting it further (although I'm definitely not the only one that's been confused by it). But I believe they are in the Limited API and are OK to use.
Describe the bug
I am trying to compile a wheel using the limited API feature of Cython 3.1 and when I use
abi3audit
to check the built wheel, some symbols should have not been used. I am building the wheel for Python 3.11 stable ABI andabi3audit
has found symbols that will be in the stable API for version 3.14 of Python.Code to reproduce the behaviour:
With this code, only
Py_TYPE
appears in the built wheel. In my use case,Py_REFCNT
also appears.Expected behaviour
I would have expected my wheel to be compatible with the stable API of version 3.11.
OS
Linux
Python version
3.12.7
Cython version
3.1.0
Additional context
I am currently using the following compiler directives for building my wheel
The resulting
abi3audit
command line and results:The text was updated successfully, but these errors were encountered: