Skip to content

Prepare musllinux integration (CC #103) #104

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
May 2, 2022
Merged

Prepare musllinux integration (CC #103) #104

merged 6 commits into from
May 2, 2022

Conversation

mara004
Copy link
Member

@mara004 mara004 commented Apr 30, 2022

Not sure how to properly recognise musl host systems in setup.py (see python/cpython#87414).

mara004 added 4 commits April 30, 2022 22:51
Still need to figure out how to recognise musllinux hosts
Looks like platform.libc_ver()[0] currently just returns an empty string
on musl: python/cpython#87414
@@ -49,6 +49,9 @@ def _copy_bindings(pl_name):
def _get_linux_tag(arch):
return 'manylinux_2_17_%s.manylinux2014_%s' % (arch, arch)

def _get_musllinux_tag(arch):
return 'musllinux_1_2_%s' % (arch)
Copy link
Member Author

@mara004 mara004 Apr 30, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1_1 might work as well - not sure about this.

@mara004 mara004 linked an issue May 1, 2022 that may be closed by this pull request
@mara004 mara004 marked this pull request as ready for review May 2, 2022 07:25
@mara004 mara004 merged commit aad6bce into main May 2, 2022
@mara004 mara004 deleted the musllinux branch May 2, 2022 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add musllinux to setup
1 participant