Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc for option --no-binary is wrong #13087

Open
1 task done
paugier opened this issue Nov 19, 2024 · 0 comments
Open
1 task done

Doc for option --no-binary is wrong #13087

paugier opened this issue Nov 19, 2024 · 0 comments
Labels
state: awaiting PR Feature discussed, PR is needed type: bug A confirmed bug or unintended behavior type: docs Documentation related

Comments

@paugier
Copy link

paugier commented Nov 19, 2024

Description

With pip 24.3.1, the documentation for --no-binary is wrong.

  --no-binary <format_control>
                              Do not use binary packages. Can be supplied multiple times, and each time adds
                              to the existing value. Accepts either ":all:" to disable all binary packages,
                              ":none:" to empty the set (notice the colons), or one or more package names
                              with commas between them (no colons). Note that some packages are tricky to
                              compile and may fail to install when this option is used on them.

But since 23.1 (https://pip.pypa.io/en/stable/news/#v23-1), "--no-binary does not disable the cache of locally built wheels anymore. It only means “don’t download wheels”. (#11453)"

Note that uv doc is better (from https://docs.astral.sh/uv/pip/compatibility/#-no-binary-enforcement):

The --no-binary argument is used to restrict installation to source distributions.
When --no-binary is provided, uv will refuse to install pre-built binary distributions, but will reuse any binary distributions that are already present in the local cache.

Expected behavior

No response

pip version

24.3.1

Python version

3.11

OS

Debian

How to Reproduce

pip install -h

Output

No response

Code of Conduct

@paugier paugier added S: needs triage Issues/PRs that need to be triaged type: bug A confirmed bug or unintended behavior labels Nov 19, 2024
@sbidoul sbidoul added type: docs Documentation related state: awaiting PR Feature discussed, PR is needed and removed S: needs triage Issues/PRs that need to be triaged labels Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state: awaiting PR Feature discussed, PR is needed type: bug A confirmed bug or unintended behavior type: docs Documentation related
Projects
None yet
Development

No branches or pull requests

2 participants