Skip to content
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

ci: publish musl wheels for Linux #979

Merged
merged 1 commit into from
Dec 19, 2024
Merged

Conversation

mkniewallner
Copy link
Collaborator

@mkniewallner mkniewallner commented Dec 19, 2024

Closes #977.

PR Checklist

  • A description of the changes is added to the description of this PR.
  • If there is a related issue, make sure it is linked to this PR.
  • If you've fixed a bug or added code that should be tested, add tests!
  • If you've added or modified a feature, documentation in docs is updated

Description of changes

Publish wheels for musl so that users on alpine can use the library without building from source.

I was able to test this on aarch64 with macOS ARM by running a dry-run release, then extracting the wheel into a Docker container using python:alpine:

$ unzip wheels-linux-aarch64-musllinux_1_1-3.13.zip \
    && docker run --workdir /app --volume .:/app python:3.9-alpine \
    sh -c 'pip install deptry-0.0.1-cp39-abi3-musllinux_1_1_aarch64.whl && deptry .'
[...]
Found 70 dependency issues.

For more information, see the documentation: https://deptry.com/

I don't have access to an x64 system right now, but I trust that it should also work just fine.

@mkniewallner mkniewallner marked this pull request as ready for review December 19, 2024 20:49
@mkniewallner mkniewallner force-pushed the ci/publish-musl-wheels branch from 56c909b to 63790a5 Compare December 19, 2024 20:53
Copy link

codecov bot commented Dec 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.0%. Comparing base (5fc0390) to head (63790a5).
Report is 1 commits behind head on main.

Additional details and impacted files
@@          Coverage Diff          @@
##            main    #979   +/-   ##
=====================================
  Coverage   93.0%   93.0%           
=====================================
  Files         37      37           
  Lines        994     994           
  Branches      98      98           
=====================================
  Hits         925     925           
  Misses        55      55           
  Partials      14      14           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mkniewallner mkniewallner merged commit 6b4c781 into main Dec 19, 2024
22 checks passed
@mkniewallner mkniewallner deleted the ci/publish-musl-wheels branch December 19, 2024 21:22
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.

musllinux wheel
1 participant