-
Couldn't load subscription status.
- Fork 160
Description
PEP 656 proposed musllinux, a counterpart of manylinux for Linux distros running on musl libc. I’ve recently implemented support for installing musllinux wheels (pypa/packaging#411), and are now looking for a place to implement wheel generation logic.
Do you think auditwheel is a good place for this? Many things are the same auditing manylinux and musllinux wheels (the Linux part), but from my (very little) understanding, many parts in auditwheel assume glibc and would need some refactoring to work with musl, so there’s case to create a new tool for musllinux wheel auditing as well. My main end goal is to add musl to the support matrix of cibuildwheel (pypa/cibuildwheel#627), so either approach would ultimately be fine.
Edit from maintainers:
List of tasks that would need to be done in order to add support for musllinux.
This list is subject to changes and will be updated with feedback from comments.
- Rename manylinux policy
auditwheel/policy/policy.json->auditwheel/policy/manylinux-policy.jsonrefactor: rename policy.json to manylinux-policy.json #311 - Prepare a musllinux policy
auditwheel/policy/musllinux-policy.jsonfollowing the same schema. Add support for musllinux #315 - Detect if running a musl or glibc linux Add support for musllinux #315
- Select the correct policy file based on previous detection Add support for musllinux #315
- Filter musllinux policies to only retain the one matching the system's musl version Add support for musllinux #315 PEP 656 musllinux support #305 (comment)
- Fix ldtree to behave properly on musl Add support for musllinux #315
This seems to be what's needed for now.
Be warned, most of the work is probably musllinux-policy.json.