Skip to content

Importing libvalkey on free threaded Python 3.14t reenables the GIL #40

@cclauss

Description

@cclauss

% uvx --with=libvalkey python3.14t -c "import libvalkey ; reader = libvalkey.Reader()"

Built libvalkey==4.0.1
    Installed 1 package in 1ms
<frozen importlib._bootstrap>:491: RuntimeWarning: The global interpreter lock (GIL) has been enabled to
    load module 'libvalkey.libvalkey', which has not declared that it can run safely without the GIL.
    To override this behavior and keep the GIL disabled (at your own risk), run with PYTHON_GIL=0 or -Xgil=0.

https://py-free-threading.github.io/porting

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