Skip to content

Add support for free-threading wheels#67

Merged
imciner2 merged 6 commits intomasterfrom
im/freethread
Feb 7, 2026
Merged

Add support for free-threading wheels#67
imciner2 merged 6 commits intomasterfrom
im/freethread

Conversation

@imciner2
Copy link
Member

This enables the QDLDL wheels to be built with the free-threading support (aka. no-GIL).

I think all we need to do is add the py::mod_gil_not_used() to our module, and that will also disable all our other calls releasing/acquiring the GIL.

I am basing the cibuildwheel change off of the documentation here: https://py-free-threading.github.io/ci/#building-free-threaded-wheels-with-cibuildwheel

@imciner2 imciner2 requested a review from vineetbansal November 6, 2025 18:54
@imciner2
Copy link
Member Author

imciner2 commented Nov 6, 2025

To get this to work I needed to update the cibuildwheel version to the latest, and also remove our use of the manylinux2014 container. Once I did that, we now use pre-built versions of our dependencies (i.e., numpy) on the newer Python versions, and we also support Python 3.14 with this.

@PTNobel
Copy link
Collaborator

PTNobel commented Jan 19, 2026

Any ETA on the 3.14 support? We're trying to add qdldl as a direct CVXPY dependency and the lack of 3.14 wheels is breaking CI

@imciner2 imciner2 merged commit 1991c5b into master Feb 7, 2026
15 checks passed
@PTNobel PTNobel deleted the im/freethread branch February 8, 2026 06:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants