Skip to content

build: restore manylinux2014 x86_64 wheels - #623

Open
hemv-857 wants to merge 2 commits into
openai:mainfrom
hemv-857:restore-manylinux2014-x86_64
Open

hemv-857 wants to merge 2 commits into
openai:mainfrom
hemv-857:restore-manylinux2014-x86_64

Conversation

@hemv-857

Copy link
Copy Markdown

Summary

Fixes #456: pin manylinux-x86_64-image = "manylinux2014" for linux x86_64 builds so glibc 2.17 (manylinux_2_17_x86_64) wheels ship again for Amazon Linux 2 / AWS Lambda / AWS SAM users who cannot compile from source without Rust.

Why replacing the default image is enough

manylinux_2_17 wheels install on any glibc >= 2.17, including the manylinux_2_28 systems the current default targets, so no second build pass is needed and existing users are unaffected.

Scope

  • x86_64 only, matching the arch the issue reports; manylinux2014 aarch64 can follow as a separate change if wanted
  • musllinux untouched (not glibc-related)
  • the image is still officially maintained: cibuildwheel pins manylinux2014 at 2026.06.28-1, and pypa/manylinux ships CPython 3.9-3.15 / 3.15t in it, matching this repo's matrix

Test plan

  • [email protected] --platform linux --archs x86_64 --print-build-identifiers accepts the option and lists the same identifiers as before (cp39-cp315t, manylinux + musllinux)
  • CI wheel builds (workflow needs approval for first-time contributors)
  • after a CI run: auditwheel show on a produced wheel should report manylinux_2_17_x86_64

Copilot AI balanced review requested due to automatic review settings October 27, 2026 16:56

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

@hemv-857

Copy link
Copy Markdown
Author

@hauntsaninja — following up on #456, where you said you were open to restoring these builds if the issue got several thumbs up. It is at 12 👍 now, so here is the PR.

Change: three lines in pyproject.toml pin manylinux-x86_64-image = "manylinux2014" for linux x86_64 only, so manylinux_2_17_x86_64 wheels ship again for Amazon Linux 2 / Lambda / SAM users who cannot compile from source without Rust.

Why replacing the default image is enough: manylinux_2_17 wheels install on any glibc >= 2.17, including the manylinux_2_28 systems the current default targets, so no second build pass is needed and existing users are unaffected. The image is still actively maintained — cibuildwheel pins manylinux2014 at 2026.06.28-1, and pypa/manylinux ships CPython 3.9–3.15 / 3.15t in it, matching this repo matrix. aarch64 and musllinux are untouched.

CI: the build_wheels run for the branch is action_required — the first-time-fork approval gate — so the wheel build has not run yet. [email protected] --platform linux --archs x86_64 --print-build-identifiers accepts the option and lists the same identifiers as before. Could you approve the workflow run and take a look?

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.

0.12.0 no longer provides manylinux2014 wheels and breaks builds in AWS SAM Python 3.11 images(requires Rust compiler)

2 participants