It's difficult to use py_wheel's publish target for a couple reasons: - if you find deliverable targets using a bazel query for a certain tag, you don't find the publish executable because tags attribute isn't propagated - args like the repository url have to be passed when you bazel run the target, and can't be baked into the py_wheel definition