best-byte-73775
12/06/2022, 10:17 AMrefined-addition-53644
12/06/2022, 10:25 AMbest-byte-73775
12/06/2022, 10:26 AMrefined-addition-53644
12/06/2022, 10:27 AMpants_version
line in pants.toml under [GLOBAL]. This is my pants.toml
[GLOBAL]
pants_version = "2.14.0"
refined-addition-53644
12/06/2022, 10:28 AMtests
, lint
, fmt
etc) it will install this version. Otherwise you can run
./pants --version
best-byte-73775
12/06/2022, 10:30 AMrefined-addition-53644
12/06/2022, 10:31 AMrefined-addition-53644
12/06/2022, 10:31 AMReminder
at the top of the link you have posted.best-byte-73775
12/06/2022, 10:35 AMImportError: cannot import name 'FmtRequest' from 'pants.core.goals.fmt' (/Users/tdafonseca/.cache/pants/setup/bootstrap-Darwin-x86_64/pants.9It2GP/install/lib/python3.9/site-packages/pants/core/goals/fmt.py)
11:34:31.67 [ERROR] Failed to load the experimental.sql.lint.sqlfluff.register backend: ImportError("cannot import name 'FmtRequest' from 'pants.core.goals.fmt' (/Users/tdafonseca/.cache/pants/setup/bootstrap-Darwin-x86_64/pants.9It2GP/install/lib/python3.9/site-packages/pants/core/goals/fmt.py)")
best-byte-73775
12/06/2022, 10:35 AM./pants export ::
refined-addition-53644
12/06/2022, 11:24 AMrefined-addition-53644
12/06/2022, 11:30 AMIn order to support non-target formatting (likerequest types. Thereforefiles) we’ll be introducing additionalBUILD
fmt
FmtRequest
has been renamed to FmtTargetsRequest
to reflect the behavior.hundreds-father-404
12/06/2022, 1:20 PMbest-byte-73775
12/06/2022, 3:26 PM