Skip to content

Publish Linux runtime wheels with glibc-compatible tags#21812

Open
aibrahim-oai wants to merge 1 commit into
mainfrom
codex/publish-python-runtime-pypi
Open

Publish Linux runtime wheels with glibc-compatible tags#21812
aibrahim-oai wants to merge 1 commit into
mainfrom
codex/publish-python-runtime-pypi

Conversation

@aibrahim-oai
Copy link
Copy Markdown
Collaborator

@aibrahim-oai aibrahim-oai commented May 8, 2026

Why

The Python SDK depends on openai-codex-cli-bin runtime wheels being installable on the Linux hosts our users actually run. The release workflow currently tags the Linux runtime artifacts as musllinux_*, which makes pip ignore them on normal glibc distributions even though the bundled Rust executables are intended to run there.

What changed

  • Tag the Linux runtime wheels as manylinux_2_17_aarch64 and manylinux_2_17_x86_64 instead of musllinux_1_1_*.
  • Keep the existing runtime wheel build and publish flow unchanged otherwise.

Verification

  • Confirmed the wheel-tag issue against the PyPA platform-tag rules for manylinux vs musllinux.
  • This PR is now intentionally scoped to the tag correction only; the broader Python runtime release workflow has already landed on main through the merged stack.

Follow-up

After publishing the next alpha from this branch, install the SDK/runtime in a fresh glibc Linux environment and confirm pip resolves the tagged Linux wheel as expected.

@aibrahim-oai aibrahim-oai changed the title Publish Python runtime wheels with isolated build envs Publish Python runtime wheels on release May 8, 2026
@aibrahim-oai aibrahim-oai force-pushed the codex/publish-python-runtime-pypi branch from 85b22dc to 11e31d7 Compare May 9, 2026 06:36
Copy link
Copy Markdown
Contributor

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 284b1eea87

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .github/workflows/rust-release.yml Outdated
Comment on lines +416 to +419
platform_tag="musllinux_1_1_aarch64"
;;
x86_64-unknown-linux-musl)
platform_tag="musllinux_1_1_x86_64"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P1 Badge Use glibc-compatible Linux wheel tags

These Linux runtime wheels are tagged musllinux_*, so pip on normal glibc Linux hosts will not consider them compatible and cannot satisfy the SDK's pinned openai-codex-cli-bin dependency. The bundled Rust binaries are MUSL-linked release artifacts intended to run on glibc too, so publish them with a compatible Linux tag instead of limiting installs to musl/Alpine.

Useful? React with 👍 / 👎.

Co-authored-by: Codex <noreply@openai.com>
@aibrahim-oai aibrahim-oai force-pushed the codex/publish-python-runtime-pypi branch from 284b1ee to 4df5670 Compare May 11, 2026 22:26
@aibrahim-oai aibrahim-oai changed the title Publish Python runtime wheels on release Publish Linux runtime wheels with glibc-compatible tags May 11, 2026
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.

1 participant