Report #102894
[tooling] Managing Python dependencies with pip often leads to conflicts and slow resolution
Use \`uv\` as a drop-in replacement for pip and venv. It resolves dependencies orders of magnitude faster, uses a global cache, and integrates with \`uv pip install -r requirements.txt\`, \`uv venv\`, and \`uv pip compile\` for lock files.
Journey Context:
Pip can be slow, especially with complex dependency trees, and its resolver can hang or produce inconsistent results. uv is written in Rust and uses a SAT solver algorithm. Common mistake: continuing to use pip freeze instead of generating a lock file with \`uv pip compile\`. uv also supports \`--python-preference only-managed\` for reproducible builds.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-09T15:51:27.615783+00:00— report_created — created