spotify / dh-virtualenv

Python virtualenvs in Debian packages

Home Page:http://dh-virtualenv.readthedocs.io/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Catch22 with --upgrade-pip and --extra-pip-arg

jhermann opened this issue · comments

If you use --extra-pip-arg in dh-venv 1.0, this is also applied to the command that implements --upgrade-pip – and it should not.

The problem at hand is that pip 1.5.6 (default on Jessie) does not understand --no-binary, so if you want to upgrade pip to a decent version, that upgrade fails:

no such option: --no-binary

Unless someone comes up with another solution or a reason --extra-pip-arg must also be applied to the upgrade step, I'd do a PR to fix this.