Skip to content

Commit f9779ee

Browse files
alexeaglerickeylev
andauthored
refactor: cleanup now-unreferenced proto toolchain type (bazel-contrib#2620)
Follow-up to bazel-contrib#2604, fixes a breaking change in v1.2.0-rc0 Note that this toolchain_type became unused in that PR. We leave behind an alias to make this a non-breaking change. Verified in a downstream repo that requires the toolchain_type to register pre-built `protoc`: https://github.com/aspect-build/toolchains_protoc/pull/50/files --------- Co-authored-by: Richard Levasseur <rlevasseur@google.com>
1 parent f2941df commit f9779ee

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

python/proto/BUILD.bazel

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,11 @@
1414

1515
package(default_visibility = ["//visibility:public"])
1616

17-
# Toolchain type provided by proto_lang_toolchain rule and used by py_proto_library
18-
toolchain_type(name = "toolchain_type")
17+
# Deprecated; use @com_google_protobuf//bazel/private:python_toolchain_type instead.
18+
# Alias is here to provide backward-compatibility; see #2604
19+
# It will be removed in a future release.
20+
alias(
21+
name = "toolchain_type",
22+
actual = "@com_google_protobuf//bazel/private:python_toolchain_type",
23+
deprecation = "Use @com_google_protobuf//bazel/private:python_toolchain_type instead",
24+
)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy