-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Open
Labels
bugSomething isn't workingSomething isn't workingexternalThe problem is with another package or dependency (not uv)The problem is with another package or dependency (not uv)
Description
Summary
The uv init panics when run within Claude Code's sandbox. I'm guessing this is a similar problem to #16664.
╭─── Claude Code v2.0.55 ───────────────────────────────────────────────────────────────────╮
│ │ Tips for getting started │
│ Welcome back! │ Ask Claude to create a new app or clone a repository │
│ │ ──────────────────────────────────────────────────── │
│ ▗ ▗ ▖ ▖ │ Recent activity │
│ │ No recent activity │
│ ▘▘ ▝▝ │ │
│ │ │
│ Sonnet 4.5 · API Usage Billing │ │
│ /private/tmp/claude │ │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
Your bash commands will be sandboxed. Disable with /sandbox.
> can you create a new python cli project using uv?
⏺ I'll help you create a new Python CLI project using uv. Let me start by checking if uv is installed and then create the
project.
⏺ Bash(uv --version)
⎿ uv 0.9.13 (Homebrew 2025-11-26)
⏺ Great! uv is installed. Now I'll create a new Python CLI project. Let me initialize a new project:
⏺ Bash(uv init my-cli-app --app)
⎿ Error: Exit code 101
thread 'main2' (35729760) panicked at /Users/brew/Library/Caches/Homebrew/cargo_cache/registry/src/index.crates.io-1949cf8c6b5
b557f/system-configuration-0.6.1/src/dynamic_store.rs:154:1:
Attempted to create a NULL object.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'main' (35729758) panicked at /private/tmp/uv-20251126-7963-rnw244/uv-0.9.13/crates/uv/src/lib.rs:2483:10:
Tokio executor failed, was there a panic?: Any { .. }
Platform
Darwin 25.1.0 arm64
Version
uv 0.9.13 (Homebrew 2025-11-26)
Python version
Python 3.14.0
mbyiounderdog, dwahdany and choplin
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingexternalThe problem is with another package or dependency (not uv)The problem is with another package or dependency (not uv)