From 941c48e79b5c22f060accc8e4d91305a629d36d1 Mon Sep 17 00:00:00 2001 From: Florian Weikert Date: Fri, 23 Feb 2024 16:02:03 +0100 Subject: [PATCH] Fixes _module_repo_name when building with Bazel@HEAD or Bazel 7.1 (#21486) If `get_canonical_repo_name` no longer returns the repo name with version due to containing https://github.com/bazelbuild/bazel/commit/a54a393d209ab9c8cf5e80b2a0ef092196c17df3, the `_module_repo_name` should not either. Fixes: https://github.com/bazelbuild/bazel/issues/21292 Closes #21324. PiperOrigin-RevId: 606646238 Change-Id: I8835a84842c2c66929586b39156eb9f5a541652f Co-authored-by: Yun Peng --- MODULE.bazel.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock index 632c222727d90c..016901101e32bf 100644 --- a/MODULE.bazel.lock +++ b/MODULE.bazel.lock @@ -2598,7 +2598,7 @@ "moduleExtensions": { "//:extensions.bzl%bazel_android_deps": { "general": { - "bzlTransitiveDigest": "r8gQnSLwon27gWD77J8mb3DIe4v3gtn7J/rsic53Qyw=", + "bzlTransitiveDigest": "qF4MUyoxY7fCY0kaWtM87qFtK+boKcqviSosJqqpaDI=", "accumulatedFileDigests": {}, "envVariables": {}, "generatedRepoSpecs": { @@ -2739,7 +2739,7 @@ }, "//:extensions.bzl%bazel_build_deps": { "general": { - "bzlTransitiveDigest": "r8gQnSLwon27gWD77J8mb3DIe4v3gtn7J/rsic53Qyw=", + "bzlTransitiveDigest": "qF4MUyoxY7fCY0kaWtM87qFtK+boKcqviSosJqqpaDI=", "accumulatedFileDigests": { "@@//src/test/tools/bzlmod:MODULE.bazel.lock": "90bec989ef7d229ef67c24ad140987a20c64343695a944fc04c7266815f89ade", "@@//:MODULE.bazel": "bca9cd3cd122e30c880e8133807c924d2457f7f1c3c258ef5cb4d3f18027a857" @@ -3122,7 +3122,7 @@ }, "//:extensions.bzl%bazel_test_deps": { "general": { - "bzlTransitiveDigest": "r8gQnSLwon27gWD77J8mb3DIe4v3gtn7J/rsic53Qyw=", + "bzlTransitiveDigest": "qF4MUyoxY7fCY0kaWtM87qFtK+boKcqviSosJqqpaDI=", "accumulatedFileDigests": {}, "envVariables": {}, "generatedRepoSpecs": {