mirror of
https://github.com/pchuan98/codex.git
synced 2026-07-01 00:31:56 +08:00
[codex] Pin Python SDK to runtime 0.137.0a4 (#26216)
## 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 - published `openai-codex-cli-bin==0.137.0a4` through the `python-sdk-release` workflow - includes macOS, manylinux, musllinux, and Windows wheels - publication run: https://github.com/openai/codex/actions/runs/26905608531 ## 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
This commit is contained in:
committed by
GitHub
Unverified
parent
2d5c264ebc
commit
10b408080a
@@ -261,13 +261,13 @@ def test_schema_normalization_only_flattens_string_literal_oneofs(
|
||||
assert flattened == [
|
||||
"MessagePhase",
|
||||
"TurnItemsView",
|
||||
"PluginAvailability",
|
||||
"AuthMode",
|
||||
"PluginAvailability",
|
||||
"InputModality",
|
||||
"ExperimentalFeatureStage",
|
||||
"AutoCompactTokenLimitScope",
|
||||
"CommandExecOutputStream",
|
||||
"ProcessOutputStream",
|
||||
"CommandExecOutputStream",
|
||||
"AutoCompactTokenLimitScope",
|
||||
]
|
||||
|
||||
|
||||
@@ -358,10 +358,10 @@ def test_source_sdk_template_pins_published_runtime() -> None:
|
||||
"dependencies": pyproject["project"]["dependencies"],
|
||||
} == {
|
||||
"sdk_template_version": "0.0.0-dev",
|
||||
"runtime_pin": "0.136.0",
|
||||
"runtime_pin": "0.137.0a4",
|
||||
"dependencies": [
|
||||
"pydantic>=2.12",
|
||||
"openai-codex-cli-bin==0.136.0",
|
||||
"openai-codex-cli-bin==0.137.0a4",
|
||||
],
|
||||
}
|
||||
|
||||
@@ -436,7 +436,7 @@ def test_runtime_setup_reads_independent_runtime_pin_and_release_tags() -> None:
|
||||
} == {
|
||||
"package_name": "openai-codex-cli-bin",
|
||||
"sdk_template_version": "0.0.0-dev",
|
||||
"runtime_pin": "0.136.0",
|
||||
"runtime_pin": "0.137.0a4",
|
||||
"normalized_release_version": "0.116.0a1",
|
||||
"release_tag": "rust-v0.116.0-alpha.1",
|
||||
}
|
||||
@@ -651,7 +651,7 @@ def test_stage_sdk_release_preserves_reviewed_runtime_pin(tmp_path: Path) -> Non
|
||||
"version": "0.1.0b1",
|
||||
"dependencies": [
|
||||
"pydantic>=2.12",
|
||||
"openai-codex-cli-bin==0.136.0",
|
||||
"openai-codex-cli-bin==0.137.0a4",
|
||||
],
|
||||
}
|
||||
assert (
|
||||
@@ -688,7 +688,7 @@ def test_sdk_beta_release_can_pin_stable_runtime(tmp_path: Path) -> None:
|
||||
)
|
||||
runtime_stage = script.stage_python_runtime_package(
|
||||
tmp_path / "runtime-stage",
|
||||
"0.136.0",
|
||||
"0.137.0a4",
|
||||
package_archive,
|
||||
)
|
||||
|
||||
@@ -701,10 +701,10 @@ def test_sdk_beta_release_can_pin_stable_runtime(tmp_path: Path) -> None:
|
||||
"sdk_dependencies": sdk_pyproject["project"]["dependencies"],
|
||||
} == {
|
||||
"sdk_version": "0.1.0b1",
|
||||
"runtime_version": "0.136.0",
|
||||
"runtime_version": "0.137.0a4",
|
||||
"sdk_dependencies": [
|
||||
"pydantic>=2.12",
|
||||
"openai-codex-cli-bin==0.136.0",
|
||||
"openai-codex-cli-bin==0.137.0a4",
|
||||
],
|
||||
}
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@ def test_generated_files_are_up_to_date():
|
||||
|
||||
# Regenerate contract artifacts via the pinned runtime package, not a local
|
||||
# app-server binary from the checkout or CI environment.
|
||||
assert importlib.metadata.version("openai-codex-cli-bin") == "0.136.0"
|
||||
assert importlib.metadata.version("openai-codex-cli-bin") == "0.137.0a4"
|
||||
env = os.environ.copy()
|
||||
env.pop("CODEX_EXEC_PATH", None)
|
||||
python_bin = str(Path(sys.executable).parent)
|
||||
|
||||
Reference in New Issue
Block a user