3 ms·
Isn't it a replacement for pip? I've seen people on Twitter saying that they migrated very quickly. TFA: > TL;DR: uv is an extremely fast Python package instal
by raccoonDivider 3y ago
Isn't it a replacement for pip? I've seen people on Twitter saying that they migrated very quickly. TFA:
> TL;DR: uv is an extremely fast Python package installer and resolver, written in Rust, and designed as a drop-in replacement for pip and pip-tools workflows.
- lijok 3y agoI tested it on my repo, multiple errors, it's not a drop-in replacement. (.venv) lijok@mbp icebreaker % python -m uv pip install --upgrade uv setuptools wheel error: unexpected argument '--upgrade' found tip: to pass '--upgrade' as a value, use '-- --upgrade' Usage: uv pip install [OPTIONS] <PACKAGE|--requirement <REQUIREMENT>|--editable <EDITABLE>> For more information, try '--help'. (.venv) lijok@mbp icebreaker % python -m uv pip install -- --upgrade uv setuptools wheel error: Failed to parse `--upgrade` Caused by: Expected package name starting with an alphanumeric character, found '-' --upgrade ^ I'm sure it can be made to work - but it's definitely not drop in
- deleted 3y ago[deleted]
- drcongo 3y agoWhat happens if you don't prefix with `python -m`? There's no mention of doing that in the blog post and it certainly feels wrong to call a rust package with python -m