Skip to content

Support for new cp313t GIL-free ABI variant #40

Closed
@nitzmahone

Description

@nitzmahone

I did some smoke testing with the new GIL-free t CPython ABI on 3.13.0a2. I had to patch up wheel with a pre-release version of packaging to get it to build and install without barfing on the new ABI tag, but once I got past that, most of the CFFI test suite is passing. Looks like the majority of the failures are related to new symbol exports (possibly unique to the nogil build?) that need to be accounted for, eg:

ERROR testing/cffi1/test_new_ffi_1.py::TestNewFFI1::test_addressof_anonymous_struct - 
ImportError: /tmp/ffi-4/test_new_ffi_1.cpython-313t-x86_64-linux-gnu.so: 
undefined symbol: _Py_atomic_load_uint32_relaxed

I've already added some 3.13 pre-release smoke-testing- once the various packaging tools we need have released versions that support the new t ABI tagging, we can include that as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions