Skip to content

Python UV fails in CodexΒ #1457

@corrylc

Description

@corrylc

What version of Codex is running?

codex-cli 0.2.0

Which model were you using?

codex-mini-latest

What platform is your computer?

Darwin 24.5.0 arm64 arm

What steps can reproduce the bug?

Start codex in environment using uv and tell it to run pre-commit or many other tools. All fail with sandbox violations.

What is the expected behavior?

uv runs normally

What do you see instead?

Not permitted errors, due to sandboxing restrictions

Additional information

I tried adding the ~/.cache/uv directory to writable roots, but it had no apparent effect.

This is similar to the issues I saw with NPM when on the fully YOLO mode, but I was able to avoid them using auto-edit mode there. In the rust version it seems that all modes produce the same sandboxing errors, making the tool functionally unusable in the present state.

Metadata

Metadata

Assignees

Labels

Fix ItbugSomething isn't workingsandboxIssues related to permissions or sandboxing

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions