Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f9779ee

Browse filesBrowse 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
Copy full SHA for f9779ee

File tree

Expand file treeCollapse file tree

1 file changed

+8
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+8
-2
lines changed

‎python/proto/BUILD.bazel

Copy file name to clipboardExpand all lines: python/proto/BUILD.bazel
+8-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.