late-librarian-54499
07/26/2023, 2:42 AMPexBinaryFieldSet
and returned PublishProcesses
but had the same issue.
Here’s the warning I’m getting
19:00:17.98 [WARN] No applicable files or targets matched. The `publish` goal works with these target types:
* python_distribution
However, you only specified target arguments with these target types:
* pex_binary
here’s what i’m running
pants --filter-target-type=pex_binary publish //:pex-test
should note if i run the below command the pex package executes fine.
pants --filter-target-type=pex_binary package //:pex-test
enough-analyst-54434
07/26/2023, 3:09 AMPublishPexPackageRequest
looks mighty thin. I just went and read the 1st sentence of its base class doc string: https://github.com/pantsbuild/pants/blob/e564fc1db5b34d4a59346b376895847a60a31c8e/src/python/pants/core/goals/publish.py#L61-L84
I think you can figure it out if you re read those docs closely. Ditto most of the API types your using.late-librarian-54499
07/26/2023, 3:37 AM*PublishPexPackageFieldSet.rules()
to my returned rules. Also that comment was useful for understanding how to use FieldSets. Appreciate the help!