psutil icon indicating copy to clipboard operation
psutil copied to clipboard

Release Python 3.13t (free-threading) wheel

Open hawkinsp opened this issue 1 year ago • 2 comments

psutil currently only ships an abi3 wheel, which isn't compatible with Python 3.13t free-threading builds. It'd be great to fix that!

hawkinsp avatar Dec 17 '24 22:12 hawkinsp

Not sure how to do this, nor what it means in terms of effort.

E.g. can we release a single .whl which targets all cPython versions >= 3.13? ...Or we're deemed to create multiple .whl files for every python version (3.13, 3.14, 3.15, etc.)?

CC @mayeut and @colesbury in case they want to chime in.

giampaolo avatar Dec 28 '24 12:12 giampaolo

There's no limited/stable API/ABI for free-threading yet: https://docs.python.org/3/howto/free-threading-extensions.html#limited-c-api-and-stable-abi

The existing abi3 wheel will continue to work on non free-threading builds of python 3.13+. For the free-threading builds, a wheel per version is required.

mayeut avatar Dec 29 '24 13:12 mayeut

I note that free-threading is no longer experimental as of Python 3.14. Any chance we can ship Python 3.14t wheels?

hawkinsp avatar Oct 06 '25 15:10 hawkinsp

Done in https://github.com/giampaolo/psutil/issues/2565.

giampaolo avatar Oct 25 '25 09:10 giampaolo