Skip to content

Commit 229debb

Browse files
oprypincopybara-github
authored andcommitted
Remove srcs_version and python_version attributes, as they already default to "PY3"
PiperOrigin-RevId: 723642139
1 parent 324672e commit 229debb

File tree

1 file changed

+0
-15
lines changed
  • pybind11_protobuf/tests

1 file changed

+0
-15
lines changed

pybind11_protobuf/tests/BUILD

-15
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ licenses(["notice"])
1212
py_library(
1313
name = "compare",
1414
srcs = ["compare.py"],
15-
srcs_version = "PY3",
1615
visibility = ["//visibility:public"],
1716
deps = ["@com_google_protobuf//:protobuf_python"],
1817
)
@@ -122,8 +121,6 @@ py_test(
122121
name = "proto_enum_test",
123122
srcs = ["proto_enum_test.py"],
124123
data = [":proto_enum_module.so"],
125-
python_version = "PY3",
126-
srcs_version = "PY3",
127124
deps = [
128125
":test_py_pb2",
129126
"@com_google_absl_py//absl/testing:absltest",
@@ -147,8 +144,6 @@ py_test(
147144
name = "dynamic_message_test",
148145
srcs = ["dynamic_message_test.py"],
149146
data = [":dynamic_message_module.so"],
150-
python_version = "PY3",
151-
srcs_version = "PY3",
152147
deps = [
153148
":compare",
154149
":test_py_pb2",
@@ -190,8 +185,6 @@ py_test(
190185
":extension_module.so",
191186
":proto_enum_module.so",
192187
],
193-
python_version = "PY3",
194-
srcs_version = "PY3",
195188
deps = EXTENSION_TEST_DEPS_COMMON + ["@com_google_protobuf//:protobuf_python"],
196189
)
197190

@@ -213,8 +206,6 @@ py_test(
213206
":message_module.so",
214207
":proto_enum_module.so",
215208
],
216-
python_version = "PY3",
217-
srcs_version = "PY3",
218209
deps = [
219210
":compare",
220211
":test_py_pb2",
@@ -239,8 +230,6 @@ py_test(
239230
name = "pass_by_test",
240231
srcs = ["pass_by_test.py"],
241232
data = [":pass_by_module.so"],
242-
python_version = "PY3",
243-
srcs_version = "PY3",
244233
deps = [
245234
":test_py_pb2",
246235
"@com_google_absl_py//absl/testing:absltest",
@@ -279,8 +268,6 @@ py_test(
279268
name = "wrapped_proto_module_test",
280269
srcs = ["wrapped_proto_module_test.py"],
281270
data = [":wrapped_proto_module.so"],
282-
python_version = "PY3",
283-
srcs_version = "PY3",
284271
deps = [
285272
":compare",
286273
":test_py_pb2",
@@ -306,8 +293,6 @@ py_test(
306293
name = "thread_module_test",
307294
srcs = ["thread_module_test.py"],
308295
data = [":thread_module.so"],
309-
python_version = "PY3",
310-
srcs_version = "PY3",
311296
deps = [
312297
":test_py_pb2",
313298
"@com_google_absl_py//absl/testing:absltest",

0 commit comments

Comments
 (0)