Skip to content

Commit

Permalink
Flip --incompatible_remove_old_python_version_api
Browse files Browse the repository at this point in the history
With this flag enabled by default, it is no longer allowed to set the `default_python_version` attribute or `--force_python` flag; use the `python_version` attribute and `--python_version` flag respectively instead.

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

Closes bazelbuild#7308.

TESTED=https://buildkite.com/bazel/bazelisk-plus-incompatible-flags/builds/51

RELNOTES[INC]: (Python rules) The `default_python_version` attribute of the `py_binary` and `py_test` rules has been renamed to `python_version`. Also, the `--force_python` flag has been renamed to `--python_version`. See [bazelbuild#7308](bazelbuild#7308) for more information.

PiperOrigin-RevId: 239600472
  • Loading branch information
brandjon authored and copybara-github committed Mar 21, 2019
1 parent ba3ebcb commit a358dce
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public String getTypeDescription() {

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

0 comments on commit a358dce

Please sign in to comment.