Skip to content

Can't import constants (O_CREAT, STATX_BASIC_STATS, AT_FDCWD, etc.) #22

@bland328

Description

@bland328

When I install (either via pip or by cloning and building from there) using Python 3.12.8 under kernel 6.1, everything seems fine except that I'm unable to import any constants.

from liburing import O_CREAT fails, as do STATX_BASIC_STATS, AT_FDCWD, and so on.

I can import callables just fine.

Any thoughts on what might be going wrong, or more likely, what I might be misunderstanding?

Just in case it helps, liburing.probe() returns True for everything except these:

...
'IORING_OP_READ_MULTISHOT': False
'IORING_OP_WAITID': False
'IORING_OP_FUTEX_WAIT': False
'IORING_OP_FUTEX_WAKE': False
'IORING_OP_FUTEX_WAITV': False
'IORING_OP_FIXED_FD_INSTALL': False
'IORING_OP_FTRUNCATE': False
'IORING_OP_BIND': False
'IORING_OP_LISTEN': False

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