mirror of
https://github.com/google/nomulus
synced 2026-08-15 19:56:08 +00:00
LSC: Mark Python binaries with explicit python_version.
Having PY2 global version default is deprecated and change in 2019Q3. This LSC ([] is a prerequisite to that Blaze change to prevent unintended breakages when we flip the default. This CL is no-op to “freeze” the world. If it conflicts with your plans to move to PY3, feel free to change forward to PY3 as you see fit (eg. remove python_version when you move to py2and3_test). BEGIN_PUBLIC n/a END_PUBLIC ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=245028632
This commit is contained in:
@@ -5,6 +5,7 @@ licenses(["notice"]) # Apache 2.0
|
|||||||
py_binary(
|
py_binary(
|
||||||
name = "xml_to_index_yaml_translator",
|
name = "xml_to_index_yaml_translator",
|
||||||
srcs = ["xml_to_index_yaml_translator.py"],
|
srcs = ["xml_to_index_yaml_translator.py"],
|
||||||
|
python_version = "PY2",
|
||||||
deps = [":xml_to_index_yaml_translator_lib"],
|
deps = [":xml_to_index_yaml_translator_lib"],
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -22,5 +23,6 @@ py_test(
|
|||||||
"testdata/datastore-indexes.xml",
|
"testdata/datastore-indexes.xml",
|
||||||
"testdata/index.yaml",
|
"testdata/index.yaml",
|
||||||
],
|
],
|
||||||
|
python_version = "PY2",
|
||||||
deps = [":xml_to_index_yaml_translator_lib"],
|
deps = [":xml_to_index_yaml_translator_lib"],
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user