Bazel 注册表中的 grpc 1.78.0-pre1 版本出现问题
作者: Xadeck创建于 2026年1月18日更新于 2026年9月14日
标签lang/c++area/build
我尝试使用 grpc 更新我的 C++ 项目,从:
bazel_dep(name = "grpc", version = "1.76.0.bcr.1")
到 https://registry.bazel.build/modules/grpc 上发布的最新版本,即:
bazel_dep(name = "grpc", version = "1.78.0-pre1")
这会导致我的构建失败,错误如下:
ERROR: /private/var/tmp/_bazel_xdecoret/6ea9585e8c9d6ae745c76161bec20482/external/rules_python+/Python/private/python_register_toolchains.bzl:121:31: Traceback (most recent call last):
File "/private/var/tmp/_bazel_xdecoret/6ea9585e8c9d6ae745c76161bec20482/external/rules_python+/Python/private/Python.bzl", line 327, column 53, in _python_impl
register_result = python_register_toolchains(
File "/private/var/tmp/_bazel_xdecoret/6ea9585e8c9d6ae745c76161bec20482/external/rules_python+/Python/private/python_register_toolchains.bzl", line 121, column 31, in python_register_toolchains
sha256 = tool_versions[python_version]["sha256"].get(platform, None)
Error: key "3.14.0b2" not found in dictionary
版本信息
内容来源: grpc/grpc