https://pantsbuild.org/ logo
m

mysterious-farmer-45668

11/06/2018, 6:37 PM
is there a command to say, "build all the python targets where the compatibility requirement is this"? context is one of our targets is only py3.7, and we want to separate the ci command for py3.7 from the rest
e

enough-analyst-54434

11/06/2018, 7:07 PM
Unfortunately no, not at the moment. You'll need to add a redundant
tags={'py37'}
to the target(s) and then use
./pants --tags=[+/-]py37 ...
.
m

mysterious-farmer-45668

11/06/2018, 7:08 PM
i see
so
-tag
is not going to include that tag in the list of targets to operate on, yes?
e

enough-analyst-54434

11/06/2018, 7:11 PM
Correct.
-[tag]
excludes targets with the tag,
+[tag]
on includes targets with the tag.
4 Views