Installation with validation with validate_contents = True takes 97 s
Installation with validation with validate_contents = False takes 55 s
In comparison, pip install (used through poetry with config installer.modern-installation false) takes 51 s
It would be great to keep content validation while avoiding computing hashes twice. I tried to implement it in a hackish way in https://github.com/python-poetry/poetry/pull/8027, but this should be solved inside installer itself.
installer
computes hashes over a wheel both on:validate_contents = True
This isn't ideal when validating and installing gigantic wheels, such as this 2.1 GB torch distribution.
validate_contents = True
takes 97 svalidate_contents = False
takes 55 spip install
(used through poetry with configinstaller.modern-installation false
) takes 51 sIt would be great to keep content validation while avoiding computing hashes twice. I tried to implement it in a hackish way in https://github.com/python-poetry/poetry/pull/8027, but this should be solved inside
installer
itself.