Skip to content

fix(ci): build the sdist before the manylinux wheel - #426

Merged
benbenbang merged 1 commit into
mainfrom
fix/wheel-sdist-order
Nov 8, 2026
Merged

benbenbang merged 1 commit into
mainfrom
fix/wheel-sdist-order

Conversation

@benbenbang

Copy link
Copy Markdown
Member

Reorder the release workflow so the sdist step runs before the wheel
build. On runners where the manylinux container leaves dist/ root-owned
and the runner cannot chown it back (seen on Blacksmith in libitofin
v0.49.0, fixed there in #1397), the host-side maturin sdist fails with
Permission denied.

Building the sdist first creates dist/ as the runner user, and the
container can still write the wheel into it afterward. This is
preventive here since ubuntu-latest still chowns successfully.

Reorder the release workflow so the sdist step runs before the wheel
build. On runners where the manylinux container leaves dist/ root-owned
and the runner cannot chown it back (seen on Blacksmith in libitofin
v0.49.0, fixed there in #1397), the host-side maturin sdist fails with
Permission denied.

Building the sdist first creates dist/ as the runner user, and the
container can still write the wheel into it afterward. This is
preventive here since ubuntu-latest still chowns successfully.
@benbenbang
benbenbang enabled auto-merge (squash) November 8, 2026 22:28
@github-actions github-actions Bot added the workflows ci/cd, configs relative label Nov 8, 2026
@benbenbang
benbenbang merged commit 414f878 into main Nov 8, 2026
10 checks passed
@benbenbang
benbenbang deleted the fix/wheel-sdist-order branch November 8, 2026 22:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

workflows ci/cd, configs relative

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant