-
-
Notifications
You must be signed in to change notification settings - Fork 626
Description
In our project we pull in the same dependency through multiple pip.parse
hubs, and they're used different places in our build graph. We want to apply a patch in 1 of those versions, but not the others. Based on the current API accepting a specific wheel name, I expected this to happen automatically, since at least in our case the wheel name includes the version etc, such that it wouldn't have any conflicts across the other downloads. I was surprised to see the other downloads start warning with RECORD mismatches because the patches are applying there too.
I propose that when using file
with pip.override
, only the specific matching filename is patched. And instead add a new attribute such as whl_name
(mirroring pip.whl_mods
) that is a simplified name that would apply to all downloads of this wheel.
Thoughts?