bitter-ability-32190
07/19/2023, 8:44 PMpython_requirement
to have a find_links
field that points to a URI that would then be used when generating the lockfile.
Does that seem... OK?proud-dentist-22844
07/19/2023, 9:05 PMfind_links
is a repo-wide setting today, but should probably be at least resolve-level: https://github.com/pantsbuild/pants/issues/17565
⦠Your suggestion goes even farther to expose find_links
for individual python_requirement
targets. Would you also need to add indexes
?
⢠We might also need to track find_links
and/or indexes
in the lockfile somehow, possibly via a hash: https://github.com/pantsbuild/pants/issues/16576proud-dentist-22844
07/19/2023, 9:07 PMpants_requirement
to use a (new) hook that allows injecting additional find_links
for the resolve that includes it. So, plugins could use it, but it would not be exposed directly on the target to avoid overly complex BUILD data.bitter-ability-32190
07/19/2023, 9:07 PMbitter-ability-32190
07/19/2023, 9:07 PMbitter-ability-32190
07/19/2023, 9:18 PMbitter-ability-32190
07/19/2023, 9:23 PMbitter-ability-32190
07/19/2023, 9:32 PM