pip icon indicating copy to clipboard operation
pip copied to clipboard

Implement much lazier lazy_wheel from conda_package_streaming

Open dholth opened this issue 3 years ago • 1 comments

What's the problem this feature will solve?

pip's lazy wheel makes far too many requests. There's a lazy_wheel fork that does the same work, without a wasted HEAD request, and guarantees success in 2 or 3 requests total. This makes a huge difference when latency is high.

https://github.com/conda-incubator/conda-package-streaming/blob/main/conda_package_streaming/lazy_wheel.py

Describe the solution you'd like

Re-integrate https://github.com/conda-incubator/conda-package-streaming/blob/main/conda_package_streaming/lazy_wheel.py into pip.

Alternative Solutions

No

Additional context

I wrote an early prototype of lazy_wheel

Code of Conduct

dholth avatar Sep 14 '22 15:09 dholth

Please feel welcome to file a PR for this! :)

pradyunsg avatar Sep 14 '22 18:09 pradyunsg

See #11481

dholth avatar Oct 03 '22 13:10 dholth