jolly-midnight-72759
06/23/2020, 2:37 AM./pants
(as downloaded from https://pantsbuild.github.io/setup/pants) with a pants.ini
with version 1.18.0 I got an error that took a while to fix. The error message is Exception message: Unrecognized command line flags on global scope: --pants-bin-name.
I resolved it by using the ./v1
pattern instead.
It should be possible to give a hint that someone is using an older engine instead of giving a cryptic error message. Would it be helpful for me to make in issue/feature request around this?hundreds-father-404
06/23/2020, 3:01 AM--pants-bin-name
must have not existed in 1.18.0 yet, so the ./pants
script is erroring when trying to set it.
You’ll want to use an older version of the ./pants
script for now. https://github.com/pantsbuild/setup/blob/d1da382f6de0420940ec6007a39cba87c21075c6/pants should workjolly-midnight-72759
06/23/2020, 3:06 AMhundreds-father-404
06/23/2020, 3:07 AMpants_version
they’re onhundreds-father-404
06/23/2020, 3:08 AMjolly-midnight-72759
06/23/2020, 3:11 AMhundreds-father-404
06/23/2020, 3:11 AMhundreds-father-404
06/23/2020, 3:11 AMjolly-midnight-72759
06/23/2020, 3:15 AMjolly-midnight-72759
06/23/2020, 3:15 AMjolly-midnight-72759
06/23/2020, 3:17 AM./pants
script, but I did that because we have a heavily hacked version of the bootstrap script and I wanted to get it as close as possible to the pantsbuild/setup
version as I can.hundreds-father-404
06/23/2020, 3:38 AM