Make //:protobuf_python and //:well_known_types_py_pb2 public.

These targets form the public interface of the Python protocol buffer support
and must always be public.  It looks like commit
a6901f057e accidentally restricted their
visibility.
pull/10118/head
Philipp Stephani 3 years ago
parent 55fe00e35e
commit 226dd65989
  1. 3
      BUILD.bazel

@ -929,7 +929,7 @@ py_proto_library(
default_runtime = "", default_runtime = "",
protoc = ":protoc", protoc = ":protoc",
srcs_version = "PY2AND3", srcs_version = "PY2AND3",
visibility = ["@upb//:__subpackages__"], visibility = ["//visibility:public"],
) )
py_library( py_library(
@ -941,6 +941,7 @@ py_library(
":python/google/protobuf/pyext/_message.so", ":python/google/protobuf/pyext/_message.so",
], ],
}), }),
visibility = ["//visibility:public"],
deps = [ deps = [
":python_srcs", ":python_srcs",
":well_known_types_py_pb2", ":well_known_types_py_pb2",

Loading…
Cancel
Save