Skip to content

Commit 57127fb

Browse files
oprypincopybara-github
authored andcommitted
Remove srcs_version and python_version attributes, as they already default to "PY3"
PiperOrigin-RevId: 723642139
1 parent 5f0ac3d commit 57127fb

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",
@@ -242,8 +233,6 @@ py_test(
242233
name = "pass_by_test",
243234
srcs = ["pass_by_test.py"],
244235
data = [":pass_by_module.so"],
245-
python_version = "PY3",
246-
srcs_version = "PY3",
247236
deps = [
248237
":test_py_pb2",
249238
"@com_google_absl_py//absl/testing:absltest",
@@ -282,8 +271,6 @@ py_test(
282271
name = "wrapped_proto_module_test",
283272
srcs = ["wrapped_proto_module_test.py"],
284273
data = [":wrapped_proto_module.so"],
285-
python_version = "PY3",
286-
srcs_version = "PY3",
287274
deps = [
288275
":compare",
289276
":test_py_pb2",
@@ -310,8 +297,6 @@ py_test(
310297
name = "thread_module_test",
311298
srcs = ["thread_module_test.py"],
312299
data = [":thread_module.so"],
313-
python_version = "PY3",
314-
srcs_version = "PY3",
315300
deps = [
316301
":test_py_pb2",
317302
"@com_google_absl_py//absl/testing:absltest",

0 commit comments

Comments
 (0)