Repository navigation
feat(agents): give the Claude Code, Codex and Gemini images' Python the document libraries (FD-5825) - #676
feat(agents): give the Claude Code, Codex and Gemini images' Python the document libraries (FD-5825)#676rc9575 wants to merge 2 commits into
Conversation
…he document libraries (FD-5825) CPX4 tasks hand the agent .xlsx, .pdf, .docx and .pptx files, and the model's scripts hit ModuleNotFoundError on openpyxl and pypdf. Each image now installs openpyxl 3.1.5, pypdf 6.21.3, python-docx 1.2.0 and python-pptx 1.0.2 from a model-requirements.txt, the same pins as Harbor bundles (scaleapi#174778) and the Antigravity agent (synthetic-pipelines#1954). Install mode is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
…t they cost Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Tasks often give the agent .xlsx, .pdf, .docx and .pptx files, but the model's scripts in the Claude Code, Codex and Gemini runners hit
ModuleNotFoundErroronopenpyxlandpypdf, so runs fail for reasons unrelated to the model. Each image now installsopenpyxl==3.1.5,pypdf==6.21.3,python-docx==1.2.0andpython-pptx==1.0.2from amodel-requirements.txt. These are the same pins as Harbor bundles (scaleapi/scaleapi#174778) and the Antigravity agent (scaleapi/synthetic-pipelines#1954). Claude Code already had that file (boto3 only). Codex and Gemini get one, and their Dockerfiles install it besiderequirements.txt. Install mode (install.sh) is unchanged; that is FD-5825 Part 2, which needs a design OK first.Validation: the agent unit suite passes (953 passed, 45 skipped) and the new contract checks fail without the change. All three images build for linux/amd64, and as user
agenteach imports the four libraries at the pinned versions with a cleanpip check.Rollout: runs get this only after a release and a re-put of
claude-code-cli,codex-cliandgemini-clifrom the new PyPI wheel. The prod re-put needs Mateusz's yes, between batches.🤖 Generated with Claude Code


Confidence Score: 5/5
The PR appears safe to merge.Summary
Adds pinned document libraries to the Claude Code, Codex, and Gemini images.
Reviews (1) · Last reviewed commit: "docs(agents): say what the model's docum..." · Reviewed by Greptile