Skip to content

Commit a240a02

Browse files
dholthcosmicexplorer
authored andcommitted
lazier lazy_wheel
- handle short files `416`; prefetch entire dist-info - lazy_wheel: translate BadZipfile to InvalidWheel - handle 501 on negative bytes range from pypi - catch UnsupportedWheel - make lazy wheel work against tensorflow-gpu - link to pypi discussion on negative byte ranges - check for case when server doesn't support byte ranges at all - remove _check_zip() method since we do that in prefetch_dist_info() now - clean up error handling code and don't warn when negative ranges fail - remove TODO, as Cache-Control: no-cache is the correct behavior - rearrange explanatory comments
1 parent d8cd93f commit a240a02

File tree

4 files changed

+321
-80
lines changed

4 files changed

+321
-80
lines changed

news/12208.feature.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Implement lazier lazy_wheel that avoids the HEAD request, fetching the metadata
2+
for many wheels in 1 request.

0 commit comments

Comments
 (0)