Skip to content

[codex] Pin Python SDK to runtime 0.137.0a4#26216

Merged
aibrahim-oai merged 4 commits into
mainfrom
dev/python-sdk-runtime-0.137.0a4
Jun 3, 2026
Merged

[codex] Pin Python SDK to runtime 0.137.0a4#26216
aibrahim-oai merged 4 commits into
mainfrom
dev/python-sdk-runtime-0.137.0a4

Conversation

@aibrahim-oai

@aibrahim-oai aibrahim-oai commented Jun 3, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • pin the Python SDK runtime to openai-codex-cli-bin==0.137.0a4
  • refresh generated protocol artifacts from rust-v0.137.0-alpha.4
  • refresh sdk/python/uv.lock with all eight published runtime wheels

Runtime publication

Validation

  • ran just fmt
  • generated artifacts from the rust-v0.137.0-alpha.4 release wheel
  • ran uv lock --check --default-index https://pypi.org/simple
  • did not run tests locally, per request; CI provides the test signal

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

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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f56746d37a

ℹ️ 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 sdk/python/pyproject.toml
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = ["pydantic>=2.12", "openai-codex-cli-bin==0.136.0"]
dependencies = ["pydantic>=2.12", "openai-codex-cli-bin==0.137.0a4"]

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 Update the frozen lockfile with the runtime pin

This changes the SDK requirement to openai-codex-cli-bin==0.137.0a4, but sdk/python/uv.lock still records the project metadata and locked package as 0.136.0 (requires-dist and the package entry). I checked .github/workflows/sdk.yml and .github/workflows/python-sdk-release.yml; both run uv sync --extra dev --frozen, and uv sync --help says --frozen syncs without updating uv.lock, so CI/release will refuse to reconcile this pyproject/lock mismatch (or keep using the stale runtime) until the lockfile is refreshed in the same change.

Useful? React with 👍 / 👎.

Comment thread sdk/python/pyproject.toml Outdated
[tool.uv]
exclude-newer = "7 days"
exclude-newer-package = { openai-codex-cli-bin = "2026-06-01T20:00:00Z" }
exclude-newer-package = { openai-codex-cli-bin = "2026-06-03T03:00:00Z" }

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 Set exclude-newer after the runtime upload time

When the new runtime is published after this commit, this package-specific cutoff will still limit openai-codex-cli-bin candidates to uploads before 2026-06-03T03:00:00Z (the same value is repeated under [tool.uv.pip]). uv lock --help describes exclude-newer as limiting candidates to packages uploaded prior to the given date, so the future 0.137.0a4 upload would remain invisible to uv even after it exists, preventing the lock refresh and frozen CI from resolving the pinned version.

Useful? React with 👍 / 👎.

@aibrahim-oai aibrahim-oai merged commit 10b4080 into main Jun 3, 2026
31 checks passed
@aibrahim-oai aibrahim-oai deleted the dev/python-sdk-runtime-0.137.0a4 branch June 3, 2026 19:14
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 3, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant