Skip to content

Commit 75e5e65

Browse files
committed
fix(deps): require openai-codex>=0.1.0b3 so the codex extra installs on glibc Linux
openai-codex 0.1.0b2 pins openai-codex-cli-bin 0.132.0, which ships no manylinux wheels and made 'uv sync --all-extras' fail on ubuntu CI runners. b3 pins 0.137.0a4 (full wheel matrix). Add uv required-environments for macOS arm64 + Linux x86_64 so resolution can never regress to a version missing those platforms, and a per-package pre-release constraint marker for the pinned CLI binary.
1 parent fe49d5d commit 75e5e65

2 files changed

Lines changed: 36 additions & 14 deletions

File tree

pyproject.toml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,14 @@ dependencies = []
2525

2626
[project.optional-dependencies]
2727
claude = ["claude-agent-sdk>=0.2.87"]
28-
codex = ["openai-codex>=0.1.0b2"]
28+
# 0.1.0b3 floor: earlier betas pin a codex binary with no manylinux wheels,
29+
# making the extra uninstallable on glibc Linux.
30+
codex = ["openai-codex>=0.1.0b3"]
2931
antigravity = ["google-antigravity>=0.1.2"]
3032
all = [
3133
"claude-agent-sdk>=0.2.87",
3234
"google-antigravity>=0.1.2",
33-
"openai-codex>=0.1.0b2",
35+
"openai-codex>=0.1.0b3",
3436
]
3537

3638
[project.urls]
@@ -47,6 +49,17 @@ dev = [
4749
"ruff>=0.8",
4850
]
4951

52+
[tool.uv]
53+
# openai-codex-cli-bin ships per-platform binary wheels; require the platforms we
54+
# develop and run CI on so resolution never locks a version missing one of them.
55+
required-environments = [
56+
"sys_platform == 'darwin' and platform_machine == 'arm64'",
57+
"sys_platform == 'linux' and platform_machine == 'x86_64'",
58+
]
59+
# openai-codex pins exact pre-release builds of its CLI binary; the pre-release
60+
# marker here opts that one package into pre-release resolution.
61+
constraint-dependencies = ["openai-codex-cli-bin>=0.134.0a1"]
62+
5063
[tool.hatch.build.targets.wheel]
5164
packages = ["src/agent_runtime_kit"]
5265

uv.lock

Lines changed: 21 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)