Skip to content

support for free threaded builds of Python #2029

@kdschlosser

Description

@kdschlosser

I know there was work done to support Python 3.14 but small hiccup is that it's not available for 3.14t. It's also not available for 3.13t either. Not saying you guys have to put the full boat amount of work into making the library run without the use of the GIL. But if you could make it work and set the flag so that it doesn't support running without the GIL this would be extremely helpful.

You can leave it so that it would be the users responsibility to make sure that any calls to the library all happen in the same thread. This would allow people that want to be able to use the no GIL version of Python for running threads without the GIL and have no intention of accessing anything in the library from anything other than the main thread.

In my specific use case I am loading a large number of cad models and not all of them are being loaded using this library. I am mainly using this library for some things and those items are drawn when the item is actually loaded and the mesh is then exported into a numpy array and that gets sent up to the GPU where the GPU handles positioning and rotation of the object. A lot of the 3d models my application deals with is from external sources and come already saved as a variety of different file formats. Most file loading is handled by a different library.

I am hoping that it would not be too much effort to get the library to run with Python 3.13t even if the flag is set to say that the library doesn't support running without the GIL.

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