careful-address-89803
02/05/2024, 3:39 AMexport
goal. I'm trying to use common machinery with generate-lockfiles
for things like resolve detection and selection. A problem I hit is that the python lockfile rules are actually pretty far-reaching to many other backends. Does it make sense to also have export rules follow that? I think it does, in my head every resolve (even default ones for tools) should be exportable.
The basic chain is src/python/pants/backend/python/goals/lockfile.py
-> src/python/pants/backend/python/subsystems/setuptools.py
-> src/python/pants/backend/python/util_rules/
-> lots of stuff (dockerfile parser, helm k8s parser, awslambda rules, ...). So the lockfile rules are included mostly for pants-internal tools, but also semi-accidentally by being necessary to run setuptools which is used by everything.careful-address-89803
02/05/2024, 3:40 AM