creamy-activity-5659
09/17/2018, 11:39 PMpants setup-py --changed-parent=HEAD~1
on CI, and it was the first time we introduced the --changed-parent
flag. However, the next time I ran this it failed with this error: FAILURE: setup-py target(s) must provide an artifact.
This is happening here on 1.8.0: https://github.com/pantsbuild/pants/blob/release_1.8.0/src/python/pants/backend/python/tasks/setup_py.py#L621
The setup-py plugin will raise an error when it’s listed as a goal and no targets are defined. It worked when I first added it, but the very next build failed because nothing changed. Is there something I’m missing here? It seems like the setup-py plugin should silently return, and I assume that setup-py is regularly used.