Skip to content

Commit 0e604b0

Browse files
authored
fix(pip): skip wheel patching with empty patches (bazel-contrib#2294)
Previously if you pulled multiple wheels of the same dep, even ones not affected by patches would be processed, which is expensive for larger wheels because of the unzipping / re-zipping. Fixes bazel-contrib#2263
1 parent a3cdab5 commit 0e604b0

File tree

4 files changed

+119
-79
lines changed

4 files changed

+119
-79
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ A brief description of the categories of changes:
6060
([#1675](https://github.com/bazelbuild/rules_python/issues/1675)).
6161
* (precompiling) The {obj}`pyc_collection` attribute now correctly
6262
enables (or disables) using pyc files from targets transitively
63+
* (pip) Skip patching wheels not matching `pip.override`'s `file`
64+
([#2294](https://github.com/bazelbuild/rules_python/pull/2294)).
6365

6466
### Added
6567
* (py_wheel) Now supports `compress = (True|False)` to allow disabling

0 commit comments

Comments
 (0)