witty-crayon-22786
02/05/2020, 11:50 PM./pants options ... if you set transitive: False you get:
23:47:45 [WARN] /opt/twitter_mde/package/eepython36/68cc93925092a6fc31d254392558fa8c840f7bd5407db9435ca48ff1b8f6c07f/lib/python3.6/threading.py:884: DeprecationWarning: DEPRECATED: option 'transitive' in scope 'options' will be removed in version 1.27.0.dev0.
This option has no impact on the goal `options`.
self._bootstrap_inner()witty-crayon-22786
02/05/2020, 11:51 PM23:45:46 [WARN] /Users/stuhood/.pex/install/pantsbuild.pants-1.25.0.dev3+gitff562b70-cp36-abi3-macosx_10_11_x86_64.whl.07501c0a413887737ab82818343e3698b25224ee/pantsbuild.pants-1.25.0.dev3+gitff562b70-cp36-abi3-macosx_10_11_x86_64.whl/pants/task/console_task.py:80: DeprecationWarning: DEPRECATED: Pants defaulting to `--transitive` for `options` will be removed in version 1.27.0.dev0.
Currently, Pants defaults to `--transitive`, which means that it will run against transitive dependencies for the targets you specify on the command line, rather than only the targets you specify. This is often useful, such as running `./pants dependencies --transitive`, but it is surprising to have this behavior by default.
To prepare for this change to the default value, set in `pants.ini` under the section `options` the value `transitive: False`. In Pants 1.27.0, you can safely remove the setting.
targets = self.get_targets() if self.act_transitively else self.context.target_rootswitty-crayon-22786
02/05/2020, 11:53 PMhundreds-father-404
02/06/2020, 12:19 AMhundreds-father-404
02/06/2020, 12:20 AMwitty-crayon-22786
02/06/2020, 12:21 AMwitty-crayon-22786
02/06/2020, 12:22 AMwitty-crayon-22786
02/06/2020, 12:23 AMhundreds-father-404
02/06/2020, 12:23 AMhundreds-father-404
02/06/2020, 12:24 AM./pants options won’t have any deprecation warning. We only warn when explicitly setting --transitive as it makes no sense to configure it for options and we’ll be removing --options-transitive soonhundreds-father-404
02/06/2020, 12:25 AMfiledeps, we do still deprecate when you rely on the default of --transitive
For goals that ignore the option, we only deprecate when you explicitly use the option rather than the defaultwitty-crayon-22786
02/06/2020, 12:26 AMoptions i think.witty-crayon-22786
02/06/2020, 12:27 AMFor something likeand in this case, the option itself is not deprecated...?, we do still deprecate when you rely on the default offiledeps--transitive
witty-crayon-22786
02/06/2020, 12:28 AMwitty-crayon-22786
02/06/2020, 12:28 AMhundreds-father-404
02/06/2020, 12:30 AMfiledeps was always behaving correctly. The issue was the 11 console tasks that ignore the value of --transitive, hence us deprecating the option outright