[Cryptography-dev] Alpine: pip install cryptography --no-binary cryptography generates wheel

Alex Gaynor alex.gaynor at gmail.com
Sun Feb 27 08:02:33 EST 2022


--no-binary prevents downloading a pre-built wheel. However, pip will
always build a wheel internally from an sdist, that's part of how it
installs a package.

What are you actually trying to do?

Alex

On Sun, Feb 27, 2022 at 8:00 AM Felix Woelk <woelk.f at web.de> wrote:
>
> Hi there,
>
> I am using cryptography in a docker container with alpine linux. The container creation takes quite a long time and the majority of the time (approx 5 minutes) is consumed by building the wheel for the collected packages cryptography.
>
> Building wheels for collected packages: cryptography
>
> I found the command
>
> pip install cryptography --no-binary cryptography
>
> in the documentation to prevent building the wheel, but it does not work as expected.
>
> Is there anything that can be done to prevent building the wheel?
>
>  I unsuccessfully tried:
>
> * pip install cryptography --no-binary=cryptography
> * pip install —no-cache-dir cryptography
> * pip install —no-cache-dir --no-binary :all: cryptography
>
> Testet with cryptography-36.0.1
>
> Thanks for the reply
>
> All the best
>
>  Felix
>
>
>
>
> _______________________________________________
> Cryptography-dev mailing list
> Cryptography-dev at python.org
> https://mail.python.org/mailman/listinfo/cryptography-dev



-- 
All that is necessary for evil to succeed is for good people to do nothing.


More information about the Cryptography-dev mailing list