Skip to content

Commit

Permalink
fix(pip): skip wheel patching with empty patches (#2294)
Browse files Browse the repository at this point in the history
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 #2263
  • Loading branch information
keith authored Oct 13, 2024
1 parent a3cdab5 commit 0e604b0
Show file tree
Hide file tree
Showing 4 changed files with 119 additions and 79 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ A brief description of the categories of changes:
([#1675](https://github.com/bazelbuild/rules_python/issues/1675)).
* (precompiling) The {obj}`pyc_collection` attribute now correctly
enables (or disables) using pyc files from targets transitively
* (pip) Skip patching wheels not matching `pip.override`'s `file`
([#2294](https://github.com/bazelbuild/rules_python/pull/2294)).

### Added
* (py_wheel) Now supports `compress = (True|False)` to allow disabling
Expand Down
Loading

0 comments on commit 0e604b0

Please sign in to comment.