Skip to content

Fix flaky Linux wheel CI maturin download#97

Merged
juangaitanv merged 2 commits into
mainfrom
fix/ci-maturin-linux-download
Jun 8, 2026
Merged

Fix flaky Linux wheel CI maturin download#97
juangaitanv merged 2 commits into
mainfrom
fix/ci-maturin-linux-download

Conversation

@juangaitanv
Copy link
Copy Markdown
Contributor

Summary

  • Fixes CI failure on linux-x86 (ubuntu-latest, x86_64) where Build wheels failed with gzip: stdin: not in gzip format during maturin install inside the manylinux Docker image (run 27124009196).
  • Sets container: off for Linux wheel builds so maturin-action installs maturin on the Ubuntu runner via authenticated @actions/tool-cache instead of raw curl | tar in Docker.
  • Moves Linux build deps to an explicit host apt-get step (replacing before-script-linux, which only runs in Docker).
  • Sets fail-fast: false on the Linux matrix so one arch failing does not cancel the other.

Test plan

  • CI workflow completes successfully for both x86_64 and x86 Linux wheel jobs
  • Produced wheels remain manylinux-compatible (manylinux: auto unchanged)
  • macOS, Windows, and sdist jobs unaffected

Made with Cursor

The manylinux Docker path downloads maturin via unauthenticated curl|tar,
which fails when GitHub release CDN returns a truncated response.

Co-authored-by: Cursor <cursoragent@cursor.com>
@juangaitanv juangaitanv requested a review from Ibrahimrahhal June 8, 2026 09:28
cursor[bot]
cursor Bot previously requested changes Jun 8, 2026
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

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

Requesting changes for the Linux wheel release regressions below.

Open in Web View Automation 

Sent by Cursor Automation: pr-flow

Comment thread .github/workflows/release.yml Outdated
Comment thread .github/workflows/release.yml Outdated
Revert container: off to preserve manylinux2014 wheel tags and i686
container toolchains. Mount a curl wrapper into the manylinux image so
maturin release downloads use --fail/--retry, and assert wheel tags in CI.

Co-authored-by: Cursor <cursoragent@cursor.com>
@juangaitanv juangaitanv merged commit 0da667a into main Jun 8, 2026
16 checks passed
@juangaitanv juangaitanv deleted the fix/ci-maturin-linux-download branch June 8, 2026 12:20
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.

2 participants