Skip to content

[5/6] Rename Python SDK package to openai-codex#21905

Open
aibrahim-oai wants to merge 1 commit intocodex/python-sdk-public-root-apifrom
codex/python-sdk-package-rename
Open

[5/6] Rename Python SDK package to openai-codex#21905
aibrahim-oai wants to merge 1 commit intocodex/python-sdk-public-root-apifrom
codex/python-sdk-package-rename

Conversation

@aibrahim-oai
Copy link
Copy Markdown
Collaborator

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

Stack

This PR is the fifth change in the stack, on top of #21896.

Why

The published Python SDK should use the reserved public distribution name openai-codex, and the import module should match that public shape as closely as Python allows. Since hyphens are not valid import identifiers, the import module is openai_codex.

Keeping this as a separate PR leaves #21896 focused on the public API shape and makes this package/module rename easy to review on its own.

What changed

  • Rename the SDK distribution from openai-codex-app-server-sdk to openai-codex.
  • Rename the import package from codex_app_server to openai_codex without adding a compatibility shim.
  • Keep the separate runtime dependency as openai-codex-cli-bin.
  • Update SDK docs, examples, notebooks, artifact scripts, lockfile metadata, and tests for the new package/module names.

Verification

  • git diff --check
  • CI is running on this PR.

Co-authored-by: Codex <noreply@openai.com>
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