-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Labels
enhancementNew feature or improvement to existing functionalityNew feature or improvement to existing functionality
Description
There are cases where users may want to exclude a single package, but end up having to write it to a file in order to do so, which I find a bit awkward. We should consider allowing --excludes for pip {compile, install, tool install} to accept package names alongside actual paths.
For instance, the following flow:
uv self update
echo xformers > exclude.txt
uv pip install -U vllm --extra-index-url [https://wheels.vllm.ai/nightly](https://t.co/Y5FwbIWlUu) --excludes exclude.txt
would become:
uv self update
uv pip install -U vllm --extra-index-url [https://wheels.vllm.ai/nightly](https://t.co/Y5FwbIWlUu) --exclude xformers
This may be a bit tricky to implement, since it will likely require us to make a guess as to what argument is a path or a package name.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or improvement to existing functionalityNew feature or improvement to existing functionality