Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(pip): skip wheel patching with empty patches #2294

Merged

Conversation

keith
Copy link
Member

@keith keith commented Oct 11, 2024

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

@keith keith requested review from aignas and groodt as code owners October 11, 2024 19:06
@keith keith changed the title fix: skip wheel patching with empty patches fix(pip): skip wheel patching with empty patches Oct 11, 2024
@keith keith force-pushed the ks/skip-wheel-patching-with-empty-patches branch from da98fa5 to 5e5503d Compare October 11, 2024 19:08
@keith keith requested a review from rickeylev as a code owner October 11, 2024 19:08
@keith keith force-pushed the ks/skip-wheel-patching-with-empty-patches branch from 5e5503d to 46bc236 Compare October 11, 2024 20:11
Copy link
Collaborator

@aignas aignas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@aignas aignas added this pull request to the merge queue Oct 13, 2024
Merged via the queue into bazelbuild:main with commit 0e604b0 Oct 13, 2024
4 checks passed
@keith keith deleted the ks/skip-wheel-patching-with-empty-patches branch October 22, 2024 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Scope pip.override to single version of referenced wheel
2 participants