mirror of
https://github.com/openai/codex.git
synced 2026-04-30 17:36:40 +00:00
sdk/python: split core and bundled packages
This commit is contained in:
@@ -38,16 +38,25 @@ Common causes:
|
||||
- local auth/session is missing
|
||||
- incompatible/old app-server
|
||||
|
||||
Maintainers stage releases by building the SDK once and the runtime once per
|
||||
platform with the same pinned runtime version. Publish `codex-cli-bin` as
|
||||
platform wheels only; do not publish an sdist:
|
||||
Maintainers stage releases by building the core SDK once, the bundled SDK
|
||||
metapackage once, and the runtime once per platform with the same pinned
|
||||
runtime version. Publish `codex-cli-bin` as platform wheels only; do not
|
||||
publish an sdist. Published Python package versions should match the
|
||||
`rust-v...` release tag:
|
||||
|
||||
```bash
|
||||
cd sdk/python
|
||||
python scripts/update_sdk_artifacts.py generate-types
|
||||
python scripts/update_sdk_artifacts.py \
|
||||
stage-sdk-core \
|
||||
/tmp/codex-python-release/codex-app-server-sdk-core \
|
||||
--skip-generate-types \
|
||||
--sdk-version 1.2.3
|
||||
python scripts/update_sdk_artifacts.py \
|
||||
stage-sdk \
|
||||
/tmp/codex-python-release/codex-app-server-sdk \
|
||||
--skip-generate-types \
|
||||
--sdk-version 1.2.3 \
|
||||
--runtime-version 1.2.3
|
||||
python scripts/update_sdk_artifacts.py \
|
||||
stage-runtime \
|
||||
|
||||
Reference in New Issue
Block a user