# Wheels for musl (Alpine)

**URL:** <https://discuss.python.org/t/wheels-for-musl-alpine/7084>\
**Category:** Packaging\
**Created:** [February 8, 2021, 2:32pm UTC](https://discuss.python.org/t/wheels-for-musl-alpine/7084 "2021-02-08T14:32:21Z")\
**Posts on this page:** 3\
**Page:** 4

<div class="post-metadata">

**Author:** ![pf\_moore](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/pf_moore/32/35_2.png) [@pf\_moore](https://discuss.python.org/u/pf_moore)\
**Post date:** [March 18, 2021, 11:03am UTC](https://discuss.python.org/t/wheels-for-musl-alpine/7084/62 "2021-03-18T11:03:44Z")

</div>

I think including the text of `_get_musl_version` from that PR into the PEP would be acceptable. I can’t comment on whether it’s the “right” approach, but I assume the MUSL experts in this discussion can let you know about that 😉

PS As with PEP 600, I’m OK with being PEP-Delegate by default for this PEP on the basis that I’ll be looking at whether the discussion here looked sufficiently complete, and reached an acceptable compromise (I have no specialist MUSL knowledge). But if anyone wants to suggest someone who does know MUSL who would be better as PEP-delegate, feel free to speak up!

---

<div class="post-metadata">

**Author:** ![uranusjr](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/uranusjr/32/103_2.png) [@uranusjr](https://discuss.python.org/u/uranusjr)\
**Post date:** [March 19, 2021, 5:05pm UTC](https://discuss.python.org/t/wheels-for-musl-alpine/7084/63 "2021-03-19T17:05:19Z")

</div>

> <https://github.com/python/peps/pull/1877>

I added a code block to show how to retrieve the musl version. I chose to only briefly describe how to get the musl libc’s path from a Python executable, since the implementation is a bit too long to include in a document, but shouldn’t be too difficult to devise from reading the ELF spec (ref provided in the PEP).

Also note that [there’s now a thread for the PEP](https://discuss.python.org/t/7165), so it might be a good idea to move further discussions there so we can keep things in one place 🙂

---

<div class="post-metadata">

**Author:** ![brettcannon](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/brettcannon/32/34895_2.png) [@brettcannon](https://discuss.python.org/u/brettcannon)\
**Post date:** [March 19, 2021, 8:55pm UTC](https://discuss.python.org/t/wheels-for-musl-alpine/7084/64 "2021-03-19T20:55:25Z")

</div>

Please post further comments at [Pre-PEP: Platform Tag for Linux Distributions Using Musl](https://discuss.python.org/t/7165).

[Previous page](https://discuss.python.org/t/wheels-for-musl-alpine/7084.md?page=3)
