Skip to content

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

@cclauss

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.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions