#19458 Use visibility to enforce expected requirements for pants itself
Issue created by
huonw
Is your feature request related to a problem? Please describe.
Per
#19379 (comment), there's a bunch of rules around what part of the pants repository can use certain third-party dependencies. Pants now has the ability to enforce this, so we should dog-food it.
Describe the solution you'd like
Use
__dependents_rules__
to include-list which dependnecies can be used by the published artefacts (
src/python/pants
, in particular).
Describe alternatives you've considered
N/A
Additional context
Add any other context or screenshots about the feature request here.
pantsbuild/pants