Print dep chain leading to a module that is in error#19535
Closed
fmeum wants to merge 1 commit intobazelbuild:masterfrom
Closed
Print dep chain leading to a module that is in error#19535fmeum wants to merge 1 commit intobazelbuild:masterfrom
fmeum wants to merge 1 commit intobazelbuild:masterfrom
Conversation
fmeum
commented
Sep 15, 2023
src/main/java/com/google/devtools/build/lib/bazel/bzlmod/Discovery.java
Outdated
Show resolved
Hide resolved
Wyverald
reviewed
Sep 15, 2023
src/main/java/com/google/devtools/build/lib/bazel/bzlmod/Discovery.java
Outdated
Show resolved
Hide resolved
When a module file has an error, this now results in an error such as: ``` ERROR: Error computing the main repository mapping: in module dependency <root> -> grpc@1.48.1.bcr.1 -> re2@2021-09-01: the MODULE.bazel file of re2@2021-09-01 declares a different version (2021-09-02) ```
Collaborator
Author
|
@bazel-io flag |
Wyverald
approved these changes
Sep 15, 2023
Member
|
@bazel-io fork 6.4.0 |
bazel-io
pushed a commit
to bazel-io/bazel
that referenced
this pull request
Sep 15, 2023
When a module file has an error, this now results in an error such as: ``` ERROR: Error computing the main repository mapping: in module dependency chain <root> -> grpc@1.48.1.bcr.1 -> re2@2021-09-01: the MODULE.bazel file of re2@2021-09-01 declares a different version (2021-09-02) ``` Closes bazelbuild#19535. PiperOrigin-RevId: 565759770 Change-Id: I8ec788de4e83f59cc5ff5dc6f9fac19322181c08
Wyverald
pushed a commit
that referenced
this pull request
Sep 15, 2023
When a module file has an error, this now results in an error such as: ``` ERROR: Error computing the main repository mapping: in module dependency chain <root> -> grpc@1.48.1.bcr.1 -> re2@2021-09-01: the MODULE.bazel file of re2@2021-09-01 declares a different version (2021-09-02) ``` Closes #19535. Commit 184796d PiperOrigin-RevId: 565759770 Change-Id: I8ec788de4e83f59cc5ff5dc6f9fac19322181c08 Co-authored-by: Fabian Meumertzheim <fabian@meumertzhe.im>
Member
|
The changes in this PR have been included in Bazel 6.4.0 RC1. Please test out the release candidate and report any issues as soon as possible. If you're using Bazelisk, you can point to the latest RC by setting USE_BAZEL_VERSION=last_rc. |
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When a module file has an error, this now results in an error such as: