bulky-evening-62934
04/08/2020, 8:37 AM./pants --source-source-root-patterns='["srctest/*"]' binary srctest/python/app/hello
But I cannot set this options in pants.toml
,
[source]
source_root_patterns = [
"srctest/*"
]
the code above doesn’t work, does anyone know how to set it correctly ?hundreds-father-404
04/08/2020, 9:07 AMhundreds-father-404
04/08/2020, 9:08 AM./pants --version
. Also, welcome!bulky-evening-62934
04/08/2020, 10:25 AM1.25.0
hundreds-father-404
04/08/2020, 5:09 PMpip install pantsbuild.pants
will use 1.25.0 because it’s the last stable release, but the docs talk about TOML. (We’re rewriting our docs and one of the improvements is having different versions of the docs so that we never encounter this: see https://pants.readme.io/docs, which you might want to use either way if you’re using Python)
The fix here is to change your version
to 1.26.0rc1
in `pants.toml`:
[GLOBAL]
version = "1.26.0rc1"
Sorry about this all!hundreds-father-404
04/08/2020, 5:09 PMbulky-evening-62934
04/08/2020, 5:14 PMhundreds-father-404
04/08/2020, 5:17 PMbulky-evening-62934
04/08/2020, 5:19 PMhundreds-father-404
04/08/2020, 5:28 PM