Skip to content

Commit

Permalink
Remove srcs_version and python_version attributes, as they alread…
Browse files Browse the repository at this point in the history
…y default to `"PY3"`

PiperOrigin-RevId: 723642139
  • Loading branch information
oprypin authored and copybara-github committed Feb 10, 2025
1 parent 5f0ac3d commit 57127fb
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions pybind11_protobuf/tests/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ licenses(["notice"])
py_library(
name = "compare",
srcs = ["compare.py"],
srcs_version = "PY3",
visibility = ["//visibility:public"],
deps = ["@com_google_protobuf//:protobuf_python"],
)
Expand Down Expand Up @@ -122,8 +121,6 @@ py_test(
name = "proto_enum_test",
srcs = ["proto_enum_test.py"],
data = [":proto_enum_module.so"],
python_version = "PY3",
srcs_version = "PY3",
deps = [
":test_py_pb2",
"@com_google_absl_py//absl/testing:absltest",
Expand All @@ -147,8 +144,6 @@ py_test(
name = "dynamic_message_test",
srcs = ["dynamic_message_test.py"],
data = [":dynamic_message_module.so"],
python_version = "PY3",
srcs_version = "PY3",
deps = [
":compare",
":test_py_pb2",
Expand Down Expand Up @@ -190,8 +185,6 @@ py_test(
":extension_module.so",
":proto_enum_module.so",
],
python_version = "PY3",
srcs_version = "PY3",
deps = EXTENSION_TEST_DEPS_COMMON + ["@com_google_protobuf//:protobuf_python"],
)

Expand All @@ -213,8 +206,6 @@ py_test(
":message_module.so",
":proto_enum_module.so",
],
python_version = "PY3",
srcs_version = "PY3",
deps = [
":compare",
":test_py_pb2",
Expand Down Expand Up @@ -242,8 +233,6 @@ py_test(
name = "pass_by_test",
srcs = ["pass_by_test.py"],
data = [":pass_by_module.so"],
python_version = "PY3",
srcs_version = "PY3",
deps = [
":test_py_pb2",
"@com_google_absl_py//absl/testing:absltest",
Expand Down Expand Up @@ -282,8 +271,6 @@ py_test(
name = "wrapped_proto_module_test",
srcs = ["wrapped_proto_module_test.py"],
data = [":wrapped_proto_module.so"],
python_version = "PY3",
srcs_version = "PY3",
deps = [
":compare",
":test_py_pb2",
Expand All @@ -310,8 +297,6 @@ py_test(
name = "thread_module_test",
srcs = ["thread_module_test.py"],
data = [":thread_module.so"],
python_version = "PY3",
srcs_version = "PY3",
deps = [
":test_py_pb2",
"@com_google_absl_py//absl/testing:absltest",
Expand Down

0 comments on commit 57127fb

Please sign in to comment.