Skip to content

import pyglm disables the GIL on free-threaded python3.14t #291

Description

@cclauss

% uvx --with=pyglm python3.14 -c "import pyglm" # works as expected.

% uvx --with=pyglm python3.14t -c "import pyglm" # raises the warning...

<frozen importlib._bootstrap>:491: RuntimeWarning: The global interpreter lock (GIL) has been enabled to
  load module 'pyglm.glm', 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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions