quaint-telephone-89068
10/27/2025, 11:13 AMversion parameter of all targets that support it. This would enable triggering of release builds of packages when a version bump occurs by querying with something akin to:
pants list --filter-target-type=python_distribution --changed-property=version
This is a common pattern when dealing with file-level changes in other systems, such as triggering on changes to a __version__ file. The added granularity of being able to handle target properties directly would be useful in lots of cases, but triggering on version updates would be a good first example.
Describe alternatives you've considered
The basic alternative would be to grep the git diff of BUILD files, but this isn't very robust.
pantsbuild/pants