Skip to content

Commit 95a57ef

Browse files
rickeylevcopybara-github
authored andcommitted
python: Flip --incompatible_python_disable_py2 to true
This changes the default to rejecting Python 2 values. For more information, see #17293 Fixes #17293 RELNOTES[INC]: --incompatible_python_disable_py2 is flipped to true. See #17293 for details. PiperOrigin-RevId: 507897246 Change-Id: I67cbadbb0f543d8153ad0355af22e48ead9083ef
1 parent 0838537 commit 95a57ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/google/devtools/build/lib/rules/python/PythonOptions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public String getTypeDescription() {
121121

122122
@Option(
123123
name = "incompatible_python_disable_py2",
124-
defaultValue = "false",
124+
defaultValue = "true",
125125
documentationCategory = OptionDocumentationCategory.INPUT_STRICTNESS,
126126
effectTags = {OptionEffectTag.LOADING_AND_ANALYSIS},
127127
metadataTags = {OptionMetadataTag.INCOMPATIBLE_CHANGE},

0 commit comments

Comments
 (0)