mirror of
https://github.com/protocolbuffers/protobuf
synced 2026-08-26 02:23:14 -04:00
Add deprecation warning for internal_py_proto_library prior to Q1 2027 breaking changes.
PiperOrigin-RevId: 943389220
This commit is contained in:
parent
0e069eb706
commit
a8d0be3d42
1 changed files with 5 additions and 0 deletions
|
|
@ -690,6 +690,11 @@ def internal_py_proto_library(
|
|||
if not _to_label(default_runtime) in labels:
|
||||
py_libs = py_libs + [default_runtime]
|
||||
|
||||
if "deprecation" not in kargs:
|
||||
kargs["deprecation"] = (
|
||||
"internal_py_proto_library is deprecated and will be removed in 2027 Q1. Migrate to py_proto_library from @protobuf//bazel/py_proto_library.bzl."
|
||||
)
|
||||
|
||||
py_library(
|
||||
name = name,
|
||||
testonly = testonly,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue