The only dependencies to update are bzlmod
from MODULE.bazel
.
Renovate correctly finds a new version for rules_python
.
It fails to find a new version for rules_cc
.
The error message is: "Could not determine new digest for update (github-tags package bazelbuild/rules_cc)"
It attempted to look up the commit at https://bcr.bazel.build/api/v3/repos/bazelbuild/rules_cc/commits?per_page=1 instead of at https://github.com/api/v3/repos/bazelbuild/rules_cc/commits?per_page=1. As described in the discussion, this appears to be a bug in this function which only occurs when using .bazelrc
to specify a custom registry.
Correctly detect the new commit for rules_cc
. This desired behavior can be achieved
by commenting out the registry flag in .bazelrc
Note that a potential workaround is as follows in the .bazelrc
:
common:default --registry=https://bcr.bazel.build
common --config=default
This makes Bazel ignore the registry flag, but it still gets used by Bazel to build with.
See the discussion