Skip to content

Commit

Permalink
Flip --incompatible_allow_python_version_transitions
Browse files Browse the repository at this point in the history
With this flag enabled by default, the Python version is no longer "sticky" and forced to a fixed value by a command line flag. Instead it adjusts to whatever the `py_binary` or `py_test` declares its version to be.

For more information see feature tracking issue #6583 and flag migration tracking issue #7307.

Closes #7307.

RELNOTES[INC]: (Python rules) The python version now changes to whatever version is specified in a `py_binary` or `py_test`'s `python_version` attribute, instead of being forced to the value set by a command line flag. You can temporarily revert this change with `--incompatible_allow_python_version_transitions=false`. See [#7307](#7307) for more information.

PiperOrigin-RevId: 240227319
  • Loading branch information
brandjon authored and copybara-github committed Mar 25, 2019
1 parent 9cda2ec commit 112e8bc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public String getTypeDescription() {

@Option(
name = "incompatible_allow_python_version_transitions",
defaultValue = "false",
defaultValue = "true",
documentationCategory = OptionDocumentationCategory.STARLARK_SEMANTICS,
effectTags = {OptionEffectTag.LOADING_AND_ANALYSIS},
metadataTags = {
Expand Down

0 comments on commit 112e8bc

Please sign in to comment.