Wheels for free-threaded Python now available for psutil
6 months ago
- #Python
- #psutil
- #free-threaded
- psutil 7.1.2 now provides wheels for free-threaded Python, thanks to community contributions.
- Free-threaded Python (Python 3.13+) disables the GIL, enabling true parallel execution for CPU-bound tasks.
- Only 128 out of the top 360 PyPI packages with C extensions support free-threaded wheels.
- Wheels simplify installation by providing pre-compiled binaries, avoiding the need for users to build from source.
- Library authors currently must build separate wheels for each Python version (e.g., 3.13, 3.14), increasing complexity.
- PEP 803 and PEP 809 aim to standardize wheel naming, reducing overhead for authors.
- Install free-threaded psutil using: `pip install psutil --only-binary=:all:`.