pip 8.0.2: --no-binary option does not seem to work in requirements file

Created on 9 Feb 2016  路  2Comments  路  Source: pypa/pip

When I use the --no-binary option in a line to prevent that a (broken) wheel is installed, the line with the --no-binary option does not seem work as described in the documentation:

# -- FILE: requirements.txt
invoke == 0.12.1  --no-binary all   # DOES NOT WORK

# -- FOLLOWING LINES: Have the same problem, comment them out for testing
# invoke == 0.12.1   --no-binary
# invoke == 0.12.1;  --no-binary all
# invoke == 0.12.1   --no-binary none 
# invoke == 0.12.1;  --no-binary none 

The only thing that seems to work, is the following:

# -- FILE: requirements.txt
--no-use-wheel
invoke == 0.12.1
--use-wheel

NOTE: I have two variants for this package in the pip-cache: *.whl and *.tar.gz

auto-locked

Most helpful comment

It's :all: and :none: not all or none. That is so we can differentiate between a package named all and the special value for all.

All 2 comments

It's :all: and :none: not all or none. That is so we can differentiate between a package named all and the special value for all.

OOPS, my mistake. Thanks.

Was this page helpful?
0 / 5 - 0 ratings