Skip to content

Conversation

@zanieb
Copy link
Member

@zanieb zanieb commented Dec 19, 2025

Closes #17181

Add support for comma-separated package names in `--no-binary` and
`--only-binary` flags for pip compatibility. This allows users to
specify multiple packages in a single argument, e.g.:

  uv pip install --no-binary=numpy,scipy numpy scipy

Previously, this would fail with an error about invalid package names.

Closes astral-sh#17181
@zanieb zanieb added enhancement New feature or improvement to existing functionality cli Related to the command line interface labels Dec 19, 2025
@zanieb zanieb marked this pull request as ready for review December 19, 2025 00:50
zaniebot pushed a commit to zaniebot/uv that referenced this pull request Dec 19, 2025
…ry-package`

Similar to astral-sh#17185 which added comma-separated value support to `--no-binary`
and `--only-binary`, this change updates `--no-build-package` and
`--no-binary-package` flags to use comma as the delimiter instead of space.

This allows syntax like:
  uv sync --no-build-package=numpy,scipy
@zanieb zanieb merged commit a0a14b1 into astral-sh:main Dec 19, 2025
101 of 102 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cli Related to the command line interface enhancement New feature or improvement to existing functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

uv pip install --no-binary does not accept , as delimiter

3 participants