[1/6] Pin Python SDK runtime dependency#21891
[1/6] Pin Python SDK runtime dependency#21891aibrahim-oai wants to merge 2 commits intocodex/publish-python-runtime-pypifrom
Conversation
|
This change is part of the following stack: Change managed by git-spice. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 41a3b1da7e
ℹ️ 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".
| "Topic :: Software Development :: Libraries :: Python Modules", | ||
| ] | ||
| dependencies = ["pydantic>=2.12"] | ||
| dependencies = ["pydantic>=2.12", "openai-codex-cli-bin==0.131.0a4"] |
There was a problem hiding this comment.
Publish Linux runtime wheels pip can install
Pinning this dependency makes every SDK install resolve openai-codex-cli-bin, but the new lockfile only has Linux wheels tagged musllinux_1_1_*. Standard glibc Linux interpreters advertise manylinux/linux tags, not musllinux, so pip/uv install openai-codex-app-server-sdk will fail on the common Linux target until manylinux/linux-compatible runtime wheels are published or the dependency is conditional.
Useful? React with 👍 / 👎.
6679dff to
edf326e
Compare
Make the Python SDK declare its published runtime package dependency directly and resolve the runtime version from that pin instead of inferring it from the SDK package version. Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <noreply@openai.com>
edf326e to
c24694b
Compare
Stack
openai-codexThis PR is the first change in the stack, on top of #21812.
Why
The Python SDK should declare the exact runtime package it expects instead of inferring a runtime version from the SDK package version. That makes the runtime relationship visible to packaging tools and reviewers.
What changed
openai-codex-cli-bin==0.131.0a4insdk/python/pyproject.toml.uv.lockfor the published runtime wheels._runtime_setup.py.Verification
git diff --checkand workflow YAML parse.