pipenv icon indicating copy to clipboard operation
pipenv copied to clipboard

Pipfile does not store "--no-binary"

Open jsaladich opened this issue 3 years ago • 0 comments

Hi guys,

I found myself in the need of installing some modules with the argument --no-binary, when I realized about a potential issue / bug of pipenv

Issue description

When installing a Python module with argument --no-binary, pipenv does not retain this information in the Pipfile. Therefore, when running a pipenv install from this Pipfile, the module is not installed as desired.

Expected result

Pip requirements.txt file does take into account the --no-binary argument. e.g.

jupyterlab ==3.0.18
cartopy == 0.21.0 --no-binary :all:

Actual result

But in pipenv it does not. There is no traceability (nor for pipenv nor for the user) to know that module cartopy was installed with no binary

jupyterlab = "==3.0.18"
cartopy = "*"

Steps to replicate

The command used to install cartopy with --no-binary is: PIP_NO_BINARY=cartopy pipenv install cartopy

Pipenv version is: 2022.9.8

Thanks a lot for your time

jsaladich avatar Sep 16 '22 17:09 jsaladich