3 ms·
I 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 whee
by lijok 3y ago
I 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