Skip to content

Import issues with 1.7.0 #179

@opoplawski

Description

@opoplawski

I'll note that I know nothing about Python FFI interfaces. I'm looking at updating the Fedora python-xcffib package to 1.7.0. This is now building with gcc and making an arch dependent package. When I try to then build cairoffi, it fails with:

../BUILDROOT/usr/lib/python3.13/site-packages/cairocffi/__init__.py:18: in <module>
    from .ffi import ffi
../BUILDROOT/usr/lib/python3.13/site-packages/cairocffi/ffi.py:26: in <module>
    ffi.include(xcb_ffi)
/usr/lib64/python3.13/site-packages/cffi/api.py:527: in include
    raise TypeError("ffi.include() expects an argument that is also of"
E   TypeError: ffi.include() expects an argument that is also of type cffi.FFI, not 'FFI'

Do you know what is going on here? Does cairoffi need to be updated or is xcffib doing something strange? Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions