My recent attempt to address the missing link betw...
# development
c
My recent attempt to address the missing link between the python
requirements.txt
file and its lockfile to offer Pants the ability to declare the dependency from a target to the lockfile used failed for various reasons. 🧡
πŸ‘€ 1
Closed PR: https://github.com/pantsbuild/pants/pull/16934 In order to address this, I started looking at how Pants could create synthesized targets (i.e. targets that isn’t declared in BUILD files): https://github.com/pantsbuild/pants/pull/16998 This in turn is a rather big feature (not in code, but in functionality offered) and as such, needs some care and consideration, hence this design doc: https://docs.google.com/document/d/1PPnXzUedm5mpPVuUdEm7WJppyiECHn28jIWOdp_uO3E/edit# Input appreciated on that. πŸ™ After this feature has landed, I can take another stab at implementing the dependency first intended by #16934 using synthetic targets instead.
Just bumping this thread to keep it current.. πŸ™‚
h
c
where ever it makes most sense, I think. Perhaps depends on the nature of the comment? Fine either way by me.
just posted the link to the issue here for completeness, I think πŸ˜›