psutil icon indicating copy to clipboard operation
psutil copied to clipboard

Add musllinux wheels

Open alugowski opened this issue 2 years ago • 4 comments

Summary

  • OS: Linux
  • Bug fix: no
  • Type: wheels
  • Fixes: Add musllinux wheels

Description

Enable cibuildwheel's Musl wheel builder.

This enables pip install psutil on Alpine Linux without having to install a compiler, including on the minimal -alpine Python base Docker image.

alugowski avatar Apr 15 '24 23:04 alugowski

This would be extremely handy, I hope it gets released soon.

astoff avatar Jun 05 '24 08:06 astoff

This would be extremely handy, I hope it gets released soon.

I would too, but it seems the maintainers have something against musl but haven't articulated it anywhere that I can see. For example there's this 2 year old PR https://github.com/giampaolo/psutil/pull/2126

alugowski avatar Jun 07 '24 18:06 alugowski

I've been repackaging each new psutil version for Musl using cibuildwheel and never ran into an issue with it. I just have an automated job that creates the wheels and pushes them to my local PyPI server.

AFAIR there were other PRs that tried to add this. I would look them up first, it seems like this is a duplicate of one of them.

MrMino avatar Jun 10 '24 10:06 MrMino

@giampaolo Any news about this?

astoff avatar Jul 17 '24 12:07 astoff