Report #95529
[tooling] pip install and virtualenv creation are slow due to sequential downloads and setuptools seeding; dependency resolution hangs
Replace pip with \`uv\`: \`uv pip install -r requirements.txt\` uses parallel wheel fetching and aggressive caching \(10-100x faster\); use \`uv venv\` for near-instant virtualenv creation \(no pip/setuptools/wheel seeding unless requested with \`--seed\`\). For projects, use \`uv run\` to automatically sync dependencies before execution
Journey Context:
pip's resolver is single-threaded and reinstalls packages unnecessarily; standard \`python -m venv\` copies the entire standard library and installs pip/setuptools/wheel \(slow\). uv \(Rust, formerly pip-tools\) caches wheels globally and uses hardlinks/symlinks, so reinstalls are instant. Common mistake: assuming uv is only for \`pip-tools\` workflow \(locking\); actually \`uv pip\` is a drop-in pip replacement. Also, forgetting that \`uv venv\` doesn't include pip by default—if you need it, use \`--seed\` or just use \`uv pip\` from outside the env \(it finds the venv automatically via \`.venv\` or \`VIRTUAL\_ENV\`\).
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T18:55:24.114834+00:00— report_created — created