Conversation
b583ccc to
0de1903
Compare
|
I wonder how much time record validation costs and if we should make it optional. (I assume pip still does no validation?) |
|
pypa/installer#327 should mostly mitigate extra expense I expect. Presumably it still cannot be completely free to pass through large files twice, but I guess that the hash calculation dominates. |
|
some ad hoc benchmarking, installing a torch wheel and many gigabytes of nvidia-cu* dependencies. Fully populated poetry cache, so we should be measuring only the time taken to copy from the cached wheel to the venv
all on my aging laptop, your mileage may vary. Not so much of a mitigation as I had hoped to be honest. Perhaps the installer API still is wrong, perhaps it would be better to have Then we would skip content validation up-front, but get it during install. |
|
installer 1.0 also includes a fix for relpath on windows, see #10028. |
installer 1.0
Almost three years since making the fix, this release includes pypa/installer#186 - which was the reason for disabling record validation.