pip
pip copied to clipboard
Implement much lazier lazy_wheel from conda_package_streaming
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
- [X] I agree to follow the PSF Code of Conduct.
Please feel welcome to file a PR for this! :)
See #11481