Report #6305
[tooling] pip install is slow or creates inconsistent environments
Use \`uv pip sync requirements.txt\` for reproducible installs in milliseconds, or \`uv pip install --cache-dir .cache\` for persistent caching
Journey Context:
uv is a Rust-based Python package manager that is 10-100x faster than pip due to parallel wheel resolution and installation. \`uv pip sync\` uninstalls packages not in requirements.txt, ensuring exact environment reproducibility \(unlike \`pip install -r\` which accumulates cruft\). It uses a global cache for wheels, avoiding redundant downloads. For CI, use \`UV\_CACHE\_DIR\` to persist the cache between runs. Unlike pip, uv handles dependency resolution conflicts more aggressively and supports PEP 508 extras natively without syntax quirks.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T23:44:36.409464+00:00— report_created — created